Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 -
    • 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