Package hec.gfx2d

Class G2dScalePropertiesPanel

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

public class G2dScalePropertiesPanel extends rma.swing.DefaultJPanel implements ScalePropertiesPanel
See Also:
  • Field Details

  • Constructor Details

    • G2dScalePropertiesPanel

      public G2dScalePropertiesPanel()
  • Method Details

    • actionPerformed

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

      public void fillPanel()
      Description copied from class: rma.swing.AbstractJPanel
      Force subclasses to use this interface.
      Specified by:
      fillPanel in interface ScalePropertiesPanel
      Overrides:
      fillPanel in class rma.swing.DefaultJPanel
    • refresh

      public void refresh()
      Specified by:
      refresh in interface ScalePropertiesPanel
    • 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()
      Specified by:
      savePanel in interface ScalePropertiesPanel
      Overrides:
      savePanel in class rma.swing.DefaultJPanel
    • setData

      public void setData(ScaleProperties scale)
      Sets the Data for this panel
      Specified by:
      setData in interface ScalePropertiesPanel
    • getData

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

      public static void main(String[] args)
    • clearPanel

      public void clearPanel()