Liferay 6.2-ce-ga5

com.liferay.portal.kernel.mobile.device
Class AbstractDevice

java.lang.Object
  extended by com.liferay.portal.kernel.mobile.device.AbstractDevice
All Implemented Interfaces:
Device, Serializable
Direct Known Subclasses:
UnknownDevice

public abstract class AbstractDevice
extends Object
implements Device

Abstract class containing common methods for all devices

See Also:
Serialized Form

Constructor Summary
AbstractDevice()
           
 
Method Summary
 Dimensions getScreenSize()
          Deprecated. As of 6.2.0, replaced by Device.getScreenResolution()
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.mobile.device.Device
getBrand, getBrowser, getBrowserVersion, getCapabilities, getCapability, getModel, getOS, getOSVersion, getPointingMethod, getScreenPhysicalSize, getScreenResolution, hasQwertyKeyboard, isTablet
 

Constructor Detail

AbstractDevice

public AbstractDevice()
Method Detail

getScreenSize

public Dimensions getScreenSize()
Deprecated. As of 6.2.0, replaced by Device.getScreenResolution()

Specified by:
getScreenSize in interface Device

toString

public String toString()
Overrides:
toString in class Object

Liferay 6.2-ce-ga5