Class NodeShapeEditComponent
java.lang.Object
org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
org.graffiti.plugin.editcomponent.AbstractValueEditComponent
org.graffiti.plugin.editcomponent.ComboBoxEditComponent
org.graffiti.plugins.editcomponents.defaults.NodeShapeEditComponent
- All Implemented Interfaces:
EventListener
,AttributeListener
,EdgeListener
,GraphListener
,NodeListener
,TransactionListener
,ValueEditComponent
public class NodeShapeEditComponent extends ComboBoxEditComponent
Class used to display different node shapes.
- Version:
- $Revision: 1.11 $
-
Field Summary
Fields inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
showEmpty
Fields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING
-
Constructor Summary
Constructors Constructor Description NodeShapeEditComponent(Displayable disp)
Constructor sets the correct entries of the combo box. -
Method Summary
Modifier and Type Method Description void
setEditFieldValue()
Sets the current value of theAttribute
in the correspondingJComponent
.void
setValue()
Sets the value of the displayable specified in theJComponent
.Methods inherited from class org.graffiti.plugin.editcomponent.ComboBoxEditComponent
getComponent
Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, postAttributeChanged, preAttributeChanged, setDisplayable, setEnabled, setShowEmpty
Methods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
postAttributeAdded, postAttributeRemoved, postDirectedChanged, postEdgeAdded, postEdgeRemoved, postEdgeReversed, postGraphCleared, postInEdgeAdded, postInEdgeRemoved, postNodeAdded, postNodeRemoved, postOutEdgeAdded, postOutEdgeRemoved, postSourceNodeChanged, postTargetNodeChanged, postUndirectedEdgeAdded, postUndirectedEdgeRemoved, preAttributeAdded, preAttributeRemoved, preDirectedChanged, preEdgeAdded, preEdgeRemoved, preEdgeReversed, preGraphCleared, preInEdgeAdded, preInEdgeRemoved, preNodeAdded, preNodeRemoved, preOutEdgeAdded, preOutEdgeRemoved, preSourceNodeChanged, preTargetNodeChanged, preUndirectedEdgeAdded, preUndirectedEdgeRemoved, setParameter, setValue, transactionFinished, transactionStarted
-
Constructor Details
-
NodeShapeEditComponent
Constructor sets the correct entries of the combo box. And creates a new combo box.- Parameters:
disp
- DOCUMENT ME!
-
-
Method Details
-
setEditFieldValue
public void setEditFieldValue()Description copied from class:ComboBoxEditComponent
Sets the current value of theAttribute
in the correspondingJComponent
.- Specified by:
setEditFieldValue
in interfaceValueEditComponent
- Overrides:
setEditFieldValue
in classComboBoxEditComponent
-
setValue
public void setValue()Description copied from class:ComboBoxEditComponent
Sets the value of the displayable specified in theJComponent
. Probably not useful or overwritten by subclasses.- Specified by:
setValue
in interfaceValueEditComponent
- Overrides:
setValue
in classComboBoxEditComponent
-