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, eSetProxyURI
eAllContents, 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, eVirtualUnset
eNotificationRequired, eNotify
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public double getX()
getX
in interface Location
Location.isSetX()
,
Location.unsetX()
,
Location.setX(double)
,
AttributePackage.getLocation_X()
public void setX(double newX)
setX
in interface Location
newX
- the new value of the 'X' attribute.Location.isSetX()
,
Location.unsetX()
,
Location.getX()
public void unsetX()
unsetX
in interface Location
Location.isSetX()
,
Location.getX()
,
Location.setX(double)
public boolean isSetX()
isSetX
in interface Location
Location.unsetX()
,
Location.getX()
,
Location.setX(double)
public double getY()
getY
in interface Location
Location.isSetY()
,
Location.unsetY()
,
Location.setY(double)
,
AttributePackage.getLocation_Y()
public void setY(double newY)
setY
in interface Location
newY
- the new value of the 'Y' attribute.Location.isSetY()
,
Location.unsetY()
,
Location.getY()
public void unsetY()
unsetY
in interface Location
Location.isSetY()
,
Location.getY()
,
Location.setY(double)
public boolean isSetY()
isSetY
in interface Location
Location.unsetY()
,
Location.getY()
,
Location.setY(double)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public 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)
Location
public void translate(double dTranslateX, double dTranslateY)
Location
public void scale(double dScale)
Location
public Location copyInstance()
copyInstance
in interface Location
copyInstance
in interface IChartObject
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2005-2008 Actuate Corp. All rights reserved.