public interface CommandButtonLayoutManager
extends java.beans.PropertyChangeListener
AbstractCommandButton
s.Modifier and Type | Interface and 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 and 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()
Returns the preferred icon size of command buttons which use this layout
manager.
|
java.awt.Dimension |
getPreferredSize(AbstractCommandButton commandButton)
Returns the preferred size of the specified command button.
|
java.awt.Dimension getPreferredSize(AbstractCommandButton commandButton)
commandButton
- Command button.int getPreferredIconSize()
java.awt.Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
commandButton
- Command button.CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton, java.awt.Graphics g)
commandButton
- Command button.g
- Graphics context.