Package hec.gfx2d

Class DataTypePanel

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

public class DataTypePanel extends rma.swing.DefaultJPanel
Title: General CWMS Project Description: Copyright: Copyright (c) 2000 Company: RMA
See Also:
  • Constructor Details

    • DataTypePanel

      public DataTypePanel()
      Constructor for the DataTypeScalePanel object
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Method Description
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class rma.swing.AbstractJPanel
      Parameters:
      e - Description
    • fillPanel

      public void fillPanel()
      Method Description
      Overrides:
      fillPanel in class rma.swing.DefaultJPanel
    • refresh

      public void refresh()
      Method Description
    • validatePanel

      public boolean validatePanel()
      Validates the data the is entered into the panel. Raises any errors if any occur
      Returns:
      true if all data is valid otherwise it returns false
    • savePanel

      public boolean savePanel()
      Method Description
      Overrides:
      savePanel in class rma.swing.DefaultJPanel
      Returns:
      Description
    • setData

      public void setData(DataTypeProperties props)
      Sets the Properties for this panel
      Parameters:
      props - The new properties value
    • getData

      public DataTypeProperties getData()
      Gets the Properties of the DataTypeScalePanel object
      Returns:
      The Properties value
    • main

      public static void main(String[] args)
      The main program for the DataTypeScalePanel class
      Parameters:
      args - The command line arguments
    • clearPanel

      public void clearPanel()
      Method Description