| javax.swing.JPanel org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.NodeEditorPanel
All known Subclasses: org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.RotationInterpolatorPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.SpotLightPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.AmbientLightPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.PrimitiveGeometryPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.TransformGroupPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.EmptyEditorPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.NoEditorPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.BranchGroupPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.RotPosScaleTCBSplinePathInterpolatorPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.PathInterpolatorAbstractPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.PointSoundPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.PositionPathInterpolatorPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.NodeEditorPanelTemplate, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.DirectionalLightPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.BackgroundPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.Shape3DPanel, org.jdesktop.j3dedit.scenegrapheditor.nodeeditors.panels.PointLightPanel,
NodeEditorPanel | abstract public class NodeEditorPanel extends JPanel (Code) | | Superclass for all node Editors
author: Paul Byrne version: 1.10, 01/18/02 |
frameTitle | protected String frameTitle(Code) | | Title that will appear in the frame containing this panel
|
node | protected SGNode node(Code) | | Reference to node which is being edited
|
readCapabilities | protected static int[] readCapabilities(Code) | | |
readOnly | protected boolean readOnly(Code) | | |
writeCapabilities | protected static int[] writeCapabilities(Code) | | |
NodeEditorPanel | public NodeEditorPanel()(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.
|
getExtraDataClass | public static Class getExtraDataClass()(Code) | | Return the class which will store the extra data for this node type
|
getNodeName | public String getNodeName()(Code) | | Called by EditorFrame
|
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
|
newSGObjectExtraData | public SGObjectExtraData newSGObjectExtraData()(Code) | | Return a new SGObjectExtraData object of the correct type
|
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 to represent node
Store the state of the node so any subsequent changes
can be reset
|
setEditorCapabilities | public void setEditorCapabilities(Node node)(Code) | | Set the capabilities of this node to the correct values
depending on the Editor mode.
Node must not be live
|
setNodeName | public void setNodeName(String str)(Code) | | Called by EditorFrame
|
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
|
setUpdateRequired | protected void setUpdateRequired(boolean update)(Code) | | Called by NodeState when the user applies changes
or when changes need applying
|
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
|
|
|