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>, 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
-
setTop
-
unsetTop
-
isSetTop
-
getLeft
-
setLeft
-
unsetLeft
-
isSetLeft
-
getBottom
-
setBottom
-
unsetBottom
-
isSetBottom
public boolean isSetBottom()- Specified by:
isSetBottomin interfaceInsets- Returns:
- whether the value of the 'Bottom' attribute is set.
- See Also:
-
getRight
-
setRight
-
unsetRight
-
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
-
set
-
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- Parameters:
dScale-- 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
-
min
-
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
-
equals
-