|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.coderight.jazz.form.FormField<Boolean>
nl.coderight.jazz.form.field.button.PushButton
nl.coderight.jazz.form.field.button.MenuButton
public class MenuButton
Implementation of a PushButton with a popup menu.
| Field Summary |
|---|
| Fields inherited from class nl.coderight.jazz.form.FormField |
|---|
Config |
| Constructor Summary | |
|---|---|
MenuButton(Action action)
|
|
MenuButton(Icon icon)
|
|
MenuButton(String text)
|
|
| Method Summary | |
|---|---|
protected AbstractButton |
createField()
|
void |
setOnClickEvent(Event onClickEvent)
|
void |
setPopupMenu(PopupMenu menu)
Sets field popup menu. |
| Methods inherited from class nl.coderight.jazz.form.field.button.PushButton |
|---|
getDisabledIcon, getField, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getMnemonic, getMnemonicIndex, getPressedIcon, getRolloverIcon, getText, getVerticalAlignment, getVerticalTextPosition, hideActionText, isRolloverEnabled, setDisabledIcon, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setPressedIcon, setRolloverEnabled, setRolloverIcon, setText, setVerticalAlignment, setVerticalTextPosition |
| Methods inherited from class nl.coderight.jazz.form.FormField |
|---|
dispatchEvent, dispose, focus, focusNextField, focusPreviousField, getBackground, getBindID, getBorder, getComponent, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getPreferredSize, getToolTipText, getValue, hasFocus, isBindable, isChanged, isEnabled, isFocusable, isOpaque, isReadonly, isScrollable, isShowing, isValueChanged, isVisible, onChange, onClick, onDoubleClick, onFocusGained, onFocusLost, onMouseEnter, onMouseLeave, onPopup, registerKeyboardAction, setBackground, setBindID, setBorder, setChanged, setComponent, setCursor, setDataBinding, setEnabled, setFocusable, setForeground, setOnFocusGainedEvent, setOnFocusLostEvent, setOpaque, setPreferredSize, setReadonly, setToolTipText, setValue, setVisible, translate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MenuButton(Icon icon)
public MenuButton(String text)
public MenuButton(Action action)
| Method Detail |
|---|
protected AbstractButton createField()
createField in class PushButtonpublic void setOnClickEvent(Event onClickEvent)
setOnClickEvent in class PushButtonpublic final void setPopupMenu(PopupMenu menu)
FormField
setPopupMenu in class FormField<Boolean>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||