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
showEmpty
Fields 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 void
setDisplayable(Displayable disp)
Sets the displayable.void
setValue()
Sets the value of theDisplayable
specified in theJComponent
.Methods inherited from class org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
getCaption, getComponent, setEditFieldValue, setGraphElement
Methods inherited from class org.graffiti.plugin.editcomponent.GraphComponentEditComponent
postAttributeAdded, postAttributeChanged, postAttributeRemoved, preAttributeAdded, preAttributeChanged, preAttributeRemoved, transactionFinished, transactionStarted
Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, setEnabled, setShowEmpty
Methods 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:AbstractValueEditComponent
Sets the displayable.- Specified by:
setDisplayable
in interfaceValueEditComponent
- Overrides:
setDisplayable
in classAbstractValueEditComponent
- Parameters:
disp
- the object to connect to this component.
-
setValue
public void setValue()Description copied from interface:ValueEditComponent
Sets the value of theDisplayable
specified in theJComponent
. Should only change the value if the value is really different otherwise too many events will be sent.- See Also:
ValueEditComponent.setValue()
-