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