org.pushingpixels.flamingo.api.common
Class CommandButtonLayoutManager.CommandButtonLayoutInfo

java.lang.Object
  extended by org.pushingpixels.flamingo.api.common.CommandButtonLayoutManager.CommandButtonLayoutInfo
Enclosing interface:
CommandButtonLayoutManager

public static class CommandButtonLayoutManager.CommandButtonLayoutInfo
extends java.lang.Object

Layout information on different visual parts of a single command button.


Field Summary
 java.awt.Rectangle actionClickArea
          The action area.
 java.util.List<CommandButtonLayoutManager.TextLayoutInfo> extraTextLayoutInfoList
          Layout information for the command button extra text (that can span multiple lines).
 java.awt.Rectangle iconRect
          Rectangle for the command button icon.
 boolean isTextInActionArea
          Indication whether the command button text (rectangles in textLayoutInfoList) belongs in the action area.
 java.awt.Rectangle popupActionRect
          Rectangle for the icon associated with the popupClickArea.
 java.awt.Rectangle popupClickArea
          The popup area.
 java.awt.Rectangle separatorArea
          The separator area.
 CommandButtonLayoutManager.CommandButtonSeparatorOrientation separatorOrientation
           
 java.util.List<CommandButtonLayoutManager.TextLayoutInfo> textLayoutInfoList
          Layout information for the command button text (that can span multiple lines).
 
Constructor Summary
CommandButtonLayoutManager.CommandButtonLayoutInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionClickArea

public java.awt.Rectangle actionClickArea
The action area. A mouse click in this area will trigger all listeners associated with the command button action model AbstractCommandButton.addActionListener(java.awt.event.ActionListener)


popupClickArea

public java.awt.Rectangle popupClickArea
The popup area. A mouse click in this area will trigger the listener associated with the command button popup model JCommandButton.setPopupCallback(org.pushingpixels.flamingo.api.common.popup.PopupPanelCallback)


separatorArea

public java.awt.Rectangle separatorArea
The separator area. If it's not empty, the command button will show a separator between actionClickArea and popupClickArea on mouse rollover - depending on the current look-and-feel.


separatorOrientation

public CommandButtonLayoutManager.CommandButtonSeparatorOrientation separatorOrientation

iconRect

public java.awt.Rectangle iconRect
Rectangle for the command button icon.


textLayoutInfoList

public java.util.List<CommandButtonLayoutManager.TextLayoutInfo> textLayoutInfoList
Layout information for the command button text (that can span multiple lines).


extraTextLayoutInfoList

public java.util.List<CommandButtonLayoutManager.TextLayoutInfo> extraTextLayoutInfoList
Layout information for the command button extra text (that can span multiple lines).


popupActionRect

public java.awt.Rectangle popupActionRect
Rectangle for the icon associated with the popupClickArea. This icon is usually a single or double arrow indicating that the command button has a popup area.


isTextInActionArea

public boolean isTextInActionArea
Indication whether the command button text (rectangles in textLayoutInfoList) belongs in the action area.

Constructor Detail

CommandButtonLayoutManager.CommandButtonLayoutInfo

public CommandButtonLayoutManager.CommandButtonLayoutInfo()