public class BoundsImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Bounds
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| 限定符和类型 | 方法和说明 |
|---|---|
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
|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, 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, eVirtualUnsetpublic double getLeft()
getLeft 在接口中 BoundsBounds.isSetLeft(),
Bounds.unsetLeft(),
Bounds.setLeft(double),
AttributePackage.getBounds_Left()public void setLeft(double newLeft)
setLeft 在接口中 BoundsnewLeft - the new value of the 'Left' attribute.Bounds.isSetLeft(),
Bounds.unsetLeft(),
Bounds.getLeft()public void unsetLeft()
unsetLeft 在接口中 BoundsBounds.isSetLeft(),
Bounds.getLeft(),
Bounds.setLeft(double)public boolean isSetLeft()
isSetLeft 在接口中 BoundsBounds.unsetLeft(),
Bounds.getLeft(),
Bounds.setLeft(double)public double getTop()
getTop 在接口中 BoundsBounds.isSetTop(),
Bounds.unsetTop(),
Bounds.setTop(double),
AttributePackage.getBounds_Top()public void setTop(double newTop)
setTop 在接口中 BoundsnewTop - the new value of the 'Top' attribute.Bounds.isSetTop(),
Bounds.unsetTop(),
Bounds.getTop()public void unsetTop()
unsetTop 在接口中 BoundsBounds.isSetTop(),
Bounds.getTop(),
Bounds.setTop(double)public boolean isSetTop()
isSetTop 在接口中 BoundsBounds.unsetTop(),
Bounds.getTop(),
Bounds.setTop(double)public double getWidth()
getWidth 在接口中 BoundsBounds.isSetWidth(),
Bounds.unsetWidth(),
Bounds.setWidth(double),
AttributePackage.getBounds_Width()public void setWidth(double newWidth)
setWidth 在接口中 BoundsnewWidth - the new value of the 'Width' attribute.Bounds.isSetWidth(),
Bounds.unsetWidth(),
Bounds.getWidth()public void unsetWidth()
unsetWidth 在接口中 BoundsBounds.isSetWidth(),
Bounds.getWidth(),
Bounds.setWidth(double)public boolean isSetWidth()
isSetWidth 在接口中 BoundsBounds.unsetWidth(),
Bounds.getWidth(),
Bounds.setWidth(double)public double getHeight()
getHeight 在接口中 BoundsBounds.isSetHeight(),
Bounds.unsetHeight(),
Bounds.setHeight(double),
AttributePackage.getBounds_Height()public void setHeight(double newHeight)
setHeight 在接口中 BoundsnewHeight - the new value of the 'Height' attribute.Bounds.isSetHeight(),
Bounds.unsetHeight(),
Bounds.getHeight()public void unsetHeight()
unsetHeight 在接口中 BoundsBounds.isSetHeight(),
Bounds.getHeight(),
Bounds.setHeight(double)public boolean isSetHeight()
isSetHeight 在接口中 BoundsBounds.unsetHeight(),
Bounds.getHeight(),
Bounds.setHeight(double)public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet 在接口中 org.eclipse.emf.ecore.InternalEObjecteGet 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet 在接口中 org.eclipse.emf.ecore.InternalEObjecteSet 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset 在接口中 org.eclipse.emf.ecore.InternalEObjecteUnset 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet 在接口中 org.eclipse.emf.ecore.InternalEObjecteIsSet 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString 在类中 org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void set(double dLeft,
double dTop,
double dWidth,
double dHeight)
public static final Bounds create(double dLeft, double dTop, double dWidth, double dHeight)
dLeft - dTop - dWidth - dHeight - public static final Bounds createDefault(double dLeft, double dTop, double dWidth, double dHeight)
dLeft - dTop - dWidth - dHeight - public final Bounds adjustedInstance(Insets ins)
adjustedInstance 在接口中 Boundsins - public final Bounds translateInstance(double dTranslateX, double dTranslateY)
translateInstance 在接口中 BoundsdTranslateX - dTranslateY - public final void delta(double dLeft,
double dTop,
double dWidth,
double dHeight)
Boundspublic final void translate(double dTranslateX,
double dTranslateY)
Boundspublic final void scale(double dScale)
Boundspublic final Bounds scaledInstance(double dScale)
BoundsscaledInstance 在接口中 BoundsdScale - The scaling factorpublic void adjust(Insets ins)
Boundspublic void updateFrom(Location[] loa)
BoundsupdateFrom 在接口中 Boundspublic boolean contains(Location lo)
Boundspublic Bounds copyInstance()
copyInstance 在接口中 BoundscopyInstance 在接口中 IChartObjectCopyright © 2005-2008 Actuate Corp. All rights reserved.