Package PamView

Class TopToolBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, ColorManaged

public class TopToolBar extends PamToolBar implements ColorManaged
See Also:
  • Constructor Details Link icon

    • TopToolBar Link icon

      public TopToolBar(PamGui pamGUI)
  • Method Details Link icon

    • getDefaultColor Link icon

      public PamColors.PamColor getDefaultColor()
    • setDefaultColor Link icon

      public void setDefaultColor(PamColors.PamColor defaultColor)
    • getColorId Link icon

      public PamColors.PamColor getColorId()
      Description copied from interface: ColorManaged
      The components colour scheme.
      Specified by:
      getColorId in interface ColorManaged
      Overrides:
      getColorId in class PamToolBar
      Returns:
      PamColor
    • setActiveControlledUnit Link icon

      public void setActiveControlledUnit(PamControlledUnit pamControlledUnit)
      Only display component from the pam controlled unit which is currently on view.
      Parameters:
      pamControlledUnit -
    • enableStartButton Link icon

      public static void enableStartButton(boolean enable)
      Enable all start buttons in all top menu bars. In normal mode, this is generally controlled by PamController. In Viewer mode, this is more dependent on the topmost tab and whether or not it contains components which support sound playback
      Parameters:
      enable -
    • enableStopButton Link icon

      public static void enableStopButton(boolean enable)
      Enable all stop buttons in all top menu bars. In normal mode, this is generally controlled by PamController. In Viewer mode, this is more dependent on the topmost tab and whether or not it contains components which support sound playback
      Parameters:
      enable -