Class CommandButtonLayoutManagerSmall.FitToIcon
java.lang.Object
org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerSmall
org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerSmall.FitToIcon
- All Implemented Interfaces:
PropertyChangeListener, EventListener, CommandButtonLayoutManager
- Enclosing class:
CommandButtonLayoutManagerSmall
public static class CommandButtonLayoutManagerSmall.FitToIcon
extends CommandButtonLayoutManagerSmall
-
Nested Class Summary
Nested classes/interfaces inherited from class CommandButtonLayoutManagerSmall
CommandButtonLayoutManagerSmall.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 CommandButtonLayoutManagerSmall
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 classCommandButtonLayoutManagerSmall
-