Class BoundsImpl

  • All Implemented Interfaces:
    Bounds, IChartObject, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

    public class BoundsImpl
    extends org.eclipse.emf.ecore.impl.EObjectImpl
    implements Bounds
    An implementation of the model object ' Bounds'.

    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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
      • 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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void adjust​(Insets ins)
      Causes the internal (left,right,width,height) values to be scaled by a the specified Insets
      Bounds adjustedInstance​(Insets ins)
      Creates a new 'Bounds' instance by adjusting the existing 'Bounds' instance using the given 'Insets' NOTE: Manually written
      boolean contains​(Location lo)
      Returns if the given point is within this bounds.
      Bounds copyInstance()
      A convenient method to get an instance copy.
      static Bounds create​(double dLeft, double dTop, double dWidth, double dHeight)
      Convenient creation of a Bounds object and instantiates member variables NOTE: Manually written
      static Bounds createDefault​(double dLeft, double dTop, double dWidth, double dHeight)
      Convenient creation of a Bounds object and instantiates member variables NOTE: Manually written
      void delta​(double dLeft, double dTop, double dWidth, double dHeight)
      Adds a 'delta' value to the existing member variables and applies it to the current instance
      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)
      double getHeight()
      double getLeft()
      double getTop()
      double getWidth()
      boolean isSetHeight()
      boolean isSetLeft()
      boolean isSetTop()
      boolean isSetWidth()
      void max​(Bounds bo)  
      void scale​(double dScale)
      Causes the internal (left,right,width,height) values to be scaled by a relative (dScale) value
      Bounds scaledInstance​(double dScale)
      Returns a new Bounds instance with scaled members
      void set​(double dLeft, double dTop, double dWidth, double dHeight)
      A convenient method that allows initializing member variables.
      void setHeight​(double newHeight)
      void setLeft​(double newLeft)
      void setTop​(double newTop)
      void setWidth​(double newWidth)
      java.lang.String toString()
      void translate​(double dTranslateX, double dTranslateY)
      Causes the internal (left,right) location to be translated by a relative value of (dTranslateX, dTranslateY)
      Bounds translateInstance​(double dTranslateX, double dTranslateY)
      Creates a new 'Bounds' instance by translate the existing 'Bounds' instance using given offsets.
      void unsetHeight()
      void unsetLeft()
      void unsetTop()
      void unsetWidth()
      void updateFrom​(Location[] loa)
      Updates an existing Bounds instance to encompass the polygon specified by a given set of points
      • 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

        equals, 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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.ecore.InternalEObject

        eNotificationRequired
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eNotify, eSetDeliver