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:
java.beans.PropertyChangeListener
,java.util.EventListener
,CommandButtonLayoutManager
- Enclosing class:
- CommandButtonLayoutManagerSmall
public static class CommandButtonLayoutManagerSmall.FitToIcon extends CommandButtonLayoutManagerSmall
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerSmall
CommandButtonLayoutManagerSmall.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 Constructor Description FitToIcon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Dimension
getPreferredIconSize(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.CommandButtonLayoutManagerSmall
getActionKeyTipAnchorCenterPoint, 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
-
-
-
-
Method Detail
-
getPreferredIconSize
public java.awt.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 classCommandButtonLayoutManagerSmall
-
-