|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.widgets.A_CmsWidget.CmsDummyWidgetDialog
public class A_CmsWidget.CmsDummyWidgetDialog
Inner class to generate the I_CmsWidgetDialog.
| Constructor Summary | |
|---|---|
A_CmsWidget.CmsDummyWidgetDialog(java.util.Locale locale,
CmsMessages message)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
button(java.lang.String href,
java.lang.String target,
java.lang.String image,
java.lang.String label,
int type)
Generates a button for the widget dialog. |
java.lang.String |
buttonBar(int segment)
Returns the html for a button bar. |
java.lang.String |
buttonBarHorizontalLine()
Generates a horizontal button bar separator line with maximum width. |
java.lang.String |
buttonBarSeparator(int leftPixel,
int rightPixel)
Generates a button bar separator. |
java.lang.String |
buttonBarSpacer(int width)
Returns the html for an invisible spacer between button bar contents like buttons, labels, etc. |
java.lang.String |
buttonBarStartTab(int leftPixel,
int rightPixel)
Generates a button bar starter tab. |
java.lang.String |
dialogHorizontalSpacer(int width)
Builds an invisible horiziontal spacer with the specified width. |
int |
getButtonStyle()
Returns the style setting to use when generating buttons for this widget dialog. |
java.util.Set<java.lang.String> |
getHelpMessageIds()
Returns a set of help messages ids that are already included on the widget dialog. |
java.util.Locale |
getLocale()
Returns the current users locale setting. |
CmsMessages |
getMessages()
Returns a messages object used to render localized keys for the widget dialog. |
java.lang.String |
getUserAgent()
Returns the "user-agent" of the current request, or null in case no
request is available. |
boolean |
useNewStyle()
Tests if we are working with the new administration dialog style. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public A_CmsWidget.CmsDummyWidgetDialog(java.util.Locale locale,
CmsMessages message)
locale - the locale of the dialogmessage - the message of the dialog| Method Detail |
|---|
public java.lang.String button(java.lang.String href,
java.lang.String target,
java.lang.String image,
java.lang.String label,
int type)
I_CmsWidgetDialog
button in interface I_CmsWidgetDialoghref - the href link for the button, if none is given the button will be disabledtarget - the href link target for the button, if none is given the target will be same windowimage - the image name for the button, skin path will be automattically added as prefixlabel - the label for the text of the buttontype - 0: image only (default), 1: image and text, 2: text only
I_CmsWidgetDialog.button(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)public java.lang.String buttonBar(int segment)
I_CmsWidgetDialog
buttonBar in interface I_CmsWidgetDialogsegment - the HTML segment (START / END)
I_CmsWidgetDialog.buttonBar(int)public java.lang.String buttonBarHorizontalLine()
I_CmsWidgetDialog
buttonBarHorizontalLine in interface I_CmsWidgetDialogI_CmsWidgetDialog.buttonBarHorizontalLine()
public java.lang.String buttonBarSeparator(int leftPixel,
int rightPixel)
I_CmsWidgetDialog
buttonBarSeparator in interface I_CmsWidgetDialogleftPixel - the amount of pixel left to the separatorrightPixel - the amount of pixel right to the separator
I_CmsWidgetDialog.buttonBarSeparator(int, int)public java.lang.String buttonBarSpacer(int width)
I_CmsWidgetDialog
buttonBarSpacer in interface I_CmsWidgetDialogwidth - the width of the invisible spacer
I_CmsWidgetDialog.buttonBarSpacer(int)
public java.lang.String buttonBarStartTab(int leftPixel,
int rightPixel)
I_CmsWidgetDialog
buttonBarStartTab in interface I_CmsWidgetDialogleftPixel - the amount of pixel left to the starterrightPixel - the amount of pixel right to the starter
I_CmsWidgetDialog.buttonBarStartTab(int, int)public java.lang.String dialogHorizontalSpacer(int width)
I_CmsWidgetDialog
dialogHorizontalSpacer in interface I_CmsWidgetDialogwidth - the width of the spacer in pixels
I_CmsWidgetDialog.dialogHorizontalSpacer(int)public int getButtonStyle()
I_CmsWidgetDialog
getButtonStyle in interface I_CmsWidgetDialogI_CmsWidgetDialog.getButtonStyle()public java.util.Set<java.lang.String> getHelpMessageIds()
I_CmsWidgetDialog
This is used to prevent the occurence of multiple html div id's with the same
value when generating the help texts. For valid html, each id can be used only once.
getHelpMessageIds in interface I_CmsWidgetDialogI_CmsWidgetDialog.getHelpMessageIds()public java.util.Locale getLocale()
I_CmsWidgetDialog
getLocale in interface I_CmsWidgetDialogI_CmsWidgetDialog.getLocale()public CmsMessages getMessages()
I_CmsWidgetDialog
getMessages in interface I_CmsWidgetDialogI_CmsWidgetDialog.getMessages()public java.lang.String getUserAgent()
I_CmsWidgetDialognull in case no
request is available.
getUserAgent in interface I_CmsWidgetDialogI_CmsWidgetDialog.getUserAgent()public boolean useNewStyle()
I_CmsWidgetDialogThis param is not intended for external use.
useNewStyle in interface I_CmsWidgetDialogtrue if using the new styleI_CmsWidgetDialog.useNewStyle()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||