Class SingleGraphElementEditComponent
java.lang.Object
org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
org.graffiti.plugin.editcomponent.AbstractValueEditComponent
org.graffiti.plugin.editcomponent.GraphComponentEditComponent
org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
- All Implemented Interfaces:
EventListener,AttributeListener,EdgeListener,GraphListener,NodeListener,TransactionListener,ValueEditComponent
- Direct Known Subclasses:
EdgeEditComponent,NodeEditComponent
public abstract class SingleGraphElementEditComponent extends GraphComponentEditComponent
This class provides an edit component for graph elements.
- See Also:
JComboBox,NodeEditComponent,EdgeEditComponent,GraphElement
-
Field Summary
Fields inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
showEmptyFields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING -
Method Summary
Modifier and Type Method Description StringgetCaption()Returns a String suitable for the name column in the name value table.JComponentgetComponent()Returns theValueEditComponent'sJComponent.voidsetEditFieldValue()Sets the current value of theAttributein the correspondingJComponent.voidsetGraphElement(GraphElement ge)Sets the graph component selectable by this edit component.Methods 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, setDisplayable, 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, setValueMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
setValue
-
Method Details
-
getCaption
Returns a String suitable for the name column in the name value table.- Returns:
- a String suitable for the name column in the name value table.
-
getComponent
Returns theValueEditComponent'sJComponent.- Returns:
- DOCUMENT ME!
- Throws:
RuntimeException- DOCUMENT ME!
-
setEditFieldValue
public void setEditFieldValue()Sets the current value of theAttributein the correspondingJComponent. -
setGraphElement
Sets the graph component selectable by this edit component.- Specified by:
setGraphElementin classGraphComponentEditComponent
-