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
showEmptyFields 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 voidsetEditFieldValue()Sets the current value of theAttributein the correspondingJComponent.voidsetValue()Sets the value of the displayable specified in theJComponent.Methods inherited from class org.graffiti.plugin.editcomponent.ComboBoxEditComponent
getComponentMethods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, postAttributeChanged, preAttributeChanged, setDisplayable, setEnabled, setShowEmptyMethods 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:ComboBoxEditComponentSets the current value of theAttributein the correspondingJComponent.- Specified by:
setEditFieldValuein interfaceValueEditComponent- Overrides:
setEditFieldValuein classComboBoxEditComponent
-
setValue
public void setValue()Description copied from class:ComboBoxEditComponentSets the value of the displayable specified in theJComponent. Probably not useful or overwritten by subclasses.- Specified by:
setValuein interfaceValueEditComponent- Overrides:
setValuein classComboBoxEditComponent
-