|
||||||||||
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
org.eclipse.birt.chart.model.attribute.impl.Location3DImpl
public class Location3DImpl
An implementation of the model object 'Location3 D'.
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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList |
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 | |
---|---|
Location3D |
copyInstance()
A convenient method to get an instance copy. |
static Location3D[] |
create(double[] xa,
double[] ya,
double[] za)
|
static Location3D |
create(double x,
double y,
double z)
|
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)
|
static double[] |
getXArray(Location3D[] loc)
|
static double[] |
getYArray(Location3D[] loc)
|
double |
getZ()
|
static double[] |
getZArray(Location3D[] loc)
|
boolean |
isSetZ()
|
void |
linkToVector(Vector vector)
Used to link a Location3D to a Vector for live update of the coordinates. |
void |
scale(double dScale)
Causes the internal (x,y) values to be scaled by a relative (dScale) value |
void |
set(double dX,
double dY,
double dZ)
A convenience method for defining member variables NOTE: Manually created |
void |
setZ(double newZ)
|
java.lang.String |
toString()
|
void |
translate(double dTranslateX,
double dTranslateY,
double dTranslateZ)
Causes the internal (x,y,z) values to be translated by a relative value of (dTranslateX, dTranslateY, dTranslateZ) |
void |
unsetZ()
|
Methods inherited from class org.eclipse.birt.chart.model.attribute.impl.LocationImpl |
---|
create, create, equals, getX, getXArray, getY, getYArray, hashCode, isSetX, isSetY, set, setX, setY, translate, unsetX, unsetY |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, 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, 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 |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.birt.chart.model.attribute.Location |
---|
getX, getY, isSetX, isSetY, set, setX, setY, translate, unsetX, unsetY |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, 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 static Location3D create(double x, double y, double z)
x
- y
- z
-
public Location3D copyInstance()
copyInstance
in interface Location
copyInstance
in interface Location3D
copyInstance
in interface IChartObject
copyInstance
in class LocationImpl
public static final Location3D[] create(double[] xa, double[] ya, double[] za)
xa
- ya
- za
-
public static double[] getXArray(Location3D[] loc)
loc
-
public static double[] getYArray(Location3D[] loc)
loc
-
public static double[] getZArray(Location3D[] loc)
loc
-
public double getZ()
getZ
in interface Location3D
Location3D.isSetZ()
,
Location3D.unsetZ()
,
Location3D.setZ(double)
,
AttributePackage.getLocation3D_Z()
public void setZ(double newZ)
setZ
in interface Location3D
newZ
- the new value of the 'Z' attribute.Location3D.isSetZ()
,
Location3D.unsetZ()
,
Location3D.getZ()
public void unsetZ()
unsetZ
in interface Location3D
Location3D.isSetZ()
,
Location3D.getZ()
,
Location3D.setZ(double)
public boolean isSetZ()
isSetZ
in interface Location3D
Location3D.unsetZ()
,
Location3D.getZ()
,
Location3D.setZ(double)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class LocationImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class LocationImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class LocationImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class LocationImpl
public java.lang.String toString()
toString
in class LocationImpl
public void translate(double dTranslateX, double dTranslateY, double dTranslateZ)
Location3D
translate
in interface Location3D
public void scale(double dScale)
Location
scale
in interface Location
scale
in interface Location3D
scale
in class LocationImpl
public void set(double dX, double dY, double dZ)
Location3D
set
in interface Location3D
public void linkToVector(Vector vector)
Location3D
linkToVector
in interface Location3D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |