Class InsetsImpl
java.lang.Object
org.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.InsetsImpl
- All Implemented Interfaces:
Insets,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
-
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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested 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_FLAGFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and TypeMethodDescriptionbooleanareLessThan(double dValue) A convenience method provdided to detect if all members are below a certain value NOTE: Manually writtenA convenient method to get an instance copy.static final Insetscreate(double dTop, double dLeft, double dBottom, double dRight) A convenient method for creating an instance and initializing member variables.static final InsetscreateDefault(double dTop, double dLeft, double dBottom, double dRight) A convenient method for creating an instance and initializing member variables.eGet(int featureID, boolean resolve, boolean coreType) booleaneIsSet(int featureID) booleanvoidvoideUnset(int featureID) doubledoublegetLeft()doublegetRight()doublegetTop()inthashCode()booleanbooleanbooleanbooleanisSetTop()static final Insetsstatic final Insetsfinal InsetsscaledInstance(double dScale) Returns a new instance with scaled members w.r.t this instance.voidset(double dTop, double dLeft, double dBottom, double dRight) A convenient method for initializing member variables.voidsetBottom(double newBottom) voidsetLeft(double newLeft) voidsetRight(double newRight) voidsetTop(double newTop) toString()voidvoidvoidvoidunsetTop()Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIMethods 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, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getTop
public double getTop() -
setTop
public void setTop(double newTop) -
unsetTop
public void unsetTop() -
isSetTop
public boolean isSetTop() -
getLeft
public double getLeft() -
setLeft
public void setLeft(double newLeft) -
unsetLeft
public void unsetLeft() -
isSetLeft
public boolean isSetLeft() -
getBottom
public double getBottom() -
setBottom
public void setBottom(double newBottom) -
unsetBottom
public void unsetBottom()- Specified by:
unsetBottomin interfaceInsets- See Also:
-
isSetBottom
public boolean isSetBottom()- Specified by:
isSetBottomin interfaceInsets- Returns:
- whether the value of the 'Bottom' attribute is set.
- See Also:
-
getRight
public double getRight() -
setRight
public void setRight(double newRight) -
unsetRight
public void unsetRight()- Specified by:
unsetRightin interfaceInsets- See Also:
-
isSetRight
public boolean isSetRight()- Specified by:
isSetRightin interfaceInsets- Returns:
- whether the value of the 'Right' attribute is set.
- See Also:
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
set
public void set(double dTop, double dLeft, double dBottom, double dRight) A convenient method for initializing member variables. Note: Manually written -
create
A convenient method for creating an instance and initializing member variables. Note: Manually written- Parameters:
dTop-dLeft-dBottom-dRight-- Returns:
-
createDefault
A convenient method for creating an instance and initializing member variables. Note: Manually written- Parameters:
dTop-dLeft-dBottom-dRight-- Returns:
-
scaledInstance
Description copied from interface:InsetsReturns a new instance with scaled members w.r.t this instance. NOTE: Manually written- Specified by:
scaledInstancein interfaceInsets- Returns:
-
areLessThan
public boolean areLessThan(double dValue) Description copied from interface:InsetsA convenience method provdided to detect if all members are below a certain value NOTE: Manually written- Specified by:
areLessThanin interfaceInsets- Returns:
-
max
- Parameters:
ins1-ins2-- Returns:
-
min
- Parameters:
ins1-ins2-- Returns:
-
copyInstance
A convenient method to get an instance copy. This is much faster than the ECoreUtil.copy().- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceInsets
-
hashCode
public int hashCode() -
equals
-