Package hec.gfx2d

Class G2dMarkerValueLabelPropertiesPanel

All Implemented Interfaces:
ComponentPanel, ActionListener, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, Modifiable, RmaValidComponent

public class G2dMarkerValueLabelPropertiesPanel extends G2dLineLabelPropertiesPanel
Title: CWMS Development Description: Copyright: Copyright (c) 2002 Company: Resource Management Associates
See Also:
  • Field Details

    • TIME_AXIS

      public static int TIME_AXIS
    • NUMERIC_AXIS

      public static int NUMERIC_AXIS
  • Constructor Details

    • G2dMarkerValueLabelPropertiesPanel

      public G2dMarkerValueLabelPropertiesPanel(int axisType)
      Parameters:
      axisType - The type of axis that the marker is attached to. It is either numeric or time. For a Time axis, the values are displayed and edited as time values.
    • G2dMarkerValueLabelPropertiesPanel

      public G2dMarkerValueLabelPropertiesPanel()
  • Method Details

    • setData

      public void setData(G2dMarkerProperties p, TimeZone dataTimeZone)
      Sets the data that will be used for editing. The dataTimeZone value can be null. If it is null the default time zone will be set to the display time zone and no conversions will be done.
    • getName

      public String getName()
      Returns the name of the panel
      Overrides:
      getName in class AbstractJPanel
    • savePanel

      public boolean savePanel()
      Overrides:
      savePanel in class G2dLineLabelPropertiesPanel
    • fillPanel

      public void fillPanel()
      Description copied from class: AbstractJPanel
      Force subclasses to use this interface.
      Overrides:
      fillPanel in class G2dLineLabelPropertiesPanel
    • setAxisType

      public void setAxisType(int axisType)
      Sets the Axis type that is edited. Either NUMERIC_AXIS or TIME_AXIS;