Interface CommandButtonLayoutManager
- All Superinterfaces:
EventListener,PropertyChangeListener
- All Known Implementing Classes:
CommandButtonLayoutManagerBig,CommandButtonLayoutManagerBigFixed,CommandButtonLayoutManagerBigFixedLandscape,CommandButtonLayoutManagerCustom,CommandButtonLayoutManagerMedium,CommandButtonLayoutManagerMenuTileLevel1,CommandButtonLayoutManagerMenuTileLevel2,CommandButtonLayoutManagerSmall,CommandButtonLayoutManagerTile
Definition of a layout manager for
AbstractCommandButtons.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classLayout information on different visual parts of a single command button.static enumEnumerates the available values for separator orientations.static classLayout information on a single line of text. -
Method Summary
Modifier and TypeMethodDescriptiongetKeyTipAnchorCenterPoint(AbstractCommandButton commandButton) Returns the anchor center point of the key tip of the specified command button.getLayoutInfo(AbstractCommandButton commandButton, Graphics g) Returns the layout information for the specified command button.intReturns the preferred icon size of command buttons which use this layout manager.getPreferredSize(AbstractCommandButton commandButton) Returns the preferred size of the specified command button.Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
-
Method Details
-
getPreferredSize
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
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
CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton, Graphics g) 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.
-