Java Doc for BackgroundRetained.java in  » 6.0-JDK-Modules » java-3d » javax » media » j3d » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » javax.media.j3d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.media.j3d.IndexedObject
      javax.media.j3d.SceneGraphObjectRetained
         javax.media.j3d.NodeRetained
            javax.media.j3d.LeafRetained
               javax.media.j3d.BackgroundRetained

BackgroundRetained
class BackgroundRetained extends LeafRetained (Code)
The Background leaf node defines either a solid background color or a background image that is used to fill the window at the beginning of each new frame. It also specifies an application region in which this background is active.


Field Summary
final static  intBOUNDINGLEAF_CHANGED
    
final static  intBOUNDS_CHANGED
    
final static  intCOLOR_CHANGED
    
final static  intGEOMETRY_CHANGED
    
final static  intIMAGE_CHANGED
    
final static  intIMAGE_SCALE_CHANGED
    
 BoundsapplicationRegion
     The Boundary object defining the lights's application region.
 ArrayListbgGeometryAtomList
    
 booleanbgGeometryAtomListDirty
    
 GeometryAtom[]bgGeometryAtoms
    
 BoundingLeafRetainedboundingLeaf
    
 LocalecachedLocale
    
 Color3fcolor
    
 ArrayListfogs
    
 BranchGroupgeometryBranch
    
 ImageComponent2DRetainedimage
    
 intimageScaleMode
    
 booleaninImmCtx
    
 booleanisViewScoped
    
 ArrayListlights
    
 SetLiveStatesetLiveState
    
final static  inttargetThreads
    
 Texture2DRetainedtexture
    
 BoundstransformedRegion
     The transformed value of the applicationRegion.

Constructor Summary
 BackgroundRetained()
    

Method Summary
 voidaddBgGeometryAtomList(GeometryAtom geomAtom)
    
 voidclearGeometryBranch(BranchGroupRetained branch)
    
 voidclearLive(SetLiveState s)
    
 BoundingLeafgetApplicationBoundingLeaf()
    
final  BoundsgetApplicationBounds()
     Get the Backgound's application region.
 GeometryAtom[]getBackgroundGeometryAtoms()
    
final  voidgetColor(Color3f color)
     Retrieves the background color.
final  BranchGroupgetGeometry()
     Retrieves the background geometry branch group.
final  ImageComponent2DgetImage()
     Retrieves the background image.
final  intgetImageScaleMode()
     gets the image scale mode for this Background node.
 booleangetInImmCtx()
    
 voidgetMirrorObjects(ArrayList leafList, HashKey key)
    
 voidinitApplicationBoundingLeaf(BoundingLeaf region)
     Initializes the Background's application region to the specified Leaf node.
final  voidinitApplicationBounds(Bounds region)
     Initializes the Background's application region.
final  voidinitColor(Color3f color)
     Initializes the background color to the specified color.
final  voidinitColor(float r, float g, float b)
     Initializes the background color to the specified color.
final  voidinitGeometry(BranchGroup branch)
     Initializes the background geometry branch group to the specified branch.
final  voidinitImage(ImageComponent2D img)
     Initializes the background image to the specified image.
final  voidinitImageScaleMode(int imageScaleMode)
    
 voidmergeTransform(TransformGroupRetained xform)
    
 voidnotifyImageComponentImageChanged(ImageComponentRetained image, ImageComponentUpdateInfo value)
    
 voidremoveBgGeometryAtomList(GeometryAtom geomAtom)
    
final  voidsendMessage(int attrMask, Object attr)
    
 voidsetApplicationBoundingLeaf(BoundingLeaf region)
     Set the Background's application region to the specified Leaf node.
final  voidsetApplicationBounds(Bounds region)
     Set the Background's application region.
final  voidsetColor(Color3f color)
     Sets the background color to the specified color.
final  voidsetColor(float r, float g, float b)
     Sets the background color to the specified color.
final  voidsetGeometry(BranchGroup branch)
     Sets the background geometry branch group to the specified branch.
 voidsetGeometryBranch(BranchGroupRetained branch)
    
final  voidsetImage(ImageComponent2D img)
     Sets the background image to the specified image.
final  voidsetImageScaleMode(int imageScaleMode)
     Sets the image scale mode for this Background node.
 voidsetInImmCtx(boolean inCtx)
    
 voidsetLive(SetLiveState s)
    
 voidupdateBoundingLeaf()
    
synchronized  voidupdateImmediateMirrorObject(Object[] objs)
    
 voidupdateImmediateTransformChange()
    

Field Detail
BOUNDINGLEAF_CHANGED
final static int BOUNDINGLEAF_CHANGED(Code)



BOUNDS_CHANGED
final static int BOUNDS_CHANGED(Code)



COLOR_CHANGED
final static int COLOR_CHANGED(Code)



GEOMETRY_CHANGED
final static int GEOMETRY_CHANGED(Code)



IMAGE_CHANGED
final static int IMAGE_CHANGED(Code)



IMAGE_SCALE_CHANGED
final static int IMAGE_SCALE_CHANGED(Code)



applicationRegion
Bounds applicationRegion(Code)
The Boundary object defining the lights's application region.



bgGeometryAtomList
ArrayList bgGeometryAtomList(Code)



bgGeometryAtomListDirty
boolean bgGeometryAtomListDirty(Code)



bgGeometryAtoms
GeometryAtom[] bgGeometryAtoms(Code)



boundingLeaf
BoundingLeafRetained boundingLeaf(Code)
The bounding leaf reference



cachedLocale
Locale cachedLocale(Code)
The locale of this Background node since we don't have mirror object when clearLive is called locale is set to null, we still want locale to have a non-null value, since renderingEnv structure may be using the locale



color
Color3f color(Code)



fogs
ArrayList fogs(Code)



geometryBranch
BranchGroup geometryBranch(Code)
Background geometry branch group



image
ImageComponent2DRetained image(Code)



imageScaleMode
int imageScaleMode(Code)



inImmCtx
boolean inImmCtx(Code)



isViewScoped
boolean isViewScoped(Code)



lights
ArrayList lights(Code)



setLiveState
SetLiveState setLiveState(Code)
The state structure used for Background Geometry



targetThreads
final static int targetThreads(Code)



texture
Texture2DRetained texture(Code)



transformedRegion
Bounds transformedRegion(Code)
The transformed value of the applicationRegion.




Constructor Detail
BackgroundRetained
BackgroundRetained()(Code)




Method Detail
addBgGeometryAtomList
void addBgGeometryAtomList(GeometryAtom geomAtom)(Code)



clearGeometryBranch
void clearGeometryBranch(BranchGroupRetained branch)(Code)



clearLive
void clearLive(SetLiveState s)(Code)
This clearLive routine first calls the superclass's method, then it removes itself to the list of lights



getApplicationBoundingLeaf
BoundingLeaf getApplicationBoundingLeaf()(Code)
Get the Background's application region



getApplicationBounds
final Bounds getApplicationBounds()(Code)
Get the Backgound's application region. this Backgound's application region information



getBackgroundGeometryAtoms
GeometryAtom[] getBackgroundGeometryAtoms()(Code)



getColor
final void getColor(Color3f color)(Code)
Retrieves the background color.
Parameters:
  color - the vector that will receive the current background color



getGeometry
final BranchGroup getGeometry()(Code)
Retrieves the background geometry branch group. the current background geometry branch group



getImage
final ImageComponent2D getImage()(Code)
Retrieves the background image. the current background image



getImageScaleMode
final int getImageScaleMode()(Code)
gets the image scale mode for this Background node.



getInImmCtx
boolean getInImmCtx()(Code)
This gets the immedate mode context flag



getMirrorObjects
void getMirrorObjects(ArrayList leafList, HashKey key)(Code)



initApplicationBoundingLeaf
void initApplicationBoundingLeaf(BoundingLeaf region)(Code)
Initializes the Background's application region to the specified Leaf node.



initApplicationBounds
final void initApplicationBounds(Bounds region)(Code)
Initializes the Background's application region.
Parameters:
  region - a region that contains the Backgound's new application bounds



initColor
final void initColor(Color3f color)(Code)
Initializes the background color to the specified color. This color is used if the image is null.
Parameters:
  color - the new background color



initColor
final void initColor(float r, float g, float b)(Code)
Initializes the background color to the specified color. This color is used if the image is null.
Parameters:
  r - the red component of the background color
Parameters:
  g - the green component of the background color
Parameters:
  b - the blue component of the background color



initGeometry
final void initGeometry(BranchGroup branch)(Code)
Initializes the background geometry branch group to the specified branch.
Parameters:
  branch - new branch group object used for background geometry



initImage
final void initImage(ImageComponent2D img)(Code)
Initializes the background image to the specified image.
Parameters:
  image - new ImageCompoent2D object used as the background image



initImageScaleMode
final void initImageScaleMode(int imageScaleMode)(Code)
Initialize the image scale mode to the specified mode



mergeTransform
void mergeTransform(TransformGroupRetained xform)(Code)



notifyImageComponentImageChanged
void notifyImageComponentImageChanged(ImageComponentRetained image, ImageComponentUpdateInfo value)(Code)



removeBgGeometryAtomList
void removeBgGeometryAtomList(GeometryAtom geomAtom)(Code)



sendMessage
final void sendMessage(int attrMask, Object attr)(Code)



setApplicationBoundingLeaf
void setApplicationBoundingLeaf(BoundingLeaf region)(Code)
Set the Background's application region to the specified Leaf node.



setApplicationBounds
final void setApplicationBounds(Bounds region)(Code)
Set the Background's application region.
Parameters:
  region - a region that contains the Backgound's new application bounds



setColor
final void setColor(Color3f color)(Code)
Sets the background color to the specified color. This color is used if the image is null.
Parameters:
  color - the new background color



setColor
final void setColor(float r, float g, float b)(Code)
Sets the background color to the specified color. This color is used if the image is null.
Parameters:
  r - the red component of the background color
Parameters:
  g - the green component of the background color
Parameters:
  b - the blue component of the background color



setGeometry
final void setGeometry(BranchGroup branch)(Code)
Sets the background geometry branch group to the specified branch.
Parameters:
  branch - new branch group object used for background geometry



setGeometryBranch
void setGeometryBranch(BranchGroupRetained branch)(Code)



setImage
final void setImage(ImageComponent2D img)(Code)
Sets the background image to the specified image.
Parameters:
  image - new ImageCompoent3D object used as the background image



setImageScaleMode
final void setImageScaleMode(int imageScaleMode)(Code)
Sets the image scale mode for this Background node.
Parameters:
  imageScaleMode - the image scale mode



setInImmCtx
void setInImmCtx(boolean inCtx)(Code)
This sets the immedate mode context flag



setLive
void setLive(SetLiveState s)(Code)
This setLive routine first calls the superclass's method, then it adds itself to the list of lights



updateBoundingLeaf
void updateBoundingLeaf()(Code)
Note: This routine will only be called to update the object's transformed region



updateImmediateMirrorObject
synchronized void updateImmediateMirrorObject(Object[] objs)(Code)



updateImmediateTransformChange
void updateImmediateTransformChange()(Code)



Fields inherited from javax.media.j3d.LeafRetained
boolean boundsDirty(Code)(Java Doc)
SwitchState switchState(Code)(Java Doc)

Methods inherited from javax.media.j3d.LeafRetained
protected Object clone(boolean forceDuplicate)(Code)(Java Doc)
void getMirrorObjects(ArrayList l, HashKey k)(Code)(Java Doc)
void updateBoundingLeaf()(Code)(Java Doc)
void updateBounds()(Code)(Java Doc)
void updateMirrorObject(Object[] args)(Code)(Java Doc)
void updateTransformChange()(Code)(Java Doc)

Fields inherited from javax.media.j3d.NodeRetained
final static int ALTERNATEAPPEARANCE(Code)(Java Doc)
final static int AMBIENTLIGHT(Code)(Java Doc)
final static int BACKGROUND(Code)(Java Doc)
final static int BACKGROUNDSOUND(Code)(Java Doc)
final static int BEHAVIOR(Code)(Java Doc)
final static int BOUNDINGLEAF(Code)(Java Doc)
final static int BRANCHGROUP(Code)(Java Doc)
final static int CLIP(Code)(Java Doc)
final static int CONESOUND(Code)(Java Doc)
final static int CONTAINS_VIEWPLATFORM(Code)(Java Doc)
final static int CURRENT_LOCAL_TO_VWORLD(Code)(Java Doc)
final static int DECALGROUP(Code)(Java Doc)
final static int DIRECTIONALLIGHT(Code)(Java Doc)
final static int EXPONENTIALFOG(Code)(Java Doc)
final static int GROUP(Code)(Java Doc)
final static int LAST_LOCAL_TO_VWORLD(Code)(Java Doc)
final static int LINEARFOG(Code)(Java Doc)
final static int LINK(Code)(Java Doc)
final static int MODELCLIP(Code)(Java Doc)
final static int MORPH(Code)(Java Doc)
final static int NUMNODES(Code)(Java Doc)
final static int ORDEREDGROUP(Code)(Java Doc)
final static int ORIENTEDSHAPE3D(Code)(Java Doc)
final static int POINTLIGHT(Code)(Java Doc)
final static int POINTSOUND(Code)(Java Doc)
final static int SHAPE(Code)(Java Doc)
final static int SHAREDGROUP(Code)(Java Doc)
final static int SOUNDSCAPE(Code)(Java Doc)
final static int SPOTLIGHT(Code)(Java Doc)
final static int SWITCH(Code)(Java Doc)
final static int TRANSFORMGROUP(Code)(Java Doc)
final static int VIEWPLATFORM(Code)(Java Doc)
final static int VIEWSPECIFICGROUP(Code)(Java Doc)
Bounds apiBounds(Code)(Java Doc)
boolean boundsAutoCompute(Code)(Java Doc)
ArrayList branchGroupPaths(Code)(Java Doc)
protected Bounds cachedBounds(Code)(Java Doc)
int childIndex(Code)(Java Doc)
boolean collidable(Code)(Java Doc)
BackgroundRetained geometryBackground(Code)(Java Doc)
boolean inSharedGroup(Code)(Java Doc)
Bounds localBounds(Code)(Java Doc)
Transform3D localToVworld(Code)(Java Doc)
int localToVworldIndex(Code)(Java Doc)
HashKey localToVworldKeys(Code)(Java Doc)
Locale locale(Code)(Java Doc)
int nnuId(Code)(Java Doc)
String nodeId(Code)(Java Doc)
int nodeType(Code)(Java Doc)
Integer orderedId(Code)(Java Doc)
NodeRetained parent(Code)(Java Doc)
GroupRetained parentSwitchLink(Code)(Java Doc)
GroupRetained parentTransformLink(Code)(Java Doc)
boolean pickable(Code)(Java Doc)
int refCount(Code)(Java Doc)
TransformGroupRetained staticTransform(Code)(Java Doc)
VirtualUniverse universe(Code)(Java Doc)
protected boolean validCachedBounds(Code)(Java Doc)

Methods inherited from javax.media.j3d.NodeRetained
void clearLive(SetLiveState s)(Code)(Java Doc)
void computeCombineBounds(Bounds bounds)(Code)(Java Doc)
void computeNonLiveLocalToVworld(Transform3D t, Node caller)(Code)(Java Doc)
void dirtyBoundsCache()(Code)(Java Doc)
void doSetLive(SetLiveState s)(Code)(Java Doc)
public int equal(NnuId obj)(Code)(Java Doc)
void findCollidableFlags(boolean collide)(Code)(Java Doc)
void findPickableFlags(boolean pick)(Code)(Java Doc)
void findTransformLevels(int transformLevels)(Code)(Java Doc)
Bounds getBounds()(Code)(Java Doc)
boolean getBoundsAutoCompute()(Code)(Java Doc)
boolean getCollidable()(Code)(Java Doc)
Transform3D getCurrentLocalToVworld()(Code)(Java Doc)
Transform3D getCurrentLocalToVworld(int index)(Code)(Java Doc)
Transform3D getCurrentLocalToVworld(HashKey key)(Code)(Java Doc)
Bounds getEffectiveBounds()(Code)(Java Doc)
public int getId()(Code)(Java Doc)
Transform3D getLastLocalToVworld()(Code)(Java Doc)
Transform3D getLastLocalToVworld(int index)(Code)(Java Doc)
Transform3D getLastLocalToVworld(HashKey key)(Code)(Java Doc)
Bounds getLocalBounds(Bounds bounds)(Code)(Java Doc)
void getLocalToVworld(Transform3D t)(Code)(Java Doc)
void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)(Java Doc)
void getLocalToVworld(Transform3D t, HashKey key)(Code)(Java Doc)
Locale getLocale()(Code)(Java Doc)
NodeRetained getParent()(Code)(Java Doc)
boolean getPickable()(Code)(Java Doc)
VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
boolean isStatic()(Code)(Java Doc)
void merge(CompileState compState)(Code)(Java Doc)
void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc)
void notifySceneGraphChanged(boolean globalTraverse)(Code)(Java Doc)
int[] processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList)(Code)(Java Doc)
void recombineAbove()(Code)(Java Doc)
void removeNodeData(SetLiveState s)(Code)(Java Doc)
void searchGeometryAtoms(UnorderList list)(Code)(Java Doc)
void setAuxData(SetLiveState s, int index, int hkIndex)(Code)(Java Doc)
void setBounds(Bounds bounds)(Code)(Java Doc)
void setBoundsAutoCompute(boolean autoCompute)(Code)(Java Doc)
void setCollidable(boolean collidable)(Code)(Java Doc)
void setLive(SetLiveState s)(Code)(Java Doc)
void setNodeData(SetLiveState s)(Code)(Java Doc)
void setParent(NodeRetained parent)(Code)(Java Doc)
void setPickable(boolean pickable)(Code)(Java Doc)
void transformBounds(SceneGraphPath path, Bounds bound)(Code)(Java Doc)
void updateCollidable(HashKey keys, boolean collide)(Code)(Java Doc)
synchronized void updateLocalToVworld()(Code)(Java Doc)
void updatePickable(HashKey pickKeys, boolean pick)(Code)(Java Doc)

Fields inherited from javax.media.j3d.SceneGraphObjectRetained
final static int DONT_MERGE(Code)(Java Doc)
final static int MERGE(Code)(Java Doc)
final static int MERGE_DONE(Code)(Java Doc)
boolean inBackgroundGroup(Code)(Java Doc)
boolean inSetLive(Code)(Java Doc)
int mergeFlag(Code)(Java Doc)
boolean onUpdateList(Code)(Java Doc)
SceneGraphObject source(Code)(Java Doc)

Methods inherited from javax.media.j3d.SceneGraphObjectRetained
void clearLive(VirtualUniverse univ, int index, boolean sharedGroup, HashKey[] keys)(Code)(Java Doc)
void clearLive()(Code)(Java Doc)
protected Object clone()(Code)(Java Doc)
void compile(CompileState compState)(Code)(Java Doc)
void doSetLive(boolean inBackgroundGroup)(Code)(Java Doc)
void doSetLive(SetLiveState s)(Code)(Java Doc)
SceneGraphObject getSource()(Code)(Java Doc)
VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
void handleFrequencyChange(int bit)(Code)(Java Doc)
boolean isInSetLive()(Code)(Java Doc)
boolean isStatic()(Code)(Java Doc)
void markAsLive()(Code)(Java Doc)
void merge(CompileState compState)(Code)(Java Doc)
void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc)
void setCompiled()(Code)(Java Doc)
void setLive(boolean inBackgroundGroup)(Code)(Java Doc)
void setLive(SetLiveState s)(Code)(Java Doc)
void setSource(SceneGraphObject source)(Code)(Java Doc)
void traverse(boolean sameLevel, int level)(Code)(Java Doc)

Fields inherited from javax.media.j3d.IndexedObject
int[][] listIdx(Code)(Java Doc)

Methods inherited from javax.media.j3d.IndexedObject
synchronized int getIdxUsed(VirtualUniverse u)(Code)(Java Doc)
abstract VirtualUniverse getVirtualUniverse()(Code)(Java Doc)
void incIdxUsed()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.