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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList| 构造器和说明 |
|---|
SizeImpl(double dWidth,
double dHeight)
An additional constructor that allows creation of a Size instance and
initializing member variables.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, eVirtualUnsetpublic SizeImpl(double dWidth,
double dHeight)
dWidth - dHeight - public double getHeight()
getHeight 在接口中 SizeSize.isSetHeight(),
Size.unsetHeight(),
Size.setHeight(double),
AttributePackage.getSize_Height()public void setHeight(double newHeight)
setHeight 在接口中 SizenewHeight - the new value of the 'Height' attribute.Size.isSetHeight(),
Size.unsetHeight(),
Size.getHeight()public void unsetHeight()
unsetHeight 在接口中 SizeSize.isSetHeight(),
Size.getHeight(),
Size.setHeight(double)public boolean isSetHeight()
isSetHeight 在接口中 SizeSize.unsetHeight(),
Size.getHeight(),
Size.setHeight(double)public double getWidth()
getWidth 在接口中 SizeSize.isSetWidth(),
Size.unsetWidth(),
Size.setWidth(double),
AttributePackage.getSize_Width()public void setWidth(double newWidth)
setWidth 在接口中 SizenewWidth - the new value of the 'Width' attribute.Size.isSetWidth(),
Size.unsetWidth(),
Size.getWidth()public void unsetWidth()
unsetWidth 在接口中 SizeSize.isSetWidth(),
Size.getWidth(),
Size.setWidth(double)public boolean isSetWidth()
isSetWidth 在接口中 SizeSize.unsetWidth(),
Size.getWidth(),
Size.setWidth(double)public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet 在接口中 org.eclipse.emf.ecore.InternalEObjecteGet 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet 在接口中 org.eclipse.emf.ecore.InternalEObjecteSet 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset 在接口中 org.eclipse.emf.ecore.InternalEObjecteUnset 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet 在接口中 org.eclipse.emf.ecore.InternalEObjecteIsSet 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString 在类中 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 在接口中 SizedScale - The scaling factorpublic Size copyInstance()
copyInstance 在接口中 SizecopyInstance 在接口中 IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.