public class LocationImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Location
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| Modifier and Type | Method and Description |
|---|---|
Location |
copyInstance()
A convenient method to get an instance copy.
|
static Location[] |
create(double[] xa,
double[] ya) |
static Location |
create(double dX,
double dY) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
boolean |
equals(java.lang.Object obj) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
double |
getX() |
static double[] |
getXArray(Location[] loc) |
double |
getY() |
static double[] |
getYArray(Location[] loc) |
int |
hashCode() |
boolean |
isSetX() |
boolean |
isSetY() |
void |
scale(double dScale)
Causes the internal (x,y) values to be scaled by a relative (dScale) value
|
void |
set(double dX,
double dY)
A convenience method for defining member variables
NOTE: Manually created
|
void |
setX(double newX) |
void |
setY(double newY) |
java.lang.String |
toString() |
void |
translate(double dTranslateX,
double dTranslateY)
Causes the internal (x,y) values to be translated by a relative value of (dTranslateX, dTranslateY)
|
void |
unsetX() |
void |
unsetY() |
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, eNotifyeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic double getX()
getX in interface LocationLocation.isSetX(),
Location.unsetX(),
Location.setX(double),
AttributePackage.getLocation_X()public void setX(double newX)
setX in interface LocationnewX - the new value of the 'X' attribute.Location.isSetX(),
Location.unsetX(),
Location.getX()public void unsetX()
unsetX in interface LocationLocation.isSetX(),
Location.getX(),
Location.setX(double)public boolean isSetX()
isSetX in interface LocationLocation.unsetX(),
Location.getX(),
Location.setX(double)public double getY()
getY in interface LocationLocation.isSetY(),
Location.unsetY(),
Location.setY(double),
AttributePackage.getLocation_Y()public void setY(double newY)
setY in interface LocationnewY - the new value of the 'Y' attribute.Location.isSetY(),
Location.unsetY(),
Location.getY()public void unsetY()
unsetY in interface LocationLocation.isSetY(),
Location.getY(),
Location.setY(double)public boolean isSetY()
isSetY in interface LocationLocation.unsetY(),
Location.getY(),
Location.setY(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 Location create(double dX, double dY)
dX - dY - public static final Location[] create(double[] xa, double[] ya)
xa - ya - public static double[] getXArray(Location[] loc)
loc - public static double[] getYArray(Location[] loc)
loc - public void set(double dX,
double dY)
Locationpublic void translate(double dTranslateX,
double dTranslateY)
Locationpublic void scale(double dScale)
Locationpublic Location copyInstance()
copyInstance in interface LocationcopyInstance in interface IChartObjectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.