Package PamView

Class TopToolBar

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

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

    • TopToolBar

      public TopToolBar(PamGui pamGUI)
  • Method Details

    • getDefaultColor

      public PamColors.PamColor getDefaultColor()
    • setDefaultColor

      public void setDefaultColor(PamColors.PamColor defaultColor)
    • getColorId

      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

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

      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

      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 -