|
|||||||||||
| 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
org.opencms.workplace.list.CmsListDirectAction
org.opencms.workplace.list.A_CmsListToggleAction
Abstract implementation of a toggle action for a html list.
You have to extend this class and implement the method.selectAction()
| Field Summary |
| Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton |
EMPTY_MESSAGE, m_id |
| Constructor Summary | |
protected |
A_CmsListToggleAction(String id)
Default Constructor. |
| Method Summary | |
String |
getColumn()
Returns the id of the column to use as parameter for the helptext and confirmation message. |
CmsMessageContainer |
getConfirmationMessage()
Returns an optional confirmation message for the action. |
CmsMessageContainer |
getHelpText()
Returns the help text. |
String |
getIconPath()
Returns the path to the icon. |
String |
getId()
Returns the id of the html component. |
CmsMessageContainer |
getName()
Returns the display name. |
boolean |
isEnabled()
Returns if enabled or disabled. |
abstract I_CmsListDirectAction |
selectAction()
Selects and sets the current action. |
| Methods inherited from class org.opencms.workplace.list.CmsListDirectAction |
buttonHtml, confirmationTextHtml, getItem, helpTextHtml, setColumn, setItem |
| Methods inherited from class org.opencms.workplace.list.A_CmsListAction |
defaultConfirmationHtml, getListId, setConfirmationMessage, setListId |
| Methods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton |
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, setEnabled, setHelpText, setIconPath, setName |
| 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.list.I_CmsListAction |
getListId, setConfirmationMessage, setListId |
| Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton |
setEnabled, setHelpText, setIconPath, setName |
| Constructor Detail |
protected A_CmsListToggleAction(String id)
id - unique id| Method Detail |
public String getColumn()
I_CmsListDirectAction
getColumn in interface I_CmsListDirectActiongetColumn in class CmsListDirectActionCmsListDirectAction.getColumn()public CmsMessageContainer getConfirmationMessage()
I_CmsListActionIt will be escaped for usage in java script code.
getConfirmationMessage in interface I_CmsListActiongetConfirmationMessage in class A_CmsListActionA_CmsListAction.getConfirmationMessage()public CmsMessageContainer getHelpText()
I_CmsHtmlIconButton
getHelpText in interface I_CmsHtmlIconButtongetHelpText in class A_CmsHtmlIconButtonI_CmsHtmlIconButton.getHelpText()public String getIconPath()
I_CmsHtmlIconButton
getIconPath in interface I_CmsHtmlIconButtongetIconPath in class A_CmsHtmlIconButtonI_CmsHtmlIconButton.getIconPath()public String getId()
I_CmsHtmlIconButton
getId in interface I_CmsHtmlIconButtongetId in class A_CmsHtmlIconButtonA_CmsHtmlIconButton.getId()public CmsMessageContainer getName()
I_CmsHtmlIconButton
getName in interface I_CmsHtmlIconButtongetName in class A_CmsHtmlIconButtonI_CmsHtmlIconButton.getName()public boolean isEnabled()
I_CmsHtmlIconButton
isEnabled in interface I_CmsHtmlIconButtonisEnabled in class A_CmsHtmlIconButtonA_CmsHtmlIconButton.isEnabled()public abstract I_CmsListDirectAction selectAction()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||