|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.gx.webmanager.springmvc.panel.PanelButtonImpl
public class PanelButtonImpl
button definitions for panels.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface nl.gx.webmanager.springmvc.PanelButton |
|---|
PanelButton.BUTTONTYPE |
| Constructor Summary | |
|---|---|
PanelButtonImpl(PanelButton.BUTTONTYPE buttonType)
create a enabled panel button of the given type. |
|
PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
boolean disabled)
create a panel button of the given parameters. |
|
PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey)
create a panel button of the given parameters. |
|
PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey,
boolean disabled)
create a panel button of the given parameters. |
|
PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey,
java.lang.String id)
create a panel button of the given parameters. |
|
PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey,
java.lang.String id,
boolean disabled)
create a panel button of the given parameters. |
|
PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey,
java.lang.String id,
boolean disabled,
java.lang.String action)
Create a panel button of the given parameters. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Returns action for the doPanelViewSubmit function in the generated HTML INPUT Tag. |
PanelButton.BUTTONTYPE |
getButtonType()
Get the buttonType. |
boolean |
getDisabled()
return the button enabled state. |
java.lang.String |
getId()
get the id. |
java.lang.String |
getMessageKey()
get the messageKey. |
void |
setAction(java.lang.String action)
Set action for the doPanelViewSubmit function in the generated HTML INPUT Tag. |
void |
setDisabled(boolean disabled)
set the button enabled state. |
void |
setId(java.lang.String id)
set the id. |
void |
setMessageKey(java.lang.String messageKey)
set the messageKey. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PanelButtonImpl(PanelButton.BUTTONTYPE buttonType)
buttonType - buttonType
public PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
boolean disabled)
buttonType - buttonTypedisabled - true of false
public PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey)
buttonType - buttonTypemessageKey - messageKey from the resourcebundle, if null default is used (see setButtonType())
public PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey,
boolean disabled)
buttonType - buttonTypemessageKey - messageKey from the resourcebundle, if null default is used (see setButtonType())disabled - true of false
public PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey,
java.lang.String id)
buttonType - buttonTypemessageKey - messageKey from the resourcebundle, if null default is used (see setButtonType())id - if null default is used (see setButtonType())
public PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey,
java.lang.String id,
boolean disabled)
buttonType - buttonTypemessageKey - messageKey from the resourcebundle, if null default is used (see setButtonType())id - if null default is used (see setButtonType())disabled - true of false
public PanelButtonImpl(PanelButton.BUTTONTYPE buttonType,
java.lang.String messageKey,
java.lang.String id,
boolean disabled,
java.lang.String action)
buttonType - buttonTypemessageKey - messageKey from the resourcebundle, if null default is used
(see setButtonType())id - if null default is used (see setButtonType())disabled - true of falseaction - Action for the doPanelViewSubmit function in the generated
HTML INPUT Tag| Method Detail |
|---|
public PanelButton.BUTTONTYPE getButtonType()
PanelButton
getButtonType in interface PanelButtonpublic void setMessageKey(java.lang.String messageKey)
PanelButton
setMessageKey in interface PanelButtonmessageKey - messageKeypublic java.lang.String getMessageKey()
PanelButton
getMessageKey in interface PanelButtonpublic void setId(java.lang.String id)
PanelButton
setId in interface PanelButtonid - idpublic java.lang.String getId()
PanelButton
getId in interface PanelButtonpublic void setDisabled(boolean disabled)
PanelButton
setDisabled in interface PanelButtondisabled - true/falsepublic boolean getDisabled()
PanelButton
getDisabled in interface PanelButtonpublic java.lang.String getAction()
PanelButton
getAction in interface PanelButtonpublic void setAction(java.lang.String action)
PanelButton
setAction in interface PanelButtonaction - The action to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||