Package com.nomagic.actions
Class ActionsCommandBarCreator.NMJideButtonFactory
java.lang.Object
com.nomagic.actions.ActionsCommandBarCreator.NMJideButtonFactory
- All Implemented Interfaces:
ActionsCommandBarCreator.ButtonFactory
- Enclosing class:
- ActionsCommandBarCreator
public static class ActionsCommandBarCreator.NMJideButtonFactory
extends Object
implements ActionsCommandBarCreator.ButtonFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateButton
(NMAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider) createButton
(NMStateAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider) createButton
(NMTriStateAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider) protected void
initJideButton
(com.jidesoft.swing.JideButton jideButton) Initialize created JideButton.boolean
void
setShowButtonText
(boolean showButtonText)
-
Constructor Details
-
NMJideButtonFactory
public NMJideButtonFactory() -
NMJideButtonFactory
public NMJideButtonFactory(boolean popupClosable)
-
-
Method Details
-
isShowButtonText
public boolean isShowButtonText() -
setShowButtonText
public void setShowButtonText(boolean showButtonText) -
createButton
public AbstractButton createButton(NMStateAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider) - Specified by:
createButton
in interfaceActionsCommandBarCreator.ButtonFactory
-
createButton
public AbstractButton createButton(NMTriStateAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider) - Specified by:
createButton
in interfaceActionsCommandBarCreator.ButtonFactory
-
createButton
public AbstractButton createButton(NMAction action, @CheckForNull com.nomagic.awt.HelpListener listener, @CheckForNull com.nomagic.awt.ActionIconProvider iconProvider) - Specified by:
createButton
in interfaceActionsCommandBarCreator.ButtonFactory
-
initJideButton
protected void initJideButton(com.jidesoft.swing.JideButton jideButton) Initialize created JideButton.- Parameters:
jideButton
- button to initialize.
-