Java Doc for SGObject.java in  » 6.0-JDK-Modules » java-3d » org » jdesktop » j3dedit » scenegraph » 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 » org.jdesktop.j3dedit.scenegraph 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jdesktop.j3dedit.scenegraph.SGObject

All known Subclasses:   org.jdesktop.j3dedit.scenegraph.SGNode,  org.jdesktop.j3dedit.scenegraph.SGNodeComponent,
SGObject
abstract public class SGObject (Code)
The superclass for all the SceneGraphEditor nodes that mirror the Java3D Scene graph objects.
author:
   Paul Byrne
version:
   $Id: SGObject.java,v 1.1 2005/04/20 22:20:41 paulby Exp $


Field Summary
final public static  intCAPABILITIES_NONE
    
final public static  intCAPABILITIES_READ
    
final public static  intCAPABILITIES_READ_WRITE
    
protected  CapabilityPersistancecapabilities
    
protected  J3dEditContextcontext
    
protected  SceneGraphObjectj3dNode
    
protected  TreeViewInterfacetreeViewObject
    

Constructor Summary
public  SGObject(org.jdesktop.j3dedit.J3dEditContext editContext)
    

Method Summary
public  voidapplyPersistanceData(NodePersistance data)
    
public  voidclearCapability(String name)
    
public  voidcreatePersistanceData(NodePersistance data)
    
public  NodePersistancecreatePersistanceObject()
    
public  booleangetBoundsVisible()
    
public  String[]getCapabilitiesAsStrings()
    
public  J3dEditContextgetContext()
    
public  intgetEditorCapabilitiesStatus()
    
public  SceneGraphObjectgetJ3dSceneGraphObject()
     Return the scenegraph object represented by this node.
abstract public  javax.media.j3d.LocalegetLocale()
     Return the Locale to which this node is connected.
public  StringgetNodeName()
    
public  booleangetReadOnly()
    
public  SGObjectExtraDatagetSGObjectExtraData()
    
public  StringgetSceneName()
    
public  StringgetToolTipText()
    
public  TreeViewInterfacegetTreeViewObject()
    
abstract public  booleanisLive()
    
public  booleanisSelected()
    
public  voidrepaint()
     Repaint the tree representation of this node This should be called whenever data is changed that is displayed.
public  voidrestoreCapabilities()
    
public  voidsetBoundsVisible(boolean boundsVisible)
    
public  voidsetCapability(String name)
     Add the capability name to the list of capabilities required for this node.
public  voidsetEditorCapabilitiesStatus(int status)
     Set the status of the capabilities in respect to the editor.
abstract public  voidsetLive(boolean live)
    
public  voidsetNodeName(String name)
     Set the variable name for this node.
public  voidsetNodeType(String nodeType)
    
public  voidsetNodeType(String nodeType, Image image)
     The node type is the information which will be displayed as a tooltip in the scene graph editor.
public  voidsetReadOnly(boolean readOnly)
    
public  voidsetSGObjectExtraData(SGObjectExtraData state)
    
public  voidsetSceneName(String name)
    
public  voidsetSelected(boolean selected)
    
public  voidsetTreeViewObject(TreeViewInterface tvObject)
    
public  voidstoreCapabilities()
    

Field Detail
CAPABILITIES_NONE
final public static int CAPABILITIES_NONE(Code)
Indicates that no editor capabilities have been set



CAPABILITIES_READ
final public static int CAPABILITIES_READ(Code)
Indicates that read only editor capabilities have been set



CAPABILITIES_READ_WRITE
final public static int CAPABILITIES_READ_WRITE(Code)
Indicates that read/write editor capabilities have been set



capabilities
protected CapabilityPersistance capabilities(Code)
The capabilities required to exectute the scenegraph Not including those required for the editor



context
protected J3dEditContext context(Code)
The Editor Context for this node



j3dNode
protected SceneGraphObject j3dNode(Code)
Java3D Node represented by this object



treeViewObject
protected TreeViewInterface treeViewObject(Code)




Constructor Detail
SGObject
public SGObject(org.jdesktop.j3dedit.J3dEditContext editContext)(Code)




Method Detail
applyPersistanceData
public void applyPersistanceData(NodePersistance data)(Code)
Set the internal state of this node to represent the data passed



clearCapability
public void clearCapability(String name)(Code)
Remove the capability name from the list of capabilities required for this node



createPersistanceData
public void createPersistanceData(NodePersistance data)(Code)
Set the persitant information in the data object provided



createPersistanceObject
public NodePersistance createPersistanceObject()(Code)
Create the correct node persistance object for this node



getBoundsVisible
public boolean getBoundsVisible()(Code)



getCapabilitiesAsStrings
public String[] getCapabilitiesAsStrings()(Code)
Return an array of Strings representing the capabilities of this node



getContext
public J3dEditContext getContext()(Code)
Get the editor context for this node



getEditorCapabilitiesStatus
public int getEditorCapabilitiesStatus()(Code)
Return the status of the capabilties



getJ3dSceneGraphObject
public SceneGraphObject getJ3dSceneGraphObject()(Code)
Return the scenegraph object represented by this node.



getLocale
abstract public javax.media.j3d.Locale getLocale()(Code)
Return the Locale to which this node is connected. It the current implementation NodeComponents cannot be shared between Locales



getNodeName
public String getNodeName()(Code)
Returns the variable name for this node



getReadOnly
public boolean getReadOnly()(Code)



getSGObjectExtraData
public SGObjectExtraData getSGObjectExtraData()(Code)
Get EditorPanel information



getSceneName
public String getSceneName()(Code)
Return the name of the scene that contains this node



getToolTipText
public String getToolTipText()(Code)



getTreeViewObject
public TreeViewInterface getTreeViewObject()(Code)



isLive
abstract public boolean isLive()(Code)
Is this node live



isSelected
public boolean isSelected()(Code)
Return the selection state of this object



repaint
public void repaint()(Code)
Repaint the tree representation of this node This should be called whenever data is changed that is displayed.



restoreCapabilities
public void restoreCapabilities()(Code)
Restore the capabilities of the node



setBoundsVisible
public void setBoundsVisible(boolean boundsVisible)(Code)



setCapability
public void setCapability(String name)(Code)
Add the capability name to the list of capabilities required for this node.



setEditorCapabilitiesStatus
public void setEditorCapabilitiesStatus(int status)(Code)
Set the status of the capabilities in respect to the editor. This call does not actually change any capabilities, it's just an indicator of the current state.
Parameters:
  status - must be one of CAPABILITIES_NONE, CAPABILITIES_READ, CAPABILITIES_READ_WRITE



setLive
abstract public void setLive(boolean live)(Code)
Change the live state of this node, this may change the live state of other nodes in the graph, but in general the minimum change will be made



setNodeName
public void setNodeName(String name)(Code)
Set the variable name for this node. The node name will also be pre-pended to the tooltip.



setNodeType
public void setNodeType(String nodeType)(Code)
The node type is the information which will be displayed as a tooltip in the scene graph editor
Parameters:
  nodeType - Type of node



setNodeType
public void setNodeType(String nodeType, Image image)(Code)
The node type is the information which will be displayed as a tooltip in the scene graph editor.
Parameters:
  nodeType - Type of node



setReadOnly
public void setReadOnly(boolean readOnly)(Code)



setSGObjectExtraData
public void setSGObjectExtraData(SGObjectExtraData state)(Code)
Store EditorPanel information



setSceneName
public void setSceneName(String name)(Code)
Set the name of the scene that contains this node



setSelected
public void setSelected(boolean selected)(Code)
TODO Change method name to setSelected



setTreeViewObject
public void setTreeViewObject(TreeViewInterface tvObject)(Code)



storeCapabilities
public void storeCapabilities()(Code)
Store the capabilities of this node



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.