public static class ActionsCommandBarCreator.NMJideButtonFactory extends java.lang.Object implements ActionsCommandBarCreator.ButtonFactory
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
mPopupClosable |
Constructor and Description |
---|
NMJideButtonFactory() |
NMJideButtonFactory(boolean popupClosable) |
Modifier and Type | Method and 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.
|
boolean |
isShowButtonText() |
void |
setShowButtonText(boolean showButtonText) |
public NMJideButtonFactory()
public NMJideButtonFactory(boolean popupClosable)
public boolean isShowButtonText()
public void setShowButtonText(boolean showButtonText)
public javax.swing.AbstractButton createButton(NMStateAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider)
createButton
in interface ActionsCommandBarCreator.ButtonFactory
public javax.swing.AbstractButton createButton(NMAction action, com.nomagic.awt.HelpListener listener, com.nomagic.awt.ActionIconProvider iconProvider)
createButton
in interface ActionsCommandBarCreator.ButtonFactory
protected void initJideButton(com.jidesoft.swing.JideButton jideButton)
jideButton
- button to initialize.