Class FWStateBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FWStateBar extends JPanel
StatBar of the ImpetusClient.
Version:
$Revision: 1.1.1.1 $
Author:
Andreas Enders
See Also:
  • Field Details

    • WEST

      public static final int WEST
      Three constants representing the west and the east and the center panel.
      See Also:
    • CENTER

      public static final int CENTER
      Three constants representing the west and the east and the center panel.
      See Also:
    • EAST

      public static final int EAST
      Three constants representing the west and the east and the center panel.
      See Also:
  • Constructor Details

    • FWStateBar

      public FWStateBar(String aLocalePrefix, Map<String,Object> aStatebarFunctionsMap)
      Creates and initalizes the statebar.
  • Method Details

    • addLabel

      public void addLabel(int aSide, String aID, int aWidth)
      Adds a new label to the statebar.
    • addLabel

      public void addLabel(int aSide, String aID, String aValue, int aWidth)
      Adds a new label to the statebar.
    • addIconPanel

      public void addIconPanel(int aSide, String aID, Icon aIcon, int aWidth)
      Adds a new icon with the given tooltiptext.
    • addComponentPanel

      public void addComponentPanel(int aSide, String aID, JComponent aComponent, int aWidth)
      Adds a new icon with the given tooltiptext.
    • addPanel

      protected void addPanel(int aSide, JComponent aComponent, boolean aAddBorder)
      Adds a panel with only the given component.
    • setValue

      public void setValue(String aLabelName, String aValue)
      Sets a new value to the given label.
    • setIcon

      public void setIcon(String aLabelName, Icon aIcon, String aToolTipText)
      Sets a new icon and tooltiptext to the given label.