public class SizeImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Size
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Constructor and Description |
|---|
SizeImpl(double dWidth,
double dHeight)
An additional constructor that allows creation of a Size instance and
initializing member variables.
|
| Modifier and Type | Method and Description |
|---|---|
Size |
copyInstance()
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() |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic SizeImpl(double dWidth,
double dHeight)
dWidth - dHeight - public double getHeight()
getHeight in interface SizeSize.isSetHeight(),
Size.unsetHeight(),
Size.setHeight(double),
AttributePackage.getSize_Height()public void setHeight(double newHeight)
setHeight in interface SizenewHeight - the new value of the 'Height' attribute.Size.isSetHeight(),
Size.unsetHeight(),
Size.getHeight()public void unsetHeight()
unsetHeight in interface SizeSize.isSetHeight(),
Size.getHeight(),
Size.setHeight(double)public boolean isSetHeight()
isSetHeight in interface SizeSize.unsetHeight(),
Size.getHeight(),
Size.setHeight(double)public double getWidth()
getWidth in interface SizeSize.isSetWidth(),
Size.unsetWidth(),
Size.setWidth(double),
AttributePackage.getSize_Width()public void setWidth(double newWidth)
setWidth in interface SizenewWidth - the new value of the 'Width' attribute.Size.isSetWidth(),
Size.unsetWidth(),
Size.getWidth()public void unsetWidth()
unsetWidth in interface SizeSize.isSetWidth(),
Size.getWidth(),
Size.setWidth(double)public boolean isSetWidth()
isSetWidth in interface SizeSize.unsetWidth(),
Size.getWidth(),
Size.setWidth(double)public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic static final Size create(double dWidth, double dHeight)
dWidth - dHeight - public final void scale(double dScale)
Sizepublic final Size scaleInstance(double dScale)
SizescaleInstance in interface SizedScale - The scaling factorpublic Size copyInstance()
copyInstance in interface SizecopyInstance in interface IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.