Interface CommandButtonLayoutManager

  • All Superinterfaces:
    java.util.EventListener, java.beans.PropertyChangeListener


    public interface CommandButtonLayoutManager
    extends java.beans.PropertyChangeListener
    Definition of a layout manager for JCommandButtons.
    • 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.
      • propertyChange

        default void propertyChange​(java.beans.PropertyChangeEvent evt)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener