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 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

      Default constructor for serialization.

  • Method Details

    • getName

      public String getName()
      Gets the internal name.

      Returns:
      the internal name
    • getNiceName

      public String getNiceName()
      Gets the nice name.

      Returns:
      the nice name
    • 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