Package hec.gfx2d

Class TsAxisScalePropertiesPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
rma.swing.AbstractJPanel
rma.swing.DefaultJPanel
hec.gfx2d.TsAxisScalePropertiesPanel
All Implemented Interfaces:
ScalePropertiesPanel, ActionListener, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, rma.lang.Modifiable, rma.swing.RmaValidComponent

public class TsAxisScalePropertiesPanel extends rma.swing.DefaultJPanel implements ScalePropertiesPanel
This is a panel which allows the user to edit properties of a Time Series Axis. These properties include editing the minimum/maximum values axis values, minimum/maximum values for the current view, and setting a view range. The range would start at the view minimum and go for a certain range. Thus, ignoring the view max range. The user can also adjust the number of label levels.
Since:
September 20, 2000
See Also:
  • Field Details

  • Constructor Details

    • TsAxisScalePropertiesPanel

      public TsAxisScalePropertiesPanel()
  • Method Details

    • setData

      public void setData(ScaleProperties prop)
      Specified by:
      setData in interface ScalePropertiesPanel
    • getData

      public ScaleProperties getData()
      Specified by:
      getData in interface ScalePropertiesPanel
    • fillPanel

      public void fillPanel()
      Fills the panel with the data
      Specified by:
      fillPanel in interface ScalePropertiesPanel
      Overrides:
      fillPanel in class rma.swing.DefaultJPanel
    • validatePanel

      public boolean validatePanel()
      Validates all of the data on the panel to make sure that the user has enter it correctly. returns true if the data is completely valid, otherwise false.
    • savePanel

      public boolean savePanel()
      Saves all information that is entered on this panel
      Specified by:
      savePanel in interface ScalePropertiesPanel
      Overrides:
      savePanel in class rma.swing.DefaultJPanel
    • refresh

      public void refresh()
      Method that causes the panel to update from its data
      Specified by:
      refresh in interface ScalePropertiesPanel
    • itemStateChanged

      public void itemStateChanged(ItemEvent e)
      Specified by:
      itemStateChanged in interface ItemListener
      Overrides:
      itemStateChanged in class rma.swing.AbstractJPanel
    • main

      public static void main(String[] args)