Class BooleanEditComponent

All Implemented Interfaces:
EventListener, AttributeListener, EdgeListener, GraphListener, NodeListener, TransactionListener, ValueEditComponent

public class BooleanEditComponent
extends AbstractValueEditComponent
Represents a component, which can edit a boolean value.
Version:
$Revision: 1.12 $
  • Constructor Details

    • BooleanEditComponent

      public BooleanEditComponent​(Displayable disp)
      Constructs a new boolean edit component, referencing the given displayable.
      Parameters:
      disp - DOCUMENT ME!
  • Method Details

    • getComponent

      public JComponent getComponent()
      Returns the JComponent for editing this edit component.
      Returns:
      the JComponent for editing this edit component.
    • setEditFieldValue

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

      public void setValue()
      Sets the value of the displayable specified in the JComponent. But only if it is different.