Class CommandButtonLayoutManagerSmall
java.lang.Object
org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerSmall
- All Implemented Interfaces:
PropertyChangeListener, EventListener, CommandButtonLayoutManager
- Direct Known Subclasses:
CommandButtonLayoutManagerSmall.FitToIcon
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface CommandButtonLayoutManager
CommandButtonLayoutManager.CommandButtonKind, CommandButtonLayoutManager.CommandButtonLayoutInfo, CommandButtonLayoutManager.CommandButtonSeparatorOrientation, CommandButtonLayoutManager.TextLayoutInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActionKeyTipAnchorCenterPoint(JCommandButton commandButton) Returns the anchor center point of the action key tip of the specified command button.getLayoutInfo(JCommandButton commandButton) Returns the layout information for the specified command button.getPopupKeyTipAnchorCenterPoint(JCommandButton commandButton) Returns the anchor center point of the popup key tip of the specified command button.getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel) Returns the preferred icon size of a button using this layout manager.getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel) Returns the preferred size of a button using this layout manager.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommandButtonLayoutManager
getCommandButtonKind, getCommandButtonKind, propertyChange
-
Constructor Details
-
CommandButtonLayoutManagerSmall
public CommandButtonLayoutManagerSmall()
-
-
Method Details
-
getPreferredIconSize
public Dimension getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel) Description copied from interface:CommandButtonLayoutManagerReturns the preferred icon size of a button using this layout manager.- Specified by:
getPreferredIconSizein interfaceCommandButtonLayoutManager
-
getPreferredSize
public Dimension getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel) Description copied from interface:CommandButtonLayoutManagerReturns the preferred size of a button using this layout manager.- Specified by:
getPreferredSizein interfaceCommandButtonLayoutManager
-
getActionKeyTipAnchorCenterPoint
Description copied from interface:CommandButtonLayoutManagerReturns the anchor center point of the action key tip of the specified command button.- Specified by:
getActionKeyTipAnchorCenterPointin interfaceCommandButtonLayoutManager- Parameters:
commandButton- Command button.- Returns:
- The anchor center point of the action key tip of the specified command button.
-
getPopupKeyTipAnchorCenterPoint
Description copied from interface:CommandButtonLayoutManagerReturns the anchor center point of the popup key tip of the specified command button.- Specified by:
getPopupKeyTipAnchorCenterPointin interfaceCommandButtonLayoutManager- Parameters:
commandButton- Command button.- Returns:
- The anchor center point of the popup key tip of the specified command button.
-
getLayoutInfo
public CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(JCommandButton commandButton) Description copied from interface:CommandButtonLayoutManagerReturns the layout information for the specified command button.- Specified by:
getLayoutInfoin interfaceCommandButtonLayoutManager- Parameters:
commandButton- Command button.- Returns:
- The layout information for the specified command button.
-