public class CmsListDirectAction extends A_CmsListAction implements I_CmsListDirectAction
EMPTY_MESSAGE, m_id
构造器和说明 |
---|
CmsListDirectAction(java.lang.String id)
Default Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
buttonHtml(CmsWorkplace wp)
Returns the necessary html code.
|
java.lang.String |
confirmationTextHtml()
Generates a confirmation text div tag, to use in lists where all items use
the same confirmation text.
|
java.lang.String |
getColumnForTexts()
Returns the id of the column to use as parameter for the helptext and confirmation message.
|
CmsListItem |
getItem()
Returns the current item.
|
java.lang.String |
helpTextHtml()
Generates a help text div tag, to use in lists where all items use the same help text.
|
protected CmsHtmlIconButtonStyleEnum |
resolveButtonStyle()
Help method to resolve the style of the button.
|
protected java.lang.String |
resolveHelpText(java.util.Locale locale)
Help method to resolve the help text to use.
|
protected java.lang.String |
resolveName(java.util.Locale locale)
Help method to resolve the name to use.
|
protected java.lang.String |
resolveOnClic(java.util.Locale locale)
Help method to resolve the on clic text to use.
|
void |
setColumnForTexts(java.lang.String columnId)
Sets the id of the column to use as parameter for the helptext and confirmation message.
|
void |
setItem(CmsListItem item)
Sets the current item, should be called before the
method. |
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buttonHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
public CmsListDirectAction(java.lang.String id)
id
- unique idprotected java.lang.String resolveHelpText(java.util.Locale locale)
locale
- the used localeprotected java.lang.String resolveOnClic(java.util.Locale locale)
locale
- the used localeprotected java.lang.String resolveName(java.util.Locale locale)
locale
- the used localeprotected CmsHtmlIconButtonStyleEnum resolveButtonStyle()
public java.lang.String buttonHtml(CmsWorkplace wp)
I_CmsHtmlIconButton
buttonHtml
在接口中 I_CmsHtmlIconButton
wp
- the jsp page to write the code toI_CmsHtmlIconButton.buttonHtml(CmsWorkplace)
public java.lang.String confirmationTextHtml()
I_CmsListDirectAction
confirmationTextHtml
在接口中 I_CmsListDirectAction
I_CmsListDirectAction.confirmationTextHtml()
public java.lang.String getColumnForTexts()
I_CmsListDirectAction
getColumnForTexts
在接口中 I_CmsListDirectAction
I_CmsListDirectAction.getColumnForTexts()
public CmsListItem getItem()
I_CmsListDirectAction
getItem
在接口中 I_CmsListDirectAction
I_CmsListDirectAction.getItem()
public java.lang.String helpTextHtml()
I_CmsListDirectAction
helpTextHtml
在接口中 I_CmsListDirectAction
I_CmsListDirectAction.helpTextHtml()
public void setColumnForTexts(java.lang.String columnId)
I_CmsListDirectAction
setColumnForTexts
在接口中 I_CmsListDirectAction
columnId
- the id of the column to useI_CmsListDirectAction.setColumnForTexts(java.lang.String)
public void setItem(CmsListItem item)
I_CmsListDirectAction
I_CmsHtmlIconButton.buttonHtml(org.opencms.workplace.CmsWorkplace)
method.setItem
在接口中 I_CmsListDirectAction
item
- the itemI_CmsListDirectAction.setItem(org.opencms.workplace.list.CmsListItem)