| javax.swing.JPanel org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.NodeComponentEditorPanel
All known Subclasses: org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.MediaContainerPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.AlphaPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.NodeComponentEditorPanelTemplate, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.MaterialPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.PointAttributesPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.TextureAttributesPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.AppearancePanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.TransparencyAttributesPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.TexturePanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.PolygonAttributesPanel,
NodeComponentEditorPanel | abstract public class NodeComponentEditorPanel extends JPanel (Code) | | Superclass for all Component Editors
author: Paul Byrne version: 1.5, 01/18/02 |
nodeParent | protected SGObject nodeParent(Code) | | The SceneGraphObject that contains this nodeComponents parent
|
parentEditor | protected NodeEditorPanel parentEditor(Code) | | EditorPanel in which thiscomponent editor is working
|
readOnly | protected boolean readOnly(Code) | | |
NodeComponentEditorPanel | public NodeComponentEditorPanel()(Code) | | |
applyChanges | abstract public void applyChanges()(Code) | | Permanently apply the changes to the node
|
finishEdit | public void finishEdit()(Code) | | Finish editing this node
This will cause any SGObjectExtraData to be set in this nodes SGObject.
|
getReadOnly | public boolean getReadOnly()(Code) | | Return the readOnly flag
|
getUpdateRequired | protected boolean getUpdateRequired()(Code) | | Returns true if the user has changed the state using the GUI
|
resetChanges | abstract public void resetChanges()(Code) | | Reset the changes to the state when setControls or applyChanges
was last called
|
setControls | abstract protected void setControls()(Code) | | Set the GUI controls for represent node
|
setEditorCapabilities | public void setEditorCapabilities(NodeComponent node)(Code) | | Set the capabilities of this node to the correct values
depending on the Editor mode.
Node must not be live
|
setReadCapabilityBits | abstract protected void setReadCapabilityBits(NodeComponent node)(Code) | | Set capability bits for read-only operations on this
Nodes properties
|
setReadOnly | public void setReadOnly(boolean readOnly)(Code) | | Set the panel to be read only, user can navigate the contents but
can not make any changes.
Default action is to call setEnabled on all components in this
container
|
setReadWriteCapabilityBits | abstract protected void setReadWriteCapabilityBits(NodeComponent node)(Code) | | Set capability bits for full read/write access to this
nodes properties
|
setUpdateRequired | protected void setUpdateRequired(boolean update)(Code) | | Called by NodeState when the user applies changes
or when changes need applying
|
startEdit | public void startEdit(SGNodeComponent node, SGObject nodeParent, NodeEditorPanel parentWindow)(Code) | | Start editing this node
Parameters: node - The NodeComponent being edited, can be null Parameters: nodeParent - The SceneGraphObject that contains this component Parameters: parentWindow - The EditorPanel for the parent Node |
updateSGObjectExtraData | protected SGObjectExtraData updateSGObjectExtraData(SGObjectExtraData orig)(Code) | | If orig is not null then update it with the new information in the panel
If orig is null, and there is new information then create and return a
new SGObjectExtraData object
|
|
|