FlamingoCommand.FlamingoCommandBuilder, RibbonApplicationMenuPrimaryCommand.RibbonApplicationMenuPrimaryCommandBuilderpublic abstract static class FlamingoCommand.BaseFlamingoCommandBuilder<T extends FlamingoCommand,B extends FlamingoCommand.BaseFlamingoCommandBuilder>
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected java.awt.event.ActionListener |
action |
|
protected java.lang.String |
actionKeyTip |
|
protected RichTooltip |
actionRichTooltip |
|
protected int |
autoRepeatInitialInterval |
|
protected int |
autoRepeatSubsequentInterval |
|
protected org.pushingpixels.neon.icon.ResizableIcon |
disabledIcon |
|
protected java.lang.String |
extraText |
|
protected boolean |
hasAutoRepeatIntervalsSet |
|
protected org.pushingpixels.neon.icon.ResizableIcon |
icon |
|
protected boolean |
isAutoRepeatAction |
|
protected boolean |
isEnabled |
|
protected boolean |
isFireActionOnRollover |
|
protected boolean |
isTitleClickAction |
|
protected boolean |
isTitleClickPopup |
|
protected boolean |
isToggle |
|
protected boolean |
isToggleSelected |
|
protected PopupPanelCallback |
popupCallback |
|
protected java.lang.String |
popupKeyTip |
|
protected JCommandButton.CommandButtonPopupOrientationKind |
popupOrientationKind |
|
protected RichTooltip |
popupRichTooltip |
|
protected java.lang.String |
title |
|
protected FlamingoCommand.FlamingoCommandToggleGroup |
toggleGroup |
| Constructor | Description |
|---|---|
BaseFlamingoCommandBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
configureBaseCommand(FlamingoCommand command) |
|
B |
inToggleGroup(FlamingoCommand.FlamingoCommandToggleGroup toggleGroup) |
|
B |
setAction(java.awt.event.ActionListener action) |
|
B |
setActionKeyTip(java.lang.String actionKeyTip) |
|
B |
setActionRichTooltip(RichTooltip actionRichTooltip) |
|
B |
setAutoRepeatAction(boolean isAutoRepeatAction) |
|
B |
setAutoRepeatActionIntervals(int initial,
int subsequent) |
|
B |
setDisabledIcon(org.pushingpixels.neon.icon.ResizableIcon disabledIcon) |
|
B |
setEnabled(boolean isEnabled) |
|
B |
setExtraText(java.lang.String extraText) |
|
B |
setFireActionOnRollover(boolean isFireActionOnRollover) |
|
B |
setIcon(org.pushingpixels.neon.icon.ResizableIcon icon) |
|
B |
setPopupCallback(PopupPanelCallback popupCallback) |
|
B |
setPopupKeyTip(java.lang.String popupKeyTip) |
|
B |
setPopupOrientationKind(JCommandButton.CommandButtonPopupOrientationKind popupOrientationKind) |
|
B |
setPopupRichTooltip(RichTooltip popupRichTooltip) |
|
B |
setTitle(java.lang.String title) |
|
B |
setTitleClickAction() |
|
B |
setTitleClickPopup() |
|
B |
setToggle() |
|
B |
setToggleSelected(boolean toggleSelected) |
protected java.lang.String title
protected org.pushingpixels.neon.icon.ResizableIcon icon
protected org.pushingpixels.neon.icon.ResizableIcon disabledIcon
protected java.lang.String extraText
protected java.awt.event.ActionListener action
protected RichTooltip actionRichTooltip
protected java.lang.String actionKeyTip
protected PopupPanelCallback popupCallback
protected RichTooltip popupRichTooltip
protected java.lang.String popupKeyTip
protected JCommandButton.CommandButtonPopupOrientationKind popupOrientationKind
protected boolean isTitleClickAction
protected boolean isTitleClickPopup
protected boolean isEnabled
protected boolean isToggle
protected boolean isToggleSelected
protected FlamingoCommand.FlamingoCommandToggleGroup toggleGroup
protected boolean isAutoRepeatAction
protected boolean hasAutoRepeatIntervalsSet
protected int autoRepeatInitialInterval
protected int autoRepeatSubsequentInterval
protected boolean isFireActionOnRollover
protected void configureBaseCommand(FlamingoCommand command)
public B setTitle(java.lang.String title)
public B setIcon(org.pushingpixels.neon.icon.ResizableIcon icon)
public B setDisabledIcon(org.pushingpixels.neon.icon.ResizableIcon disabledIcon)
public B setExtraText(java.lang.String extraText)
public B setAction(java.awt.event.ActionListener action)
public B setActionRichTooltip(RichTooltip actionRichTooltip)
public B setActionKeyTip(java.lang.String actionKeyTip)
public B setPopupCallback(PopupPanelCallback popupCallback)
public B setPopupRichTooltip(RichTooltip popupRichTooltip)
public B setPopupKeyTip(java.lang.String popupKeyTip)
public B setPopupOrientationKind(JCommandButton.CommandButtonPopupOrientationKind popupOrientationKind)
public B setTitleClickAction()
public B setTitleClickPopup()
public B setEnabled(boolean isEnabled)
public B setToggle()
public B setToggleSelected(boolean toggleSelected)
public B inToggleGroup(FlamingoCommand.FlamingoCommandToggleGroup toggleGroup)
public B setAutoRepeatAction(boolean isAutoRepeatAction)
public B setAutoRepeatActionIntervals(int initial, int subsequent)
public B setFireActionOnRollover(boolean isFireActionOnRollover)