Class CommandButtonLayoutManager.CommandButtonLayoutInfo
- java.lang.Object
-
- org.pushingpixels.flamingo.api.common.CommandButtonLayoutManager.CommandButtonLayoutInfo
-
- Enclosing interface:
- CommandButtonLayoutManager
public static class CommandButtonLayoutManager.CommandButtonLayoutInfo extends java.lang.ObjectLayout information on different visual parts of a single command button.
-
-
Field Summary
Fields Modifier and Type Field Description java.awt.RectangleactionClickAreaThe action area.java.util.List<CommandButtonLayoutManager.TextLayoutInfo>extraTextLayoutInfoListLayout information for the command button extra text (that can span multiple lines).java.awt.RectangleiconRectRectangle for the command button icon.booleanisTextInActionAreaIndication whether the command button text (rectangles intextLayoutInfoList) belongs in the action area.java.awt.RectanglepopupActionRectRectangle for the icon associated with thepopupClickArea.java.awt.RectanglepopupClickAreaThe popup area.java.awt.RectangleseparatorAreaThe separator area.CommandButtonLayoutManager.CommandButtonSeparatorOrientationseparatorOrientationjava.util.List<CommandButtonLayoutManager.TextLayoutInfo>textLayoutInfoListLayout information for the command button text (that can span multiple lines).
-
Constructor Summary
Constructors Constructor Description CommandButtonLayoutInfo()
-
-
-
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 modelJCommandButton.addCommandListener(CommandAction)
-
popupClickArea
public java.awt.Rectangle popupClickArea
The popup area. A mouse click in this area will show the popup content associated with the command button.
-
separatorArea
public java.awt.Rectangle separatorArea
The separator area. If it's not empty, the command button will show a separator betweenactionClickAreaandpopupClickAreaon 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 thepopupClickArea. 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 intextLayoutInfoList) belongs in the action area.
-
-