|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.birt.chart.model.layout.impl.BlockImpl
public class BlockImpl
An implementation of the model object ' Block'.
The following features are implemented:
ChildrenBoundsAnchorStretchInsetsRowColumnRowspanColumnspanMin SizeOutlineBackgroundVisibleTriggersWidth HintHeight Hint
| 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> |
| 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 | |
|---|---|
void |
add(Block bl)
Note: Manually written |
org.eclipse.emf.common.notify.NotificationChain |
basicSetBackground(Fill newBackground,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetBounds(Bounds newBounds,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetInsets(Insets newInsets,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetMinSize(Size newMinSize,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetOutline(LineAttributes newOutline,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
java.util.Enumeration |
children(boolean bRecursive)
Note: Manually written |
static Block |
create()
A convenience method to create an initialized 'Block' instance Note: Manually written |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
Anchor |
getAnchor()
|
Fill |
getBackground()
|
Bounds |
getBounds()
|
org.eclipse.emf.common.util.EList |
getChildren()
|
int |
getColumn()
|
int |
getColumnspan()
|
double |
getHeightHint()
|
Insets |
getInsets()
|
Size |
getMinSize()
|
LineAttributes |
getOutline()
|
Size |
getPreferredSize(IDisplayServer xs,
Chart cm,
RunTimeContext rtc)
Computes and returns the size of the title block based on the text content and its attributes |
int |
getRow()
|
int |
getRowspan()
|
Stretch |
getStretch()
|
org.eclipse.emf.common.util.EList |
getTriggers()
|
double |
getWidthHint()
|
boolean |
isCustom()
Note: Manually written |
boolean |
isLegend()
Note: Manually written |
boolean |
isPlot()
Note: Manually written |
boolean |
isSetAnchor()
|
boolean |
isSetColumn()
|
boolean |
isSetColumnspan()
|
boolean |
isSetHeightHint()
|
boolean |
isSetRow()
|
boolean |
isSetRowspan()
|
boolean |
isSetStretch()
|
boolean |
isSetVisible()
|
boolean |
isSetWidthHint()
|
boolean |
isText()
Note: Manually written |
boolean |
isTitle()
Note: Manually written |
boolean |
isVisible()
|
void |
remove(Block bl)
Note: Manually written |
void |
setAnchor(Anchor newAnchor)
|
void |
setBackground(Fill newBackground)
|
void |
setBounds(Bounds newBounds)
|
void |
setColumn(int newColumn)
|
void |
setColumnspan(int newColumnspan)
|
void |
setHeightHint(double newHeightHint)
|
void |
setInsets(Insets newInsets)
|
void |
setMinSize(Size newMinSize)
|
void |
setOutline(LineAttributes newOutline)
|
void |
setRow(int newRow)
|
void |
setRowspan(int newRowspan)
|
void |
setStretch(Stretch newStretch)
|
void |
setVisible(boolean newVisible)
|
void |
setWidthHint(double newWidthHint)
|
java.lang.String |
toString()
|
void |
unsetAnchor()
|
void |
unsetColumn()
|
void |
unsetColumnspan()
|
void |
unsetHeightHint()
|
void |
unsetRow()
|
void |
unsetRowspan()
|
void |
unsetStretch()
|
void |
unsetVisible()
|
void |
unsetWidthHint()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, 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, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Method Detail |
|---|
public org.eclipse.emf.common.util.EList getChildren()
getChildren in interface BlockLayoutPackage.getBlock_Children()public Bounds getBounds()
getBounds in interface BlockBlock.setBounds(Bounds),
LayoutPackage.getBlock_Bounds()
public org.eclipse.emf.common.notify.NotificationChain basicSetBounds(Bounds newBounds,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setBounds(Bounds newBounds)
setBounds in interface BlocknewBounds - the new value of the 'Bounds' containment reference.Block.getBounds()public Anchor getAnchor()
getAnchor in interface BlockAnchor,
Block.isSetAnchor(),
Block.unsetAnchor(),
Block.setAnchor(Anchor),
LayoutPackage.getBlock_Anchor()public void setAnchor(Anchor newAnchor)
setAnchor in interface BlocknewAnchor - the new value of the 'Anchor' attribute.Anchor,
Block.isSetAnchor(),
Block.unsetAnchor(),
Block.getAnchor()public void unsetAnchor()
unsetAnchor in interface BlockBlock.isSetAnchor(),
Block.getAnchor(),
Block.setAnchor(Anchor)public boolean isSetAnchor()
isSetAnchor in interface BlockBlock.unsetAnchor(),
Block.getAnchor(),
Block.setAnchor(Anchor)public Stretch getStretch()
getStretch in interface BlockStretch,
Block.isSetStretch(),
Block.unsetStretch(),
Block.setStretch(Stretch),
LayoutPackage.getBlock_Stretch()public void setStretch(Stretch newStretch)
setStretch in interface BlocknewStretch - the new value of the 'Stretch' attribute.Stretch,
Block.isSetStretch(),
Block.unsetStretch(),
Block.getStretch()public void unsetStretch()
unsetStretch in interface BlockBlock.isSetStretch(),
Block.getStretch(),
Block.setStretch(Stretch)public boolean isSetStretch()
isSetStretch in interface BlockBlock.unsetStretch(),
Block.getStretch(),
Block.setStretch(Stretch)public Insets getInsets()
getInsets in interface BlockBlock.setInsets(Insets),
LayoutPackage.getBlock_Insets()
public org.eclipse.emf.common.notify.NotificationChain basicSetInsets(Insets newInsets,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setInsets(Insets newInsets)
setInsets in interface BlocknewInsets - the new value of the 'Insets' containment reference.Block.getInsets()public int getRow()
getRow in interface BlockBlock.isSetRow(),
Block.unsetRow(),
Block.setRow(int),
LayoutPackage.getBlock_Row()public void setRow(int newRow)
setRow in interface BlocknewRow - the new value of the 'Row' attribute.Block.isSetRow(),
Block.unsetRow(),
Block.getRow()public void unsetRow()
unsetRow in interface BlockBlock.isSetRow(),
Block.getRow(),
Block.setRow(int)public boolean isSetRow()
isSetRow in interface BlockBlock.unsetRow(),
Block.getRow(),
Block.setRow(int)public int getColumn()
getColumn in interface BlockBlock.isSetColumn(),
Block.unsetColumn(),
Block.setColumn(int),
LayoutPackage.getBlock_Column()public void setColumn(int newColumn)
setColumn in interface BlocknewColumn - the new value of the 'Column' attribute.Block.isSetColumn(),
Block.unsetColumn(),
Block.getColumn()public void unsetColumn()
unsetColumn in interface BlockBlock.isSetColumn(),
Block.getColumn(),
Block.setColumn(int)public boolean isSetColumn()
isSetColumn in interface BlockBlock.unsetColumn(),
Block.getColumn(),
Block.setColumn(int)public int getRowspan()
getRowspan in interface BlockBlock.isSetRowspan(),
Block.unsetRowspan(),
Block.setRowspan(int),
LayoutPackage.getBlock_Rowspan()public void setRowspan(int newRowspan)
setRowspan in interface BlocknewRowspan - the new value of the 'Rowspan' attribute.Block.isSetRowspan(),
Block.unsetRowspan(),
Block.getRowspan()public void unsetRowspan()
unsetRowspan in interface BlockBlock.isSetRowspan(),
Block.getRowspan(),
Block.setRowspan(int)public boolean isSetRowspan()
isSetRowspan in interface BlockBlock.unsetRowspan(),
Block.getRowspan(),
Block.setRowspan(int)public int getColumnspan()
getColumnspan in interface BlockBlock.isSetColumnspan(),
Block.unsetColumnspan(),
Block.setColumnspan(int),
LayoutPackage.getBlock_Columnspan()public void setColumnspan(int newColumnspan)
setColumnspan in interface BlocknewColumnspan - the new value of the 'Columnspan' attribute.Block.isSetColumnspan(),
Block.unsetColumnspan(),
Block.getColumnspan()public void unsetColumnspan()
unsetColumnspan in interface BlockBlock.isSetColumnspan(),
Block.getColumnspan(),
Block.setColumnspan(int)public boolean isSetColumnspan()
isSetColumnspan in interface BlockBlock.unsetColumnspan(),
Block.getColumnspan(),
Block.setColumnspan(int)public Size getMinSize()
getMinSize in interface BlockBlock.setMinSize(Size),
LayoutPackage.getBlock_MinSize()
public org.eclipse.emf.common.notify.NotificationChain basicSetMinSize(Size newMinSize,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setMinSize(Size newMinSize)
setMinSize in interface BlocknewMinSize - the new value of the 'Min Size' containment reference.Block.getMinSize()public LineAttributes getOutline()
getOutline in interface BlockBlock.setOutline(LineAttributes),
LayoutPackage.getBlock_Outline()
public org.eclipse.emf.common.notify.NotificationChain basicSetOutline(LineAttributes newOutline,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setOutline(LineAttributes newOutline)
setOutline in interface BlocknewOutline - the new value of the 'Outline' containment reference.Block.getOutline()public Fill getBackground()
getBackground in interface BlockBlock.setBackground(Fill),
LayoutPackage.getBlock_Background()
public org.eclipse.emf.common.notify.NotificationChain basicSetBackground(Fill newBackground,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setBackground(Fill newBackground)
setBackground in interface BlocknewBackground - the new value of the 'Background' containment reference.Block.getBackground()public boolean isVisible()
isVisible in interface BlockBlock.isSetVisible(),
Block.unsetVisible(),
Block.setVisible(boolean),
LayoutPackage.getBlock_Visible()public void setVisible(boolean newVisible)
setVisible in interface BlocknewVisible - the new value of the 'Visible' attribute.Block.isSetVisible(),
Block.unsetVisible(),
Block.isVisible()public void unsetVisible()
unsetVisible in interface BlockBlock.isSetVisible(),
Block.isVisible(),
Block.setVisible(boolean)public boolean isSetVisible()
isSetVisible in interface BlockBlock.unsetVisible(),
Block.isVisible(),
Block.setVisible(boolean)public org.eclipse.emf.common.util.EList getTriggers()
getTriggers in interface BlockLayoutPackage.getBlock_Triggers()public double getWidthHint()
getWidthHint in interface BlockBlock.isSetWidthHint(),
Block.unsetWidthHint(),
Block.setWidthHint(double),
LayoutPackage.getBlock_WidthHint()public void setWidthHint(double newWidthHint)
setWidthHint in interface BlocknewWidthHint - the new value of the 'Width Hint' attribute.Block.isSetWidthHint(),
Block.unsetWidthHint(),
Block.getWidthHint()public void unsetWidthHint()
unsetWidthHint in interface BlockBlock.isSetWidthHint(),
Block.getWidthHint(),
Block.setWidthHint(double)public boolean isSetWidthHint()
isSetWidthHint in interface BlockBlock.unsetWidthHint(),
Block.getWidthHint(),
Block.setWidthHint(double)public double getHeightHint()
getHeightHint in interface BlockBlock.isSetHeightHint(),
Block.unsetHeightHint(),
Block.setHeightHint(double),
LayoutPackage.getBlock_HeightHint()public void setHeightHint(double newHeightHint)
setHeightHint in interface BlocknewHeightHint - the new value of the 'Height Hint' attribute.Block.isSetHeightHint(),
Block.unsetHeightHint(),
Block.getHeightHint()public void unsetHeightHint()
unsetHeightHint in interface BlockBlock.isSetHeightHint(),
Block.getHeightHint(),
Block.setHeightHint(double)public boolean isSetHeightHint()
isSetHeightHint in interface BlockBlock.unsetHeightHint(),
Block.getHeightHint(),
Block.setHeightHint(double)
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic final java.util.Enumeration children(boolean bRecursive)
children in interface BlockbRecursive -
public Size getPreferredSize(IDisplayServer xs,
Chart cm,
RunTimeContext rtc)
throws ChartException
Block
getPreferredSize in interface Blockxs - The Xserver used in computing the scaling factor (pixels =>
points)cm - The chart model instance (if needed)
ChartExceptionpublic boolean isPlot()
isPlot in interface Blockpublic boolean isLegend()
isLegend in interface Blockpublic boolean isText()
isText in interface Blockpublic boolean isCustom()
isCustom in interface Blockpublic boolean isTitle()
isTitle in interface Blockpublic final void add(Block bl)
add in interface Blockbl - public final void remove(Block bl)
remove in interface Blockbl - public static Block create()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||