Class CommandButtonLayoutManagerMenuTileLevel1
- java.lang.Object
-
- org.pushingpixels.radiance.component.internal.ui.ribbon.appmenu.CommandButtonLayoutManagerMenuTileLevel1
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
,CommandButtonLayoutManager
public class CommandButtonLayoutManagerMenuTileLevel1 extends java.lang.Object implements CommandButtonLayoutManager
-
-
Nested Class Summary
-
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 CommandButtonLayoutManagerMenuTileLevel1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Point
getActionKeyTipAnchorCenterPoint(JCommandButton commandButton)
Returns the anchor center point of the action key tip of the specified command button.CommandButtonLayoutManager.CommandButtonLayoutInfo
getLayoutInfo(JCommandButton commandButton)
Returns the layout information for the specified command button.java.awt.Point
getPopupKeyTipAnchorCenterPoint(JCommandButton commandButton)
Returns the anchor center point of the popup key tip of the specified command button.java.awt.Dimension
getPreferredIconSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
Returns the preferred icon size of a button using this layout manager.java.awt.Dimension
getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
Returns the preferred size of a button using this layout manager.-
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
-
getPreferredSize
public java.awt.Dimension getPreferredSize(BaseCommand command, BaseCommandButtonPresentationModel presentationModel)
Description copied from interface:CommandButtonLayoutManager
Returns the preferred size of a button using this layout manager.- Specified by:
getPreferredSize
in interfaceCommandButtonLayoutManager
-
getActionKeyTipAnchorCenterPoint
public java.awt.Point getActionKeyTipAnchorCenterPoint(JCommandButton commandButton)
Description copied from interface:CommandButtonLayoutManager
Returns the anchor center point of the action key tip of the specified command button.- Specified by:
getActionKeyTipAnchorCenterPoint
in interfaceCommandButtonLayoutManager
- Parameters:
commandButton
- Command button.- Returns:
- The anchor center point of the action key tip of the specified command button.
-
getPopupKeyTipAnchorCenterPoint
public java.awt.Point getPopupKeyTipAnchorCenterPoint(JCommandButton commandButton)
Description copied from interface:CommandButtonLayoutManager
Returns the anchor center point of the popup key tip of the specified command button.- Specified by:
getPopupKeyTipAnchorCenterPoint
in interfaceCommandButtonLayoutManager
- Parameters:
commandButton
- Command button.- Returns:
- The anchor center point of the popup key tip of the specified command button.
-
getLayoutInfo
public CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(JCommandButton commandButton)
Description copied from interface:CommandButtonLayoutManager
Returns the layout information for the specified command button.- Specified by:
getLayoutInfo
in interfaceCommandButtonLayoutManager
- Parameters:
commandButton
- Command button.- Returns:
- The layout information for the specified command button.
-
-