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
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
mPopupClosable
private boolean
mShowButtonText
-
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)
protected void
initJideButton(com.jidesoft.swing.JideButton jideButton)
Initialize created JideButton.private void
internalInitButton(com.jidesoft.swing.JideButton jideButton, com.nomagic.awt.HelpInformationProvider helpInformationProvider, com.nomagic.awt.HelpListener listener)
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(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.
-
internalInitButton
private void internalInitButton(com.jidesoft.swing.JideButton jideButton, com.nomagic.awt.HelpInformationProvider helpInformationProvider, com.nomagic.awt.HelpListener listener)
-
-