|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.birt.chart.model.attribute.impl.SizeImpl
An implementation of the model object ' Size'.
The following features are implemented:
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
SizeImpl(double dWidth,
double dHeight)
An additional constructor that allows creation of a Size instance and initializing member variables. |
Method Summary | |
static Size |
copyInstance(Size src)
A convenient method to get an instance copy. |
static Size |
create(double dWidth,
double dHeight)
/** Convenient creation of a Size object and instantiates member variables NOTE: Manually written |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
double |
getHeight()
|
double |
getWidth()
|
boolean |
isSetHeight()
|
boolean |
isSetWidth()
|
void |
scale(double dScale)
Scales the size instance as specified via the 'dScale' parameter |
Size |
scaleInstance(double dScale)
Returns a new size instance with scaled members |
void |
setHeight(double newHeight)
|
void |
setWidth(double newWidth)
|
java.lang.String |
toString()
|
void |
unsetHeight()
|
void |
unsetWidth()
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eNotificationRequired |
Constructor Detail |
public SizeImpl(double dWidth, double dHeight)
dWidth
- dHeight
- Method Detail |
public double getHeight()
getHeight
in interface Size
Size.isSetHeight()
,
Size.unsetHeight()
,
Size.setHeight(double)
,
AttributePackage.getSize_Height()
public void setHeight(double newHeight)
setHeight
in interface Size
newHeight
- the new value of the 'Height' attribute.Size.isSetHeight()
,
Size.unsetHeight()
,
Size.getHeight()
public void unsetHeight()
unsetHeight
in interface Size
Size.isSetHeight()
,
Size.getHeight()
,
Size.setHeight(double)
public boolean isSetHeight()
isSetHeight
in interface Size
Size.unsetHeight()
,
Size.getHeight()
,
Size.setHeight(double)
public double getWidth()
getWidth
in interface Size
Size.isSetWidth()
,
Size.unsetWidth()
,
Size.setWidth(double)
,
AttributePackage.getSize_Width()
public void setWidth(double newWidth)
setWidth
in interface Size
newWidth
- the new value of the 'Width' attribute.Size.isSetWidth()
,
Size.unsetWidth()
,
Size.getWidth()
public void unsetWidth()
unsetWidth
in interface Size
Size.isSetWidth()
,
Size.getWidth()
,
Size.setWidth(double)
public boolean isSetWidth()
isSetWidth
in interface Size
Size.unsetWidth()
,
Size.getWidth()
,
Size.setWidth(double)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
public java.lang.String toString()
public static final Size create(double dWidth, double dHeight)
dWidth
- dHeight
-
public final void scale(double dScale)
Size
scale
in interface Size
dScale
- public final Size scaleInstance(double dScale)
Size
scaleInstance
in interface Size
dScale
- The scaling factor
public static Size copyInstance(Size src)
src
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |