|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.workplace.tools.A_CmsHtmlIconButton
org.opencms.workplace.list.A_CmsListAction
public abstract class A_CmsListAction
The default skeleton for a list action.
| Field Summary |
|---|
| Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton |
|---|
EMPTY_MESSAGE, m_id |
| Constructor Summary | |
|---|---|
A_CmsListAction(String id)
Default Constructor. |
|
| Method Summary | |
|---|---|
static String |
defaultConfirmationHtml(String confId,
String confText)
Generates html for the confirmation message when having one confirmation message for several actions. |
CmsMessageContainer |
getConfirmationMessage()
Returns an optional confirmation message for the action. |
String |
getListId()
Returns the id of the associated list. |
void |
setConfirmationMessage(CmsMessageContainer confirmationMsg)
Sets the confirmation message. |
void |
setListId(String listId)
Sets the list id. |
| Methods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton |
|---|
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton |
|---|
buttonHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible |
| Constructor Detail |
|---|
public A_CmsListAction(String id)
id - unique id| Method Detail |
|---|
public static String defaultConfirmationHtml(String confId,
String confText)
confId - the id of the confirmation messageconfText - the confirmation message
public CmsMessageContainer getConfirmationMessage()
I_CmsListActionIt will be escaped for usage in java script code.
getConfirmationMessage in interface I_CmsListActionI_CmsListAction.getConfirmationMessage()public String getListId()
I_CmsListAction
getListId in interface I_CmsListActionI_CmsListAction.getListId()public void setConfirmationMessage(CmsMessageContainer confirmationMsg)
I_CmsListAction
setConfirmationMessage in interface I_CmsListActionconfirmationMsg - the confirmation message to setI_CmsListAction.setConfirmationMessage(org.opencms.i18n.CmsMessageContainer)public void setListId(String listId)
I_CmsListAction
setListId in interface I_CmsListActionlistId - the id of the list to setI_CmsListAction.setListId(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||