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.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
Modifier and TypeMethodDescriptionboolean
areLessThan
(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 Insets
create
(double dTop, double dLeft, double dBottom, double dRight) A convenient method for creating an instance and initializing member variables.static final Insets
createDefault
(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) boolean
eIsSet
(int featureID) boolean
void
void
eUnset
(int featureID) double
double
getLeft()
double
getRight()
double
getTop()
int
hashCode()
boolean
boolean
boolean
boolean
isSetTop()
static final Insets
static final Insets
final Insets
scaledInstance
(double dScale) Returns a new instance with scaled members w.r.t this instance.void
set
(double dTop, double dLeft, double dBottom, double dRight) A convenient method for initializing member variables.void
setBottom
(double newBottom) void
setLeft
(double newLeft) void
setRight
(double newRight) void
setTop
(double newTop) toString()
void
void
void
void
unsetTop()
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 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
-
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:
unsetBottom
in interfaceInsets
- See Also:
-
isSetBottom
public boolean isSetBottom()- Specified by:
isSetBottom
in 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:
unsetRight
in interfaceInsets
- See Also:
-
isSetRight
public boolean isSetRight()- Specified by:
isSetRight
in interfaceInsets
- Returns:
- whether the value of the 'Right' attribute is set.
- See Also:
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in 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:Insets
Returns a new instance with scaled members w.r.t this instance. NOTE: Manually written- Specified by:
scaledInstance
in interfaceInsets
- Returns:
-
areLessThan
public boolean areLessThan(double dValue) Description copied from interface:Insets
A convenience method provdided to detect if all members are below a certain value NOTE: Manually written- Specified by:
areLessThan
in 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:
copyInstance
in interfaceIChartObject
- Specified by:
copyInstance
in interfaceInsets
-
hashCode
public int hashCode() -
equals
-