Class CommandButtonLayoutManagerCustom
java.lang.Object
org.pushingpixels.flamingo.internal.ui.common.CommandButtonLayoutManagerBig
org.pushingpixels.flamingo.internal.ui.common.CommandButtonLayoutManagerCustom
- All Implemented Interfaces:
PropertyChangeListener,EventListener,CommandButtonLayoutManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.pushingpixels.flamingo.api.common.CommandButtonLayoutManager
CommandButtonLayoutManager.CommandButtonLayoutInfo, CommandButtonLayoutManager.CommandButtonSeparatorOrientation, CommandButtonLayoutManager.TextLayoutInfo -
Field Summary
Fields inherited from class org.pushingpixels.flamingo.internal.ui.common.CommandButtonLayoutManagerBig
commandButton, titlePart1, titlePart2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the preferred icon size of command buttons which use this layout manager.getPreferredSize(AbstractCommandButton commandButton) Returns the preferred size of the specified command button.Methods inherited from class org.pushingpixels.flamingo.internal.ui.common.CommandButtonLayoutManagerBig
getKeyTipAnchorCenterPoint, getLayoutInfo, propertyChange, updateTitleStrings
-
Constructor Details
-
CommandButtonLayoutManagerCustom
-
-
Method Details
-
getPreferredIconSize
public int getPreferredIconSize()Description copied from interface:CommandButtonLayoutManagerReturns the preferred icon size of command buttons which use this layout manager.- Specified by:
getPreferredIconSizein interfaceCommandButtonLayoutManager- Overrides:
getPreferredIconSizein classCommandButtonLayoutManagerBig- Returns:
- The preferred icon size of command buttons which use this layout manager.
-
getPreferredSize
Description copied from interface:CommandButtonLayoutManagerReturns the preferred size of the specified command button.- Specified by:
getPreferredSizein interfaceCommandButtonLayoutManager- Overrides:
getPreferredSizein classCommandButtonLayoutManagerBig- Parameters:
commandButton- Command button.- Returns:
- The preferred size of the specified command button.
-