Class LinesStyleEditor

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener

public class LinesStyleEditor extends StyleEditor
StyleEditor implementation for suitable for a LinesPlot. The style objects used are (currently) MarkStyles.
Since:
14 Mar 2006
Author:
Mark Taylor
See Also:
  • Constructor Details

    • LinesStyleEditor

      public LinesStyleEditor(uk.ac.starlink.ttools.plot.ErrorRenderer[] errorRenderers, uk.ac.starlink.ttools.plot.ErrorRenderer defaultRenderer, ErrorModeSelectionModel[] errorModeModels)
      Constructor.
      Parameters:
      errorRenderers - list of error renderers to be available from this style editor
      defaultRenderer - default error renderer to use if no other is known
      errorModeModels - error mode selection models
  • Method Details

    • setStyle

      public void setStyle(uk.ac.starlink.ttools.plot.Style style)
      Description copied from class: StyleEditor
      Sets the style. Implementations should configure their visual state so that it matches the characteristics of the given style.
      Specified by:
      setStyle in class StyleEditor
      Parameters:
      style - current style
    • getStyle

      public uk.ac.starlink.ttools.plot.Style getStyle()
      Description copied from class: StyleEditor
      Returns a style object derived from the current state of this component.
      Specified by:
      getStyle in class StyleEditor
      Returns:
      current (edited) style
    • getHelpID

      public String getHelpID()
      Description copied from class: StyleEditor
      Returns the help ID associated with this editor.
      Specified by:
      getHelpID in class StyleEditor
      Returns:
      ID within TOPCAT HelpSet
    • refreshState

      protected void refreshState()
      Description copied from class: StyleEditor
      Ensures that all the visual components of this editor match its internal state.
      Overrides:
      refreshState in class StyleEditor