java.beans.PropertyChangeListener, java.util.EventListener, CommandButtonLayoutManagerCommandButtonLayoutManagerCustompublic class CommandButtonLayoutManagerBig extends java.lang.Object implements CommandButtonLayoutManager
CommandButtonLayoutManager.CommandButtonLayoutInfo, CommandButtonLayoutManager.CommandButtonSeparatorOrientation, CommandButtonLayoutManager.TextLayoutInfo| Modifier and Type | Field | Description |
|---|---|---|
protected AbstractCommandButton |
commandButton |
|
protected java.lang.String |
titlePart1 |
The first part of (possibly) two-lined split of
commandButton's
title. |
protected java.lang.String |
titlePart2 |
The second part of (possibly) two-lined split of
commandButton's
title. |
| Constructor | Description |
|---|---|
CommandButtonLayoutManagerBig(AbstractCommandButton commandButton) |
| Modifier and Type | Method | 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(AbstractCommandButton commandButton) |
Returns the preferred icon size of the specified command button when it uses
this layout manager.
|
java.awt.Dimension |
getPreferredSize(AbstractCommandButton commandButton) |
Returns the preferred size of the specified command button when it uses
this layout manager.
|
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
|
protected void |
updateTitleStrings() |
Updates the title strings for
CommandButtonDisplayState.BIG and
other relevant states. |
protected AbstractCommandButton commandButton
protected java.lang.String titlePart1
commandButton's
title.protected java.lang.String titlePart2
commandButton's
title.public CommandButtonLayoutManagerBig(AbstractCommandButton commandButton)
public int getPreferredIconSize(AbstractCommandButton commandButton)
CommandButtonLayoutManagergetPreferredIconSize in interface CommandButtonLayoutManagercommandButton - Command button.public java.awt.Dimension getPreferredSize(AbstractCommandButton commandButton)
CommandButtonLayoutManagergetPreferredSize in interface CommandButtonLayoutManagercommandButton - Command button.public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerprotected void updateTitleStrings()
CommandButtonDisplayState.BIG and
other relevant states.public java.awt.Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
CommandButtonLayoutManagergetKeyTipAnchorCenterPoint in interface CommandButtonLayoutManagercommandButton - Command button.public CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton, java.awt.Graphics g)
CommandButtonLayoutManagergetLayoutInfo in interface CommandButtonLayoutManagercommandButton - Command button.g - Graphics context.