Interface CommandButtonLayoutManager

All Superinterfaces:
EventListener, PropertyChangeListener
All Known Implementing Classes:
CommandButtonLayoutManagerBig, CommandButtonLayoutManagerBigFixed, CommandButtonLayoutManagerBigFixedLandscape, CommandButtonLayoutManagerCustom, CommandButtonLayoutManagerMedium, CommandButtonLayoutManagerMenuTileLevel1, CommandButtonLayoutManagerMenuTileLevel2, CommandButtonLayoutManagerSmall, CommandButtonLayoutManagerTile

public interface CommandButtonLayoutManager extends PropertyChangeListener
Definition of a layout manager for AbstractCommandButtons.
  • Method Details

    • getPreferredSize

      Dimension getPreferredSize(AbstractCommandButton commandButton)
      Returns the preferred size of the specified command button.
      Parameters:
      commandButton - Command button.
      Returns:
      The preferred size of the specified command button.
    • getPreferredIconSize

      int getPreferredIconSize()
      Returns the preferred icon size of command buttons which use this layout manager.
      Returns:
      The preferred icon size of command buttons which use this layout manager.
    • getKeyTipAnchorCenterPoint

      Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
      Returns the anchor center point of the key tip of the specified command button.
      Parameters:
      commandButton - Command button.
      Returns:
      The anchor center point of the key tip of the specified command button.
    • getLayoutInfo

      Returns the layout information for the specified command button.
      Parameters:
      commandButton - Command button.
      g - Graphics context.
      Returns:
      The layout information for the specified command button.