Class NodeEditComponent
java.lang.Object
org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
org.graffiti.plugin.editcomponent.AbstractValueEditComponent
org.graffiti.plugin.editcomponent.GraphComponentEditComponent
org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
org.graffiti.plugin.editcomponent.NodeEditComponent
- All Implemented Interfaces:
EventListener,AttributeListener,EdgeListener,GraphListener,NodeListener,TransactionListener,ValueEditComponent
public class NodeEditComponent extends SingleGraphElementEditComponent
This class provides an edit component for selecting a single node.
- See Also:
Node,SingleGraphElementEditComponent
-
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 NodeEditComponent(Displayable disp)Constructs a newNodeEditComponent. -
Method Summary
Modifier and Type Method Description voidsetDisplayable(Displayable disp)Sets the displayable.voidsetValue()Sets the value of theDisplayablespecified in theJComponent.Methods inherited from class org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
getCaption, getComponent, setEditFieldValue, setGraphElementMethods inherited from class org.graffiti.plugin.editcomponent.GraphComponentEditComponent
postAttributeAdded, postAttributeChanged, postAttributeRemoved, preAttributeAdded, preAttributeChanged, preAttributeRemoved, transactionFinished, transactionStartedMethods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, setEnabled, setShowEmptyMethods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
postDirectedChanged, postEdgeAdded, postEdgeRemoved, postEdgeReversed, postGraphCleared, postInEdgeAdded, postInEdgeRemoved, postNodeAdded, postNodeRemoved, postOutEdgeAdded, postOutEdgeRemoved, postSourceNodeChanged, postTargetNodeChanged, postUndirectedEdgeAdded, postUndirectedEdgeRemoved, preDirectedChanged, preEdgeAdded, preEdgeRemoved, preEdgeReversed, preGraphCleared, preInEdgeAdded, preInEdgeRemoved, preNodeAdded, preNodeRemoved, preOutEdgeAdded, preOutEdgeRemoved, preSourceNodeChanged, preTargetNodeChanged, preUndirectedEdgeAdded, preUndirectedEdgeRemoved, setParameter, setValue
-
Constructor Details
-
NodeEditComponent
Constructs a newNodeEditComponent.- Parameters:
disp- DOCUMENT ME!
-
-
Method Details
-
setDisplayable
Description copied from class:AbstractValueEditComponentSets the displayable.- Specified by:
setDisplayablein interfaceValueEditComponent- Overrides:
setDisplayablein classAbstractValueEditComponent- Parameters:
disp- the object to connect to this component.
-
setValue
public void setValue()Description copied from interface:ValueEditComponentSets the value of theDisplayablespecified in theJComponent. Should only change the value if the value is really different otherwise too many events will be sent.- See Also:
ValueEditComponent.setValue()
-