Class SmallPowerManagerButton

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

A small button handling layout power
This file is part of JMRI.

JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See Also:
  • Constructor Details

    • SmallPowerManagerButton

      public SmallPowerManagerButton(boolean fullText, @CheckForNull PowerManager powerMgr)
      Create a SmallPowerManagerButton for a given Power Manager.
      Parameters:
      fullText - true if displaying text and graphic, false for graphic only.
      powerMgr - The PowerManager to monitor and control.
    • SmallPowerManagerButton

      public SmallPowerManagerButton(Boolean fullText)
      Create a Small Power Manager Button for the default Power Manager.
      Parameters:
      fullText - true if displaying text and graphic, false for graphic only.
    • SmallPowerManagerButton

      Create a Small Power Manager Button for the default Power Manager, displaying text and graphic.
  • Method Details