Package org.opencms.gwt.shared.property
Class CmsClientTemplateBean
java.lang.Object
org.opencms.gwt.shared.property.CmsClientTemplateBean
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsClientTemplateBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Sitemap initialization data.
- Since:
- 8.0
-
Constructor Summary
ConstructorDescriptionConstructor.CmsClientTemplateBean
(String title, String description, String sitePath, String imgPath) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the description.Returns the image path.static CmsClientTemplateBean
Returns a dummy template object which represents an empty selection.Returns the site path.getTitle()
Returns the title.boolean
Returns true if the template should be shown with weak text.void
setShowWeakText
(boolean showWeakText) Sets the display of weak text to true or false.
-
Constructor Details
-
CmsClientTemplateBean
public CmsClientTemplateBean()Constructor. -
CmsClientTemplateBean
Constructor.- Parameters:
title
- the titledescription
- the descriptionsitePath
- the site pathimgPath
- the image path
-
-
Method Details
-
getNullTemplate
Returns a dummy template object which represents an empty selection.- Returns:
- a dummy template object
-
getDescription
Returns the description.- Returns:
- the description
-
getImgPath
Returns the image path.- Returns:
- the image path
-
getSitePath
Returns the site path.- Returns:
- the site path
-
getTitle
Returns the title.- Returns:
- the title
-
isShowWeakText
Returns true if the template should be shown with weak text.- Returns:
- true if the template should be shown with weak text
-
setShowWeakText
Sets the display of weak text to true or false.- Parameters:
showWeakText
- if true, the template should be displayed with weak text
-