Class CommandButtonLayoutManager.CommandButtonLayoutInfo
java.lang.Object
org.pushingpixels.flamingo.api.common.CommandButtonLayoutManager.CommandButtonLayoutInfo
- Enclosing interface:
CommandButtonLayoutManager
Layout information on different visual parts of a single command button.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe action area.Layout information for the command button extra text (that can span multiple lines).Rectangle for the command button icon.boolean
Indication whether the command button text (rectangles intextLayoutInfoList
) belongs in the action area.Rectangle for the icon associated with thepopupClickArea
.The popup area.The separator area.Layout information for the command button text (that can span multiple lines). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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
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
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
-
iconRect
Rectangle for the command button icon. -
textLayoutInfoList
Layout information for the command button text (that can span multiple lines). -
extraTextLayoutInfoList
Layout information for the command button extra text (that can span multiple lines). -
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 isTextInActionAreaIndication whether the command button text (rectangles intextLayoutInfoList
) belongs in the action area.
-
-
Constructor Details
-
CommandButtonLayoutInfo
public CommandButtonLayoutInfo()
-