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:
java.beans.PropertyChangeListener
,java.util.EventListener
,CommandButtonLayoutManager
- Enclosing class:
- CommandButtonLayoutManagerTile
public static class CommandButtonLayoutManagerTile.FitToIcon extends CommandButtonLayoutManagerTile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pushingpixels.radiance.component.internal.ui.common.CommandButtonLayoutManagerTile
CommandButtonLayoutManagerTile.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.CommandButtonLayoutManagerTile
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 classCommandButtonLayoutManagerTile
-
-