Interface CommandButtonLayoutManager
-
- All Superinterfaces:
java.util.EventListener,java.beans.PropertyChangeListener
public interface CommandButtonLayoutManager extends java.beans.PropertyChangeListenerDefinition of a layout manager forJCommandButtons.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCommandButtonLayoutManager.CommandButtonLayoutInfoLayout information on different visual parts of a single command button.static classCommandButtonLayoutManager.CommandButtonSeparatorOrientationEnumerates the available values for separator orientations.static classCommandButtonLayoutManager.TextLayoutInfoLayout information on a single line of text.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.awt.PointgetActionKeyTipAnchorCenterPoint(JCommandButton commandButton)Returns the anchor center point of the action key tip of the specified command button.CommandButtonLayoutManager.CommandButtonLayoutInfogetLayoutInfo(JCommandButton commandButton)Returns the layout information for the specified command button.java.awt.PointgetPopupKeyTipAnchorCenterPoint(JCommandButton commandButton)Returns the anchor center point of the popup key tip of the specified command button.intgetPreferredIconSize(JCommandButton commandButton)Returns the preferred icon size of the specified command button when it uses this layout manager.java.awt.DimensiongetPreferredSize(JCommandButton commandButton)Returns the preferred size of the specified command button when it uses this layout manager.default voidpropertyChange(java.beans.PropertyChangeEvent evt)
-
-
-
Method Detail
-
getPreferredSize
java.awt.Dimension getPreferredSize(JCommandButton commandButton)
Returns the preferred size of the specified command button when it uses this layout manager.- Parameters:
commandButton- Command button.- Returns:
- The preferred size of the specified command button when it uses this layout manager.
-
getPreferredIconSize
int getPreferredIconSize(JCommandButton commandButton)
Returns the preferred icon size of the specified command button when it uses this layout manager.- Parameters:
commandButton- Command button.- Returns:
- The preferred icon size of the specified command button when it uses this layout manager.
-
getActionKeyTipAnchorCenterPoint
java.awt.Point getActionKeyTipAnchorCenterPoint(JCommandButton commandButton)
Returns the anchor center point of the action key tip of the specified command button.- Parameters:
commandButton- Command button.- Returns:
- The anchor center point of the action key tip of the specified command button.
-
getPopupKeyTipAnchorCenterPoint
java.awt.Point getPopupKeyTipAnchorCenterPoint(JCommandButton commandButton)
Returns the anchor center point of the popup key tip of the specified command button.- Parameters:
commandButton- Command button.- Returns:
- The anchor center point of the popup key tip of the specified command button.
-
getLayoutInfo
CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(JCommandButton commandButton)
Returns the layout information for the specified command button.- Parameters:
commandButton- Command button.- Returns:
- The layout information for the specified command button.
-
propertyChange
default void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
-