java.lang.Object
org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
org.graffiti.plugin.editcomponent.AbstractValueEditComponent
de.ipk_gatersleben.ag_nw.graffiti.plugins.editcomponents.chart_colors.LineModeAttributeEditor
All Implemented Interfaces:
EventListener, AttributeListener, EdgeListener, GraphListener, NodeListener, TransactionListener, ValueEditComponent

public class LineModeAttributeEditor
extends AbstractValueEditComponent
Author:
Christian Klukas (c) 2004 IPK-Gatersleben
  • Constructor Details

    • LineModeAttributeEditor

      public LineModeAttributeEditor​(Displayable disp)
  • Method Details

    • getComponent

      public JComponent getComponent()
      Description copied from interface: ValueEditComponent
      Returns the ValueEditComponent's JComponent.
      Returns:
      the ValueEditComponent's JComponent.
    • setEditFieldValue

      public void setEditFieldValue()
      Description copied from interface: ValueEditComponent
      Sets the current value of the Displayable in the corresponding JComponent. If showEmpty is set to true, this component should instead show only empty fields.
    • setValue

      public void setValue()
      Description copied from interface: ValueEditComponent
      Sets the value of the Displayable specified in the JComponent. Should only change the value if the value is really different otherwise too many events will be sent.
    • setShowEmpty

      public void setShowEmpty​(boolean showEmpty)
      Description copied from interface: ValueEditComponent
      Called with a value of true when this component should display nothing instead of the value of its associated displayable. This is used when several displayables use this component but have different values. When set to false, the value of the displayable associated with this component is used.
      Specified by:
      setShowEmpty in interface ValueEditComponent
      Overrides:
      setShowEmpty in class AbstractValueEditComponent