|
||||||||||
| 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.LocationImpl
public class LocationImpl
An implementation of the model object ' Location'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter> |
| Nested classes/interfaces inherited from interface 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 |
| Method Summary | |
|---|---|
static Location |
copyInstance(Location src)
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)
|
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()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Method Detail |
|---|
public 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.BasicEObjectImpl
public 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.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
set in interface Location
public void translate(double dTranslateX,
double dTranslateY)
Location
translate in interface Locationpublic void scale(double dScale)
Location
scale in interface Locationpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static Location copyInstance(Location src)
src -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||