Package hec.gfx2d

Class PairedDataLineLabelPanel

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

public class PairedDataLineLabelPanel extends rma.swing.DefaultJPanel implements ItemListener

Title: CWMS Development

Description:

Copyright: Copyright (c) 2002

Company: Resource Management Associates

See Also:
  • Constructor Details

    • PairedDataLineLabelPanel

      public PairedDataLineLabelPanel()
  • Method Details

    • fillPanel

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

      public Font getLabelFont()
    • getMajorFont

      public Font getMajorFont()
    • getUseLabel

      public boolean getUseLabel()
      Returns true if the user has selected the Custom label property.
      Returns:
    • getMinorFont

      public Font getMinorFont()
    • setLineData

      public void setLineData(G2dLine[] data)
    • itemStateChanged

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

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

      public boolean savePanel()
      Overrides:
      savePanel in class rma.swing.DefaultJPanel
    • getLabelPosition

      public int getLabelPosition()
    • getLabelColor

      public Color getLabelColor()
    • getLabelAlignment

      public int getLabelAlignment()
      Returns the current label alignment selection
      Returns:
    • getName

      public String getName()
      Overrides:
      getName in class rma.swing.AbstractJPanel