Class MobilePreviewInfoImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- com._1c.g5.v8.dt.form.layout.model.description.impl.MobilePreviewInfoImpl
-
- All Implemented Interfaces:
MobilePreviewInfo
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
public class MobilePreviewInfoImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements MobilePreviewInfo
An implementation of the model object 'Mobile Preview Info'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
AVE_CHAR_HEIGHT_EDEFAULT
The default value of the 'Ave Char Height
' attribute.protected static int
AVE_CHAR_WIDTH_EDEFAULT
The default value of the 'Ave Char Width
' attribute.protected int
aveCharHeight
The cached value of the 'Ave Char Height
' attribute.protected int
aveCharWidth
The cached value of the 'Ave Char Width
' attribute.protected static Font
DEF_FONT_EDEFAULT
The default value of the 'Def Font
' attribute.protected Font
defFont
The cached value of the 'Def Font
' attribute.protected static int
DEVICE_HEIGHT_IN_PIXELS_EDEFAULT
The default value of the 'Device Height In Pixels
' attribute.protected static LFMobileDeviceKind
DEVICE_KIND_EDEFAULT
The default value of the 'Device Kind
' attribute.protected static int
DEVICE_WIDTH_IN_PIXELS_EDEFAULT
The default value of the 'Device Width In Pixels
' attribute.protected int
deviceHeightInPixels
The cached value of the 'Device Height In Pixels
' attribute.protected LFMobileDeviceKind
deviceKind
The cached value of the 'Device Kind
' attribute.protected int
deviceWidthInPixels
The cached value of the 'Device Width In Pixels
' attribute.protected int
dpi
The cached value of the 'Dpi
' attribute.protected static int
DPI_EDEFAULT
The default value of the 'Dpi
' attribute.protected static boolean
HAS_SYSTEM_BAR_EDEFAULT
The default value of the 'Has System Bar
' attribute.protected boolean
hasSystemBar
The cached value of the 'Has System Bar
' attribute.protected ClientOSInfo
platform
The cached value of the 'Platform
' attribute.protected static ClientOSInfo
PLATFORM_EDEFAULT
The default value of the 'Platform
' attribute.protected boolean
retina
The cached value of the 'Retina
' attribute.protected static boolean
RETINA_EDEFAULT
The default value of the 'Retina
' attribute.protected static String
SKIN_ID_EDEFAULT
The default value of the 'Skin Id
' attribute.protected String
skinId
The cached value of the 'Skin Id
' attribute.protected MobileDataTransferTechnology
tech
The cached value of the 'Tech
' attribute.protected static MobileDataTransferTechnology
TECH_EDEFAULT
The default value of the 'Tech
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MobilePreviewInfoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
int
getAveCharHeight()
int
getAveCharWidth()
Font
getDefFont()
int
getDeviceHeightInPixels()
LFMobileDeviceKind
getDeviceKind()
int
getDeviceWidthInPixels()
int
getDpi()
ClientOSInfo
getPlatform()
String
getSkinId()
MobileDataTransferTechnology
getTech()
boolean
isHasSystemBar()
boolean
isRetina()
void
setAveCharHeight(int newAveCharHeight)
void
setAveCharWidth(int newAveCharWidth)
void
setDefFont(Font newDefFont)
void
setDeviceHeightInPixels(int newDeviceHeightInPixels)
void
setDeviceKind(LFMobileDeviceKind newDeviceKind)
void
setDeviceWidthInPixels(int newDeviceWidthInPixels)
void
setDpi(int newDpi)
void
setHasSystemBar(boolean newHasSystemBar)
void
setPlatform(ClientOSInfo newPlatform)
void
setRetina(boolean newRetina)
void
setSkinId(String newSkinId)
void
setTech(MobileDataTransferTechnology newTech)
String
toString()
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PLATFORM_EDEFAULT
protected static final ClientOSInfo PLATFORM_EDEFAULT
The default value of the 'Platform
' attribute.- See Also:
getPlatform()
-
platform
protected ClientOSInfo platform
The cached value of the 'Platform
' attribute.- See Also:
getPlatform()
-
DEVICE_KIND_EDEFAULT
protected static final LFMobileDeviceKind DEVICE_KIND_EDEFAULT
The default value of the 'Device Kind
' attribute.- See Also:
getDeviceKind()
-
deviceKind
protected LFMobileDeviceKind deviceKind
The cached value of the 'Device Kind
' attribute.- See Also:
getDeviceKind()
-
DEVICE_HEIGHT_IN_PIXELS_EDEFAULT
protected static final int DEVICE_HEIGHT_IN_PIXELS_EDEFAULT
The default value of the 'Device Height In Pixels
' attribute.- See Also:
getDeviceHeightInPixels()
, Constant Field Values
-
deviceHeightInPixels
protected int deviceHeightInPixels
The cached value of the 'Device Height In Pixels
' attribute.- See Also:
getDeviceHeightInPixels()
-
DEVICE_WIDTH_IN_PIXELS_EDEFAULT
protected static final int DEVICE_WIDTH_IN_PIXELS_EDEFAULT
The default value of the 'Device Width In Pixels
' attribute.- See Also:
getDeviceWidthInPixels()
, Constant Field Values
-
deviceWidthInPixels
protected int deviceWidthInPixels
The cached value of the 'Device Width In Pixels
' attribute.- See Also:
getDeviceWidthInPixels()
-
DPI_EDEFAULT
protected static final int DPI_EDEFAULT
The default value of the 'Dpi
' attribute.- See Also:
getDpi()
, Constant Field Values
-
HAS_SYSTEM_BAR_EDEFAULT
protected static final boolean HAS_SYSTEM_BAR_EDEFAULT
The default value of the 'Has System Bar
' attribute.- See Also:
isHasSystemBar()
, Constant Field Values
-
hasSystemBar
protected boolean hasSystemBar
The cached value of the 'Has System Bar
' attribute.- See Also:
isHasSystemBar()
-
DEF_FONT_EDEFAULT
protected static final Font DEF_FONT_EDEFAULT
The default value of the 'Def Font
' attribute.- See Also:
getDefFont()
-
defFont
protected Font defFont
The cached value of the 'Def Font
' attribute.- See Also:
getDefFont()
-
AVE_CHAR_WIDTH_EDEFAULT
protected static final int AVE_CHAR_WIDTH_EDEFAULT
The default value of the 'Ave Char Width
' attribute.- See Also:
getAveCharWidth()
, Constant Field Values
-
aveCharWidth
protected int aveCharWidth
The cached value of the 'Ave Char Width
' attribute.- See Also:
getAveCharWidth()
-
AVE_CHAR_HEIGHT_EDEFAULT
protected static final int AVE_CHAR_HEIGHT_EDEFAULT
The default value of the 'Ave Char Height
' attribute.- See Also:
getAveCharHeight()
, Constant Field Values
-
aveCharHeight
protected int aveCharHeight
The cached value of the 'Ave Char Height
' attribute.- See Also:
getAveCharHeight()
-
RETINA_EDEFAULT
protected static final boolean RETINA_EDEFAULT
The default value of the 'Retina
' attribute.- See Also:
isRetina()
, Constant Field Values
-
retina
protected boolean retina
The cached value of the 'Retina
' attribute.- See Also:
isRetina()
-
TECH_EDEFAULT
protected static final MobileDataTransferTechnology TECH_EDEFAULT
The default value of the 'Tech
' attribute.- See Also:
getTech()
-
tech
protected MobileDataTransferTechnology tech
The cached value of the 'Tech
' attribute.- See Also:
getTech()
-
SKIN_ID_EDEFAULT
protected static final String SKIN_ID_EDEFAULT
The default value of the 'Skin Id
' attribute.- See Also:
getSkinId()
-
skinId
protected String skinId
The cached value of the 'Skin Id
' attribute.- See Also:
getSkinId()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getPlatform
public ClientOSInfo getPlatform()
- Specified by:
getPlatform
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Platform' attribute.
- See Also:
ClientOSInfo
,MobilePreviewInfo.setPlatform(ClientOSInfo)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_Platform()
-
setPlatform
public void setPlatform(ClientOSInfo newPlatform)
- Specified by:
setPlatform
in interfaceMobilePreviewInfo
- Parameters:
newPlatform
- the new value of the 'Platform' attribute.- See Also:
ClientOSInfo
,MobilePreviewInfo.getPlatform()
-
getDeviceKind
public LFMobileDeviceKind getDeviceKind()
- Specified by:
getDeviceKind
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Device Kind' attribute.
- See Also:
LFMobileDeviceKind
,MobilePreviewInfo.setDeviceKind(LFMobileDeviceKind)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_DeviceKind()
-
setDeviceKind
public void setDeviceKind(LFMobileDeviceKind newDeviceKind)
- Specified by:
setDeviceKind
in interfaceMobilePreviewInfo
- Parameters:
newDeviceKind
- the new value of the 'Device Kind' attribute.- See Also:
LFMobileDeviceKind
,MobilePreviewInfo.getDeviceKind()
-
getDeviceHeightInPixels
public int getDeviceHeightInPixels()
- Specified by:
getDeviceHeightInPixels
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Device Height In Pixels' attribute.
- See Also:
MobilePreviewInfo.setDeviceHeightInPixels(int)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_DeviceHeightInPixels()
-
setDeviceHeightInPixels
public void setDeviceHeightInPixels(int newDeviceHeightInPixels)
- Specified by:
setDeviceHeightInPixels
in interfaceMobilePreviewInfo
- Parameters:
newDeviceHeightInPixels
- the new value of the 'Device Height In Pixels' attribute.- See Also:
MobilePreviewInfo.getDeviceHeightInPixels()
-
getDeviceWidthInPixels
public int getDeviceWidthInPixels()
- Specified by:
getDeviceWidthInPixels
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Device Width In Pixels' attribute.
- See Also:
MobilePreviewInfo.setDeviceWidthInPixels(int)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_DeviceWidthInPixels()
-
setDeviceWidthInPixels
public void setDeviceWidthInPixels(int newDeviceWidthInPixels)
- Specified by:
setDeviceWidthInPixels
in interfaceMobilePreviewInfo
- Parameters:
newDeviceWidthInPixels
- the new value of the 'Device Width In Pixels' attribute.- See Also:
MobilePreviewInfo.getDeviceWidthInPixels()
-
getDpi
public int getDpi()
- Specified by:
getDpi
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Dpi' attribute.
- See Also:
MobilePreviewInfo.setDpi(int)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_Dpi()
-
setDpi
public void setDpi(int newDpi)
- Specified by:
setDpi
in interfaceMobilePreviewInfo
- Parameters:
newDpi
- the new value of the 'Dpi' attribute.- See Also:
MobilePreviewInfo.getDpi()
-
isHasSystemBar
public boolean isHasSystemBar()
- Specified by:
isHasSystemBar
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Has System Bar' attribute.
- See Also:
MobilePreviewInfo.setHasSystemBar(boolean)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_HasSystemBar()
-
setHasSystemBar
public void setHasSystemBar(boolean newHasSystemBar)
- Specified by:
setHasSystemBar
in interfaceMobilePreviewInfo
- Parameters:
newHasSystemBar
- the new value of the 'Has System Bar' attribute.- See Also:
MobilePreviewInfo.isHasSystemBar()
-
getDefFont
public Font getDefFont()
- Specified by:
getDefFont
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Def Font' attribute.
- See Also:
MobilePreviewInfo.setDefFont(Font)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_DefFont()
-
setDefFont
public void setDefFont(Font newDefFont)
- Specified by:
setDefFont
in interfaceMobilePreviewInfo
- Parameters:
newDefFont
- the new value of the 'Def Font' attribute.- See Also:
MobilePreviewInfo.getDefFont()
-
getAveCharWidth
public int getAveCharWidth()
- Specified by:
getAveCharWidth
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Ave Char Width' attribute.
- See Also:
MobilePreviewInfo.setAveCharWidth(int)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_AveCharWidth()
-
setAveCharWidth
public void setAveCharWidth(int newAveCharWidth)
- Specified by:
setAveCharWidth
in interfaceMobilePreviewInfo
- Parameters:
newAveCharWidth
- the new value of the 'Ave Char Width' attribute.- See Also:
MobilePreviewInfo.getAveCharWidth()
-
getAveCharHeight
public int getAveCharHeight()
- Specified by:
getAveCharHeight
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Ave Char Height' attribute.
- See Also:
MobilePreviewInfo.setAveCharHeight(int)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_AveCharHeight()
-
setAveCharHeight
public void setAveCharHeight(int newAveCharHeight)
- Specified by:
setAveCharHeight
in interfaceMobilePreviewInfo
- Parameters:
newAveCharHeight
- the new value of the 'Ave Char Height' attribute.- See Also:
MobilePreviewInfo.getAveCharHeight()
-
isRetina
public boolean isRetina()
- Specified by:
isRetina
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Retina' attribute.
- See Also:
MobilePreviewInfo.setRetina(boolean)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_Retina()
-
setRetina
public void setRetina(boolean newRetina)
- Specified by:
setRetina
in interfaceMobilePreviewInfo
- Parameters:
newRetina
- the new value of the 'Retina' attribute.- See Also:
MobilePreviewInfo.isRetina()
-
getTech
public MobileDataTransferTechnology getTech()
- Specified by:
getTech
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Tech' attribute.
- See Also:
MobileDataTransferTechnology
,MobilePreviewInfo.setTech(MobileDataTransferTechnology)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_Tech()
-
setTech
public void setTech(MobileDataTransferTechnology newTech)
- Specified by:
setTech
in interfaceMobilePreviewInfo
- Parameters:
newTech
- the new value of the 'Tech' attribute.- See Also:
MobileDataTransferTechnology
,MobilePreviewInfo.getTech()
-
getSkinId
public String getSkinId()
- Specified by:
getSkinId
in interfaceMobilePreviewInfo
- Returns:
- the value of the 'Skin Id' attribute.
- See Also:
MobilePreviewInfo.setSkinId(String)
,LayoutDescriptionModelPackage.getMobilePreviewInfo_SkinId()
-
setSkinId
public void setSkinId(String newSkinId)
- Specified by:
setSkinId
in interfaceMobilePreviewInfo
- Parameters:
newSkinId
- the new value of the 'Skin Id' attribute.- See Also:
MobilePreviewInfo.getSkinId()
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-