PropertyChangeListener, EventListener, CommandButtonLayoutManagerpublic class CommandButtonLayoutManagerMedium extends Object implements CommandButtonLayoutManager
CommandButtonLayoutManager.CommandButtonLayoutInfo, CommandButtonLayoutManager.CommandButtonSeparatorOrientation, CommandButtonLayoutManager.TextLayoutInfo| Constructor | Description |
|---|---|
CommandButtonLayoutManagerMedium() |
| Modifier and Type | Method | Description |
|---|---|---|
protected float |
getIconTextGapFactor() |
|
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.
|
void |
propertyChange(PropertyChangeEvent evt) |
public int getPreferredIconSize()
CommandButtonLayoutManagergetPreferredIconSize in interface CommandButtonLayoutManagerprotected float getIconTextGapFactor()
public Dimension getPreferredSize(AbstractCommandButton commandButton)
CommandButtonLayoutManagergetPreferredSize in interface CommandButtonLayoutManagercommandButton - Command button.public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
CommandButtonLayoutManagergetKeyTipAnchorCenterPoint in interface CommandButtonLayoutManagercommandButton - Command button.public CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton, Graphics g)
CommandButtonLayoutManagergetLayoutInfo in interface CommandButtonLayoutManagercommandButton - Command button.g - Graphics context.