|
|||||||||||
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 |
create(double dWidth,
double dHeight)
/** Convenient creation of a Size object and instantiates member variables NOTE: Manually written |
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
|
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
double |
getHeight()
|
double |
getWidth()
|
boolean |
isSetHeight()
|
boolean |
isSetWidth()
|
void |
scale(double dScale)
Scales the size instance as specified via the 'dScale' parameter |
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, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eInverseRemove, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment |
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, eIsProxy, eResource |
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(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
eGet
in interface org.eclipse.emf.ecore.EObject
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset
in interface org.eclipse.emf.ecore.EObject
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
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
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |