Class CommandButtonLayoutManagerTile.FitToIcon
java.lang.Object
org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerTile
org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerTile.FitToIcon
- All Implemented Interfaces:
PropertyChangeListener, EventListener, CommandButtonLayoutManager
- Enclosing class:
CommandButtonLayoutManagerTile
-
Nested Class Summary
Nested classes/interfaces inherited from class CommandButtonLayoutManagerTile
CommandButtonLayoutManagerTile.FitToIconNested classes/interfaces inherited from interface CommandButtonLayoutManager
CommandButtonLayoutManager.CommandButtonKind, CommandButtonLayoutManager.CommandButtonLayoutInfo, CommandButtonLayoutManager.CommandButtonSeparatorOrientation, CommandButtonLayoutManager.TextLayoutInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel) Returns the preferred icon size of a button using this layout manager.Methods inherited from class CommandButtonLayoutManagerTile
getActionKeyTipAnchorCenterPoint, getLayoutInfo, getPopupKeyTipAnchorCenterPoint, getPreferredSizeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommandButtonLayoutManager
getCommandButtonKind, getCommandButtonKind, propertyChange
-
Constructor Details
-
FitToIcon
public FitToIcon()
-
-
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- Overrides:
getPreferredIconSizein classCommandButtonLayoutManagerTile
-