public class CommandButtonLayoutManagerCustom extends CommandButtonLayoutManagerBig
CommandButtonLayoutManager.CommandButtonLayoutInfo, CommandButtonLayoutManager.CommandButtonSeparatorOrientation, CommandButtonLayoutManager.TextLayoutInfo
commandButton, titlePart1, titlePart2
Constructor and Description |
---|
CommandButtonLayoutManagerCustom(AbstractCommandButton commandButton) |
Modifier and Type | Method and Description |
---|---|
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.
|
getKeyTipAnchorCenterPoint, getLayoutInfo, propertyChange, updateTitleStrings
public CommandButtonLayoutManagerCustom(AbstractCommandButton commandButton)
public int getPreferredIconSize()
CommandButtonLayoutManager
getPreferredIconSize
in interface CommandButtonLayoutManager
getPreferredIconSize
in class CommandButtonLayoutManagerBig
public java.awt.Dimension getPreferredSize(AbstractCommandButton commandButton)
CommandButtonLayoutManager
getPreferredSize
in interface CommandButtonLayoutManager
getPreferredSize
in class CommandButtonLayoutManagerBig
commandButton
- Command button.