Java Doc for AppearanceRetained.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.NodeComponentRetained
            javax.media.j3d.AppearanceRetained

All known Subclasses:   javax.media.j3d.ShaderAppearanceRetained,
AppearanceRetained
class AppearanceRetained extends NodeComponentRetained (Code)
The Appearance object defines all rendering state that can be set as a component object of a Shape3D node.


Field Summary
final static  intALL_SOLE_USERS
    
final static  intCOLOR
    
final static  intLINE
    
final static  intMATERIAL
    
final static  intPOINT
    
final static  intPOLYGON
    
final static  intRENDERING
    
final static  intTEXCOORD_GEN
    
final static  intTEXTURE
    
final static  intTEXTURE_ATTR
    
final static  intTEXTURE_UNIT_STATE
    
final static  intTRANSPARENCY
    
 ColoringAttributesRetainedcoloringAttributes
    
 LineAttributesRetainedlineAttributes
    
 ObjectliveStateLock
    
 CompileStatemap
    
 AppearanceRetainedmapAppearance
    
 MaterialRetainedmaterial
    
 PointAttributesRetainedpointAttributes
    
 PolygonAttributesRetainedpolygonAttributes
    
 RenderingAttributesRetainedrenderingAttributes
    
 AppearanceRetainedsgApp
    
 TexCoordGenerationRetainedtexCoordGeneration
    
 TextureUnitStateRetainedtexUnitState
    
 TextureRetainedtexture
    
 TextureAttributesRetainedtextureAttributes
    
 TransparencyAttributesRetainedtransparencyAttributes
    


Method Summary
synchronized  voidaddAMirrorUser(Shape3DRetained shape)
    
 voidclearLive(int refCount)
     This method calls the clearLive method of all appearance bundle objects.
 voidcompile(CompileState compState)
    
synchronized  voidcreateMirrorObject()
    
 voiddoSetLive(boolean backgroundGroup, int refCount)
     This method calls the setLive method of all appearance bundle objects.
public  booleanequals(Object obj)
    
 booleanequals(AppearanceRetained app)
    
 ColoringAttributesgetColoringAttributes()
     Retrieves the current coloringAttributes object.
 LineAttributesgetLineAttributes()
     Retrieves the current lineAttributes object.
 MaterialgetMaterial()
     Retrieve the current material object.
 PointAttributesgetPointAttributes()
     Retrieves the current pointAttributes object.
 PolygonAttributesgetPolygonAttributes()
     Retrieves the current polygonAttributes object.
 RenderingAttributesgetRenderingAttributes()
     Retrieves the current renderingAttributes object.
 TexCoordGenerationgetTexCoordGeneration()
     Retrieves the current texCoordGeneration object.
 TexturegetTexture()
     Retrieves the current texture object.
 TextureAttributesgetTextureAttributes()
     Retrieves the current textureAttributes object.
 intgetTextureUnitCount()
     Retrieves the length of the texture unit state array from this appearance object.
 TextureUnitState[]getTextureUnitState()
     Retrieves the array of texture unit state objects from this Appearance object.
 TextureUnitStategetTextureUnitState(int index)
     Retrieves the texture unit state object at the specified index within the texture unit state array.
 TransparencyAttributesgetTransparencyAttributes()
     Retrieves the current transparencyAttributes object.
 voidhandleFrequencyChange(int bit)
    
public  inthashCode()
     Returns the hashcode for this object. hashcode should be constant for object but same for two objects if .equals() is true.
synchronized  voidinitMirrorObject()
     This routine updates the mirror appearance for this appearance.
 booleanisOpaque(int geoType)
    
 booleanisStatic()
    
synchronized  voidremoveAMirrorUser(Shape3DRetained shape)
    
final  voidsendMessage(int attrMask, Object attr, boolean visible)
    
final  voidsendRenderingAttributesChangedMessage(boolean visible)
    
 voidsetColoringAttributes(ColoringAttributes coloringAttributes)
     Sets the coloringAttrbutes object to the specified object.
 voidsetLineAttributes(LineAttributes lineAttributes)
     Sets the lineAttrbutes object to the specified object.
 voidsetLive(boolean backgroundGroup, int refCount)
    
 voidsetMaterial(Material material)
     Set the material object to the specified object.
 voidsetPointAttributes(PointAttributes pointAttributes)
     Sets the pointAttrbutes object to the specified object.
 voidsetPolygonAttributes(PolygonAttributes polygonAttributes)
     Sets the polygonAttrbutes object to the specified object.
 voidsetRenderingAttributes(RenderingAttributes renderingAttributes)
     Sets the renderingAttrbutes object to the specified object.
 voidsetTexCoordGeneration(TexCoordGeneration texGen)
     Sets the texCoordGeneration object to the specified object.
 voidsetTexture(Texture texture)
     Sets the texture object to the specified object.
 voidsetTextureAttributes(TextureAttributes textureAttributes)
     Sets the textureAttrbutes object to the specified object.
 voidsetTextureUnitState(TextureUnitState[] stateArray)
     Sets the texture unit state array to the specified array.
 voidsetTextureUnitState(int index, TextureUnitState state)
    
 voidsetTransparencyAttributes(TransparencyAttributes transparencyAttributes)
     Sets the transparencyAttrbutes object to the specified object.
synchronized  voidupdateMirrorObject(int component, Object value)
    

Field Detail
ALL_SOLE_USERS
final static int ALL_SOLE_USERS(Code)



COLOR
final static int COLOR(Code)



LINE
final static int LINE(Code)



MATERIAL
final static int MATERIAL(Code)



POINT
final static int POINT(Code)



POLYGON
final static int POLYGON(Code)



RENDERING
final static int RENDERING(Code)



TEXCOORD_GEN
final static int TEXCOORD_GEN(Code)



TEXTURE
final static int TEXTURE(Code)



TEXTURE_ATTR
final static int TEXTURE_ATTR(Code)



TEXTURE_UNIT_STATE
final static int TEXTURE_UNIT_STATE(Code)



TRANSPARENCY
final static int TRANSPARENCY(Code)



coloringAttributes
ColoringAttributesRetained coloringAttributes(Code)



lineAttributes
LineAttributesRetained lineAttributes(Code)



liveStateLock
Object liveStateLock(Code)



map
CompileState map(Code)



mapAppearance
AppearanceRetained mapAppearance(Code)



material
MaterialRetained material(Code)



pointAttributes
PointAttributesRetained pointAttributes(Code)



polygonAttributes
PolygonAttributesRetained polygonAttributes(Code)



renderingAttributes
RenderingAttributesRetained renderingAttributes(Code)



sgApp
AppearanceRetained sgApp(Code)



texCoordGeneration
TexCoordGenerationRetained texCoordGeneration(Code)



texUnitState
TextureUnitStateRetained texUnitState(Code)



texture
TextureRetained texture(Code)



textureAttributes
TextureAttributesRetained textureAttributes(Code)



transparencyAttributes
TransparencyAttributesRetained transparencyAttributes(Code)





Method Detail
addAMirrorUser
synchronized void addAMirrorUser(Shape3DRetained shape)(Code)



clearLive
void clearLive(int refCount)(Code)
This method calls the clearLive method of all appearance bundle objects.



compile
void compile(CompileState compState)(Code)



createMirrorObject
synchronized void createMirrorObject()(Code)



doSetLive
void doSetLive(boolean backgroundGroup, int refCount)(Code)
This method calls the setLive method of all appearance bundle objects.



equals
public boolean equals(Object obj)(Code)



equals
boolean equals(AppearanceRetained app)(Code)



getColoringAttributes
ColoringAttributes getColoringAttributes()(Code)
Retrieves the current coloringAttributes object. the coloringAttributes object



getLineAttributes
LineAttributes getLineAttributes()(Code)
Retrieves the current lineAttributes object. the lineAttributes object



getMaterial
Material getMaterial()(Code)
Retrieve the current material object. the material object



getPointAttributes
PointAttributes getPointAttributes()(Code)
Retrieves the current pointAttributes object. the pointAttributes object



getPolygonAttributes
PolygonAttributes getPolygonAttributes()(Code)
Retrieves the current polygonAttributes object. the polygonAttributes object



getRenderingAttributes
RenderingAttributes getRenderingAttributes()(Code)
Retrieves the current renderingAttributes object. the renderingAttributes object



getTexCoordGeneration
TexCoordGeneration getTexCoordGeneration()(Code)
Retrieves the current texCoordGeneration object. the texCoordGeneration object



getTexture
Texture getTexture()(Code)
Retrieves the current texture object. the texture object



getTextureAttributes
TextureAttributes getTextureAttributes()(Code)
Retrieves the current textureAttributes object. the textureAttributes object



getTextureUnitCount
int getTextureUnitCount()(Code)
Retrieves the length of the texture unit state array from this appearance object. The length of this array specifies the maximum number of texture units that will be used by this appearance object. If the array is null, a count of 0 is returned.



getTextureUnitState
TextureUnitState[] getTextureUnitState()(Code)
Retrieves the array of texture unit state objects from this Appearance object. A shallow copy of the array of references to the TextureUnitState objects is returned.



getTextureUnitState
TextureUnitState getTextureUnitState(int index)(Code)
Retrieves the texture unit state object at the specified index within the texture unit state array.



getTransparencyAttributes
TransparencyAttributes getTransparencyAttributes()(Code)
Retrieves the current transparencyAttributes object. the transparencyAttributes object



handleFrequencyChange
void handleFrequencyChange(int bit)(Code)



hashCode
public int hashCode()(Code)
Returns the hashcode for this object. hashcode should be constant for object but same for two objects if .equals() is true. For an appearance (where .equals() is going to use the values in the appearance), the only way to have a constant value is for all appearances to have the same hashcode, so we use the hashcode of the class obj. Since hashCode is only used by AppearanceMap (at present) we may be able to improve efficency by calcing a hashCode from the values.



initMirrorObject
synchronized void initMirrorObject()(Code)
This routine updates the mirror appearance for this appearance. It also calls the update method for each node component if it is not null.



isOpaque
boolean isOpaque(int geoType)(Code)



isStatic
boolean isStatic()(Code)



removeAMirrorUser
synchronized void removeAMirrorUser(Shape3DRetained shape)(Code)



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



sendRenderingAttributesChangedMessage
final void sendRenderingAttributesChangedMessage(boolean visible)(Code)



setColoringAttributes
void setColoringAttributes(ColoringAttributes coloringAttributes)(Code)
Sets the coloringAttrbutes object to the specified object.
Parameters:
  coloringAttributes - object that specifies the desired textureattributes



setLineAttributes
void setLineAttributes(LineAttributes lineAttributes)(Code)
Sets the lineAttrbutes object to the specified object.
Parameters:
  lineAttributes - object that specifies the desired textureattributes



setLive
void setLive(boolean backgroundGroup, int refCount)(Code)



setMaterial
void setMaterial(Material material)(Code)
Set the material object to the specified object.
Parameters:
  material - object that specifies the desired material
exception:
  IllegalSharingException - properties



setPointAttributes
void setPointAttributes(PointAttributes pointAttributes)(Code)
Sets the pointAttrbutes object to the specified object.
Parameters:
  pointAttributes - object that specifies the desired textureattributes



setPolygonAttributes
void setPolygonAttributes(PolygonAttributes polygonAttributes)(Code)
Sets the polygonAttrbutes object to the specified object.
Parameters:
  polygonAttributes - object that specifies the desired textureattributes



setRenderingAttributes
void setRenderingAttributes(RenderingAttributes renderingAttributes)(Code)
Sets the renderingAttrbutes object to the specified object.
Parameters:
  renderingAttributes - object that specifies the desired textureattributes



setTexCoordGeneration
void setTexCoordGeneration(TexCoordGeneration texGen)(Code)
Sets the texCoordGeneration object to the specified object.
Parameters:
  texCoordGeneration - object that specifies the texture coordinategeneration parameters



setTexture
void setTexture(Texture texture)(Code)
Sets the texture object to the specified object.
Parameters:
  texture - object that specifies the desired texturemap and texture parameters



setTextureAttributes
void setTextureAttributes(TextureAttributes textureAttributes)(Code)
Sets the textureAttrbutes object to the specified object.
Parameters:
  textureAttributes - object that specifies the desired textureattributes



setTextureUnitState
void setTextureUnitState(TextureUnitState[] stateArray)(Code)
Sets the texture unit state array to the specified array.
Parameters:
  textureUnitState - array that specifies the texture unit state



setTextureUnitState
void setTextureUnitState(int index, TextureUnitState state)(Code)



setTransparencyAttributes
void setTransparencyAttributes(TransparencyAttributes transparencyAttributes)(Code)
Sets the transparencyAttrbutes object to the specified object.
Parameters:
  transparencyAttributes - object that specifies the desired textureattributes



updateMirrorObject
synchronized void updateMirrorObject(int component, Object value)(Code)
Update the "component" field of the mirror object with the given "value"



Fields inherited from javax.media.j3d.NodeComponentRetained
int changedFrequent(Code)(Java Doc)
int compChanged(Code)(Java Doc)
boolean duplicateOnCloneTree(Code)(Java Doc)
NodeComponentRetained mirror(Code)(Java Doc)
int refCnt(Code)(Java Doc)
int refCount(Code)(Java Doc)
ArrayList users(Code)(Java Doc)

Methods inherited from javax.media.j3d.NodeComponentRetained
void addAMirrorUser(Shape3DRetained ms)(Code)(Java Doc)
synchronized void addUser(NodeRetained node)(Code)(Java Doc)
void clearLive(int refCount)(Code)(Java Doc)
protected Object clone()(Code)(Java Doc)
void copyMirrorUsers(NodeComponentRetained node)(Code)(Java Doc)
void createMirrorObject()(Code)(Java Doc)
synchronized void decRefCnt()(Code)(Java Doc)
void doSetLive(boolean inBackgroundGroup, int refCount)(Code)(Java Doc)
boolean getDuplicateOnCloneTree()(Code)(Java Doc)
boolean getInImmCtx()(Code)(Java Doc)
synchronized void incRefCnt()(Code)(Java Doc)
void initMirrorObject()(Code)(Java Doc)
synchronized void notifyUsers()(Code)(Java Doc)
void removeAMirrorUser(Shape3DRetained ms)(Code)(Java Doc)
void removeMirrorUsers(NodeComponentRetained node)(Code)(Java Doc)
synchronized void removeUser(NodeRetained node)(Code)(Java Doc)
protected void set(NodeComponentRetained nc)(Code)(Java Doc)
void setDuplicateOnCloneTree(boolean duplicate)(Code)(Java Doc)
void setFrequencyChangeMask(int bit, int mask)(Code)(Java Doc)
void setInImmCtx(boolean inCtx)(Code)(Java Doc)
void setLive(boolean inBackgroundGroup, int refCount)(Code)(Java Doc)
void updateMirrorObject(int component, Object obj)(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.