Class CommandButtonLayoutManager.CommandButtonLayoutInfo
- java.lang.Object
-
- org.pushingpixels.flamingo.api.common.CommandButtonLayoutManager.CommandButtonLayoutInfo
-
- Enclosing interface:
- CommandButtonLayoutManager
public static class CommandButtonLayoutManager.CommandButtonLayoutInfo extends Object
Layout information on different visual parts of a single command button.
-
-
Field Summary
Fields Modifier and Type Field Description Rectangle
actionClickArea
The action area.List<CommandButtonLayoutManager.TextLayoutInfo>
extraTextLayoutInfoList
Layout information for the command button extra text (that can span multiple lines).Rectangle
iconRect
Rectangle for the command button icon.boolean
isTextInActionArea
Indication whether the command button text (rectangles intextLayoutInfoList
) belongs in the action area.Rectangle
popupActionRect
Rectangle for the icon associated with thepopupClickArea
.Rectangle
popupClickArea
The popup area.Rectangle
separatorArea
The separator area.CommandButtonLayoutManager.CommandButtonSeparatorOrientation
separatorOrientation
List<CommandButtonLayoutManager.TextLayoutInfo>
textLayoutInfoList
Layout information for the command button text (that can span multiple lines).
-
Constructor Summary
Constructors Constructor Description CommandButtonLayoutInfo()
-
-
-
Field Detail
-
actionClickArea
public Rectangle actionClickArea
The action area. A mouse click in this area will trigger all listeners associated with the command button action modelAbstractCommandButton.addActionListener(java.awt.event.ActionListener)
-
popupClickArea
public Rectangle popupClickArea
The popup area. A mouse click in this area will trigger the listener associated with the command button popup modelJCommandButton.setPopupCallback(org.pushingpixels.flamingo.api.common.popup.PopupPanelCallback)
-
separatorArea
public Rectangle separatorArea
The separator area. If it's not empty, the command button will show a separator betweenactionClickArea
andpopupClickArea
on mouse rollover - depending on the current look-and-feel.
-
separatorOrientation
public CommandButtonLayoutManager.CommandButtonSeparatorOrientation separatorOrientation
-
iconRect
public Rectangle iconRect
Rectangle for the command button icon.
-
textLayoutInfoList
public List<CommandButtonLayoutManager.TextLayoutInfo> textLayoutInfoList
Layout information for the command button text (that can span multiple lines).
-
extraTextLayoutInfoList
public List<CommandButtonLayoutManager.TextLayoutInfo> extraTextLayoutInfoList
Layout information for the command button extra text (that can span multiple lines).
-
popupActionRect
public 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.
-
-