Class CommandButtonLayoutManagerMedium.FitToIcon
java.lang.Object
org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerMedium
org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerMedium.FitToIcon
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
,CommandButtonLayoutManager
- Enclosing class:
CommandButtonLayoutManagerMedium
public static class CommandButtonLayoutManagerMedium.FitToIcon
extends CommandButtonLayoutManagerMedium
-
Nested Class Summary
Nested classes/interfaces inherited from class org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerMedium
CommandButtonLayoutManagerMedium.FitToIcon
Nested classes/interfaces inherited from interface org.pushingpixels.radiance.component.api.common.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 org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerMedium
getActionKeyTipAnchorCenterPoint, getIconTextGapFactor, getLayoutInfo, getPopupKeyTipAnchorCenterPoint, getPreferredSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.pushingpixels.radiance.component.api.common.CommandButtonLayoutManager
getCommandButtonKind, getCommandButtonKind, propertyChange
-
Constructor Details
-
FitToIcon
public FitToIcon()
-
-
Method Details
-
getPreferredIconSize
public Dimension getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel) Description copied from interface:CommandButtonLayoutManager
Returns the preferred icon size of a button using this layout manager.- Specified by:
getPreferredIconSize
in interfaceCommandButtonLayoutManager
- Overrides:
getPreferredIconSize
in classCommandButtonLayoutManagerMedium
-