java.util.EventListener, java.beans.PropertyChangeListenerCommandButtonLayoutManagerBig, CommandButtonLayoutManagerBigFixed, CommandButtonLayoutManagerBigFixedLandscape, CommandButtonLayoutManagerCustom, CommandButtonLayoutManagerMedium, CommandButtonLayoutManagerMenuTileLevel1, CommandButtonLayoutManagerMenuTileLevel2, CommandButtonLayoutManagerSmall, CommandButtonLayoutManagerTilepublic interface CommandButtonLayoutManager
extends java.beans.PropertyChangeListener
AbstractCommandButtons.| Modifier and Type | Interface | Description |
|---|---|---|
static class |
CommandButtonLayoutManager.CommandButtonLayoutInfo |
Layout information on different visual parts of a single command button.
|
static class |
CommandButtonLayoutManager.CommandButtonSeparatorOrientation |
Enumerates the available values for separator orientations.
|
static class |
CommandButtonLayoutManager.TextLayoutInfo |
Layout information on a single line of text.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Point |
getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton) |
Returns the anchor center point of the key tip of the specified command
button.
|
CommandButtonLayoutManager.CommandButtonLayoutInfo |
getLayoutInfo(AbstractCommandButton commandButton,
java.awt.Graphics g) |
Returns the layout information for the specified command button.
|
int |
getPreferredIconSize(AbstractCommandButton commandButton) |
Returns the preferred icon size of the specified command button when it uses
this layout manager.
|
java.awt.Dimension |
getPreferredSize(AbstractCommandButton commandButton) |
Returns the preferred size of the specified command button when it uses
this layout manager.
|
java.awt.Dimension getPreferredSize(AbstractCommandButton commandButton)
commandButton - Command button.int getPreferredIconSize(AbstractCommandButton commandButton)
commandButton - Command button.java.awt.Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
commandButton - Command button.CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton, java.awt.Graphics g)
commandButton - Command button.g - Graphics context.