Class CommandButtonLayoutManager.CommandButtonLayoutInfo
- java.lang.Object
-
- org.pushingpixels.radiance.component.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
Fields Modifier and Type Field Description 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 intextLayoutInfoList
) belongs in the action area.java.awt.Rectangle
popupActionRect
Rectangle for the icon associated with thepopupClickArea
.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
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.- See Also:
Command.Builder#setSecondaryContentModel(CommandMenuContentModel)
,BaseCommandButtonPresentationModel.BaseBuilder.setPopupMenuPresentationModel(BaseCommandPopupMenuPresentationModel)
-
separatorArea
public java.awt.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 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.
-
-