Package org.opencms.gwt.shared
Class CmsClientVariantInfo
java.lang.Object
org.opencms.gwt.shared.CmsClientVariantInfo
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsClientVariantInfo
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable
Client-side bean which holds information about a client variant of a template context.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the internal name.Gets the nice name.Gets the parameters.int
Gets the screen height.int
Gets the screen width.
-
Constructor Details
-
CmsClientVariantInfo
public CmsClientVariantInfo(String name, String niceName, int screenWidth, int screenHeight, Map<String, String> parameters) Creates a new instance.- Parameters:
name
-niceName
-screenWidth
-screenHeight
-parameters
-
-
CmsClientVariantInfo
protected CmsClientVariantInfo()Default constructor for serialization.
-
-
Method Details
-
getName
Gets the internal name.- Returns:
- the internal name
-
getNiceName
Gets the nice name.- Returns:
- the nice name
-
getParameters
Gets the parameters.- Returns:
- the parameters
-
getScreenHeight
Gets the screen height.- Returns:
- the screen height
-
getScreenWidth
Gets the screen width.- Returns:
- the screen width
-