org.eclipse.birt.chart.model.attribute.impl
Class Location3DImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.birt.chart.model.attribute.impl.LocationImpl
                  extended by org.eclipse.birt.chart.model.attribute.impl.Location3DImpl
All Implemented Interfaces:
Location, Location3D, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class Location3DImpl
extends LocationImpl
implements Location3D

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>
 
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 Location3D copyInstance(Location3D src)
           
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(org.eclipse.birt.chart.computation.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
copyInstance, create, create, equals, getX, getXArray, getY, getYArray, isSetX, isSetY, set, setX, setY, translate, unsetX, 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.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, 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

create

public static Location3D create(double x,
                                double y,
                                double z)
Parameters:
x -
y -
z -
Returns:

copyInstance

public static Location3D copyInstance(Location3D src)
Parameters:
src -
Returns:

create

public static final Location3D[] create(double[] xa,
                                        double[] ya,
                                        double[] za)
Parameters:
xa -
ya -
za -
Returns:

getXArray

public static double[] getXArray(Location3D[] loc)
Parameters:
loc -
Returns:

getYArray

public static double[] getYArray(Location3D[] loc)
Parameters:
loc -
Returns:

getZArray

public static double[] getZArray(Location3D[] loc)
Parameters:
loc -
Returns:

getZ

public double getZ()

Specified by:
getZ in interface Location3D
Returns:
the value of the 'Z' attribute.
See Also:
Location3D.isSetZ(), Location3D.unsetZ(), Location3D.setZ(double), AttributePackage.getLocation3D_Z()

setZ

public void setZ(double newZ)

Specified by:
setZ in interface Location3D
Parameters:
newZ - the new value of the 'Z' attribute.
See Also:
Location3D.isSetZ(), Location3D.unsetZ(), Location3D.getZ()

unsetZ

public void unsetZ()

Specified by:
unsetZ in interface Location3D
See Also:
Location3D.isSetZ(), Location3D.getZ(), Location3D.setZ(double)

isSetZ

public boolean isSetZ()

Specified by:
isSetZ in interface Location3D
Returns:
whether the value of the 'Z' attribute is set.
See Also:
Location3D.unsetZ(), Location3D.getZ(), Location3D.setZ(double)

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class LocationImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class LocationImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class LocationImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class LocationImpl

toString

public java.lang.String toString()

Overrides:
toString in class LocationImpl

translate

public void translate(double dTranslateX,
                      double dTranslateY,
                      double dTranslateZ)
Description copied from interface: Location3D
Causes the internal (x,y,z) values to be translated by a relative value of (dTranslateX, dTranslateY, dTranslateZ)

Specified by:
translate in interface Location3D

scale

public void scale(double dScale)
Description copied from interface: Location
Causes the internal (x,y) values to be scaled by a relative (dScale) value

Specified by:
scale in interface Location
Specified by:
scale in interface Location3D
Overrides:
scale in class LocationImpl

set

public void set(double dX,
                double dY,
                double dZ)
Description copied from interface: Location3D
A convenience method for defining member variables NOTE: Manually created

Specified by:
set in interface Location3D

linkToVector

public void linkToVector(org.eclipse.birt.chart.computation.Vector vector)
Description copied from interface: Location3D
Used to link a Location3D to a Vector for live update of the coordinates.

Specified by:
linkToVector in interface Location3D


Copyright © 2005-2008 Actuate Corp. All rights reserved.