org.pushingpixels.flamingo.api.common
public interface CommandButtonLayoutManager extends 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 |
---|---|
Point |
getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
Returns the anchor center point of the key tip of the specified command
button.
|
CommandButtonLayoutManager.CommandButtonLayoutInfo |
getLayoutInfo(AbstractCommandButton commandButton,
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.
|
Dimension |
getPreferredSize(AbstractCommandButton commandButton)
Returns the preferred size of the specified command button.
|
propertyChange
Dimension getPreferredSize(AbstractCommandButton commandButton)
commandButton
- Command button.int getPreferredIconSize()
Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
commandButton
- Command button.CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton, Graphics g)
commandButton
- Command button.g
- Graphics context.