org.pushingpixels.flamingo.internal.ui.ribbon
Class CommandButtonLayoutManagerBigFixed
java.lang.Object
org.pushingpixels.flamingo.internal.ui.ribbon.CommandButtonLayoutManagerBigFixed
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener, CommandButtonLayoutManager
public class CommandButtonLayoutManagerBigFixed
- extends java.lang.Object
- implements CommandButtonLayoutManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandButtonLayoutManagerBigFixed
public CommandButtonLayoutManagerBigFixed()
getPreferredIconSize
public int getPreferredIconSize()
- Description copied from interface:
CommandButtonLayoutManager
- Returns the preferred icon size of command buttons which use this layout
manager.
- Specified by:
getPreferredIconSize
in interface CommandButtonLayoutManager
- Returns:
- The preferred icon size of command buttons which use this layout
manager.
getPreferredSize
public java.awt.Dimension getPreferredSize(AbstractCommandButton commandButton)
- Description copied from interface:
CommandButtonLayoutManager
- Returns the preferred size of the specified command button.
- Specified by:
getPreferredSize
in interface CommandButtonLayoutManager
- Parameters:
commandButton
- Command button.
- Returns:
- The preferred size of the specified command button.
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
getKeyTipAnchorCenterPoint
public java.awt.Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
- Description copied from interface:
CommandButtonLayoutManager
- Returns the anchor center point of the key tip of the specified command
button.
- Specified by:
getKeyTipAnchorCenterPoint
in interface CommandButtonLayoutManager
- Parameters:
commandButton
- Command button.
- Returns:
- The anchor center point of the key tip of the specified command
button.
getLayoutInfo
public CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton,
java.awt.Graphics g)
- Description copied from interface:
CommandButtonLayoutManager
- Returns the layout information for the specified command button.
- Specified by:
getLayoutInfo
in interface CommandButtonLayoutManager
- Parameters:
commandButton
- Command button.g
- Graphics context.
- Returns:
- The layout information for the specified command button.