public class CmsQuickLaunchData extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Modifier | Constructor and Description |
---|---|
protected |
CmsQuickLaunchData()
Default constructor for serialization.
|
|
CmsQuickLaunchData(java.lang.String defaultUrl,
java.lang.String title,
java.lang.String iconUrl,
java.lang.String buttonStyle,
java.lang.String errorTitle,
java.lang.String errorMessage,
boolean legacy,
boolean reload)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getButtonStyle()
Returns the additional button style classes.
|
java.lang.String |
getDefaultUrl()
Returns the defaultUrl.
|
java.lang.String |
getErrorMessage()
Gets the error message.
|
java.lang.String |
getErrorTitle()
Gets the title for the error alert box.
|
java.lang.String |
getIconUrl()
Returns the iconUrl.
|
java.lang.String |
getTitle()
Returns the title.
|
boolean |
isLegacy()
Returns true if this item opens a legacy dialog.
|
boolean |
isReload()
Return true if the page should be reloaded when this is selected.
|
void |
setReload(boolean reload)
Sets the 'reload' flag.
|
public CmsQuickLaunchData(java.lang.String defaultUrl, java.lang.String title, java.lang.String iconUrl, java.lang.String buttonStyle, java.lang.String errorTitle, java.lang.String errorMessage, boolean legacy, boolean reload)
defaultUrl
- the default URLtitle
- the titleiconUrl
- the icon URLbuttonStyle
- the additional button style classeserrorTitle
- the title for the error alert boxerrorMessage
- the content for the error alert boxlegacy
- true if this is a legacy dialogreload
- true if the page should just be reloaded when this is selectedprotected CmsQuickLaunchData()
public java.lang.String getButtonStyle()
public java.lang.String getDefaultUrl()
public java.lang.String getErrorMessage()
public java.lang.String getErrorTitle()
public java.lang.String getIconUrl()
public java.lang.String getTitle()
public boolean isLegacy()
public boolean isReload()
public void setReload(boolean reload)
reload
- the new value for the 'reload' flag