org.opencms.gwt.shared.property
Class CmsClientTemplateBean

java.lang.Object
  extended by org.opencms.gwt.shared.property.CmsClientTemplateBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsClientTemplateBean
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

Sitemap initialization data.

Since:
8.0

Constructor Summary
CmsClientTemplateBean()
          Constructor.
CmsClientTemplateBean(java.lang.String title, java.lang.String description, java.lang.String sitePath, java.lang.String imgPath)
          Constructor.
 
Method Summary
 java.lang.String getDescription()
          Returns the description.
 java.lang.String getImgPath()
          Returns the image path.
static CmsClientTemplateBean getNullTemplate()
          Returns a dummy template object which represents an empty selection.
 java.lang.String getSitePath()
          Returns the site path.
 java.lang.String getTitle()
          Returns the title.
 boolean isShowWeakText()
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsClientTemplateBean

public CmsClientTemplateBean()
Constructor.


CmsClientTemplateBean

public CmsClientTemplateBean(java.lang.String title,
                             java.lang.String description,
                             java.lang.String sitePath,
                             java.lang.String imgPath)
Constructor.

Parameters:
title - the title
description - the description
sitePath - the site path
imgPath - the image path
Method Detail

getNullTemplate

public static CmsClientTemplateBean getNullTemplate()
Returns a dummy template object which represents an empty selection.

Returns:
a dummy template object

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
the description

getImgPath

public java.lang.String getImgPath()
Returns the image path.

Returns:
the image path

getSitePath

public java.lang.String getSitePath()
Returns the site path.

Returns:
the site path

getTitle

public java.lang.String getTitle()
Returns the title.

Returns:
the title

isShowWeakText

public boolean isShowWeakText()
Returns true if the template should be shown with weak text.

Returns:
true if the template should be shown with weak text

setShowWeakText

public void setShowWeakText(boolean showWeakText)
Sets the display of weak text to true or false.

Parameters:
showWeakText - if true, the template should be displayed with weak text