|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.flamingo.internal.ui.common.CommandButtonLayoutManagerBig
public class CommandButtonLayoutManagerBig
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.pushingpixels.flamingo.api.common.CommandButtonLayoutManager |
---|
CommandButtonLayoutManager.CommandButtonLayoutInfo, CommandButtonLayoutManager.CommandButtonSeparatorOrientation, CommandButtonLayoutManager.TextLayoutInfo |
Field Summary | |
---|---|
protected AbstractCommandButton |
commandButton
|
protected String |
titlePart1
The first part of (possibly) two-lined split of commandButton 's
title. |
protected String |
titlePart2
The second part of (possibly) two-lined split of commandButton 's
title. |
Constructor Summary | |
---|---|
CommandButtonLayoutManagerBig(AbstractCommandButton commandButton)
|
Method Summary | |
---|---|
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)
|
protected void |
updateTitleStrings()
Updates the title strings for CommandButtonDisplayState.BIG and
other relevant states. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AbstractCommandButton commandButton
protected String titlePart1
commandButton
's
title.
protected String titlePart2
commandButton
's
title.
Constructor Detail |
---|
public CommandButtonLayoutManagerBig(AbstractCommandButton commandButton)
Method Detail |
---|
public int getPreferredIconSize()
CommandButtonLayoutManager
getPreferredIconSize
in interface CommandButtonLayoutManager
public Dimension getPreferredSize(AbstractCommandButton commandButton)
CommandButtonLayoutManager
getPreferredSize
in interface CommandButtonLayoutManager
commandButton
- Command button.
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
protected void updateTitleStrings()
CommandButtonDisplayState.BIG
and
other relevant states.
public Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
CommandButtonLayoutManager
getKeyTipAnchorCenterPoint
in interface CommandButtonLayoutManager
commandButton
- Command button.
public CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton, Graphics g)
CommandButtonLayoutManager
getLayoutInfo
in interface CommandButtonLayoutManager
commandButton
- Command button.g
- Graphics context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |