Package hec.client

Class DataTypePanel

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

public class DataTypePanel extends DefaultJPanel
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 AbstractJPanel
      Parameters:
      e - Description
    • fillPanel

      public void fillPanel()
      Method Description
      Overrides:
      fillPanel in class 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 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