|
|||||||||
| 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 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 Summary | |
|---|---|
CommandButtonLayoutManagerBig(AbstractCommandButton commandButton)
|
|
| Method Summary | |
|---|---|
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()
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. |
void |
propertyChange(java.beans.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 java.lang.String titlePart1
commandButton's
title.
protected java.lang.String titlePart2
commandButton's
title.
| Constructor Detail |
|---|
public CommandButtonLayoutManagerBig(AbstractCommandButton commandButton)
| Method Detail |
|---|
public int getPreferredIconSize()
CommandButtonLayoutManager
getPreferredIconSize in interface CommandButtonLayoutManagerpublic java.awt.Dimension getPreferredSize(AbstractCommandButton commandButton)
CommandButtonLayoutManager
getPreferredSize 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)
CommandButtonLayoutManager
getKeyTipAnchorCenterPoint in interface CommandButtonLayoutManagercommandButton - Command button.
public CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton,
java.awt.Graphics g)
CommandButtonLayoutManager
getLayoutInfo in interface CommandButtonLayoutManagercommandButton - Command button.g - Graphics context.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||