public class CmsClientVariant extends java.lang.Object
Constructor and Description |
---|
CmsClientVariant(java.lang.String name,
I_CmsMessageContainer message,
int width,
int height,
java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets the internal name.
|
java.lang.String |
getNiceName(java.util.Locale locale)
Gets the nice name for a locale.
|
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.
|
public CmsClientVariant(java.lang.String name, I_CmsMessageContainer message, int width, int height, java.util.Map<java.lang.String,java.lang.String> parameters)
name
- the internal name of the client variantmessage
- the nice name of the variantwidth
- the screen widthheight
- the screen heightparameters
- parameters for the variantpublic java.lang.String getName()
public java.lang.String getNiceName(java.util.Locale locale)
locale
- the localepublic java.util.Map<java.lang.String,java.lang.String> getParameters()
public int getScreenHeight()
public int getScreenWidth()