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 java.lang.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
Constructors Modifier Constructor Description protected
CmsClientVariantInfo()
Default constructor for serialization.CmsClientVariantInfo(java.lang.String name, java.lang.String niceName, int screenWidth, int screenHeight, java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets the internal name.java.lang.String
getNiceName()
Gets the nice name.java.util.Map<java.lang.String,java.lang.String>
getParameters()
Gets the parameters.int
getScreenHeight()
Gets the screen height.int
getScreenWidth()
Gets the screen width.
-
-
-
Constructor Detail
-
CmsClientVariantInfo
public CmsClientVariantInfo(java.lang.String name, java.lang.String niceName, int screenWidth, int screenHeight, java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a new instance.- Parameters:
name
-niceName
-screenWidth
-screenHeight
-parameters
-
-
CmsClientVariantInfo
protected CmsClientVariantInfo()
Default constructor for serialization.
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the internal name.- Returns:
- the internal name
-
getNiceName
public java.lang.String getNiceName()
Gets the nice name.- Returns:
- the nice name
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
Gets the parameters.- Returns:
- the parameters
-
getScreenHeight
public int getScreenHeight()
Gets the screen height.- Returns:
- the screen height
-
getScreenWidth
public int getScreenWidth()
Gets the screen width.- Returns:
- the screen width
-
-