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 java.lang.Object implements ActionsCommandBarCreator.ButtonFactory
-
-
Constructor Summary
Constructors Constructor Description NMJideButtonFactory()
NMJideButtonFactory(boolean popupClosable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.AbstractButton
createButton(NMAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider)
javax.swing.AbstractButton
createButton(NMStateAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider)
javax.swing.AbstractButton
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
isShowButtonText()
void
setShowButtonText(boolean showButtonText)
-
-
-
Method Detail
-
isShowButtonText
public boolean isShowButtonText()
-
setShowButtonText
public void setShowButtonText(boolean showButtonText)
-
createButton
public javax.swing.AbstractButton createButton(NMStateAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider)
- Specified by:
createButton
in interfaceActionsCommandBarCreator.ButtonFactory
-
createButton
public javax.swing.AbstractButton createButton(NMTriStateAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider)
- Specified by:
createButton
in interfaceActionsCommandBarCreator.ButtonFactory
-
createButton
public javax.swing.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.
-
-