Class 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
  • Method Details

    • getCaption

      public String 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

      public JComponent getComponent()
      Returns the ValueEditComponent's JComponent.
      Returns:
      DOCUMENT ME!
      Throws:
      RuntimeException - DOCUMENT ME!
    • setEditFieldValue

      public void setEditFieldValue()
      Sets the current value of the Attribute in the corresponding JComponent.
    • setGraphElement

      public void setGraphElement​(GraphElement ge)
      Sets the graph component selectable by this edit component.
      Specified by:
      setGraphElement in class GraphComponentEditComponent