Class BlockImpl
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.layout.impl.BlockImpl
- All Implemented Interfaces:
IChartObject,Block,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
- Direct Known Subclasses:
LabelBlockImpl,LegendImpl,PlotImpl
An implementation of the model object '
Block'.
The following features are implemented:
-
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 TypeMethodDescriptionfinal voidNote: Manually writtenorg.eclipse.emf.common.notify.NotificationChainbasicSetBackground(Fill newBackground, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetBounds(Bounds newBounds, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetCursor(Cursor newCursor, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetInsets(Insets newInsets, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetMinSize(Size newMinSize, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChainbasicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs) final Enumeration<Block>children(boolean bRecursive) Note: Manually writtenstatic Blockcreate()A convenience method to create an initialized 'Block' instance Note: Manually writtenstatic BlockA convenience method to create an initialized 'Block' instance Note: Manually writteneGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) voidvoideUnset(int featureID) org.eclipse.emf.common.util.EList<Block>intintdoublegetPreferredSize(IDisplayServer xs, Chart cm, RunTimeContext rtc) Computes and returns the size of the title block based on the text content and its attributesintgetRow()intorg.eclipse.emf.common.util.EList<Trigger>doublebooleanisCustom()Note: Manually writtenbooleanisLegend()Note: Manually writtenbooleanisPlot()Note: Manually writtenbooleanbooleanbooleanbooleanbooleanisSetRow()booleanbooleanbooleanbooleanbooleanisText()Note: Manually writtenbooleanisTitle()Note: Manually writtenbooleanfinal voidNote: Manually writtenvoidvoidsetBackground(Fill newBackground) voidvoidsetColumn(int newColumn) voidsetColumnspan(int newColumnspan) voidvoidsetHeightHint(double newHeightHint) voidvoidsetMinSize(Size newMinSize) voidsetOutline(LineAttributes newOutline) voidsetRow(int newRow) voidsetRowspan(int newRowspan) voidsetStretch(Stretch newStretch) voidsetVisible(boolean newVisible) voidsetWidthHint(double newWidthHint) toString()voidvoidvoidvoidvoidunsetRow()voidvoidvoidvoidMethods 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, 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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
getChildren
- Specified by:
getChildrenin interfaceBlock- Returns:
- the value of the 'Children' containment reference list.
- See Also:
-
getBounds
-
basicSetBounds
public org.eclipse.emf.common.notify.NotificationChain basicSetBounds(Bounds newBounds, org.eclipse.emf.common.notify.NotificationChain msgs) -
setBounds
-
getAnchor
-
setAnchor
-
unsetAnchor
public void unsetAnchor()- Specified by:
unsetAnchorin interfaceBlock- See Also:
-
isSetAnchor
public boolean isSetAnchor()- Specified by:
isSetAnchorin interfaceBlock- Returns:
- whether the value of the 'Anchor' attribute is set.
- See Also:
-
getStretch
- Specified by:
getStretchin interfaceBlock- Returns:
- the value of the 'Stretch' attribute.
- See Also:
-
setStretch
- Specified by:
setStretchin interfaceBlock- Parameters:
newStretch- the new value of the 'Stretch' attribute.- See Also:
-
unsetStretch
public void unsetStretch()- Specified by:
unsetStretchin interfaceBlock- See Also:
-
isSetStretch
public boolean isSetStretch()- Specified by:
isSetStretchin interfaceBlock- Returns:
- whether the value of the 'Stretch' attribute is set.
- See Also:
-
getInsets
-
basicSetInsets
public org.eclipse.emf.common.notify.NotificationChain basicSetInsets(Insets newInsets, org.eclipse.emf.common.notify.NotificationChain msgs) -
setInsets
-
getRow
public int getRow() -
setRow
public void setRow(int newRow) -
unsetRow
public void unsetRow() -
isSetRow
public boolean isSetRow() -
getColumn
public int getColumn() -
setColumn
public void setColumn(int newColumn) -
unsetColumn
public void unsetColumn()- Specified by:
unsetColumnin interfaceBlock- See Also:
-
isSetColumn
public boolean isSetColumn()- Specified by:
isSetColumnin interfaceBlock- Returns:
- whether the value of the 'Column' attribute is set.
- See Also:
-
getRowspan
public int getRowspan()- Specified by:
getRowspanin interfaceBlock- Returns:
- the value of the 'Rowspan' attribute.
- See Also:
-
setRowspan
public void setRowspan(int newRowspan) - Specified by:
setRowspanin interfaceBlock- Parameters:
newRowspan- the new value of the 'Rowspan' attribute.- See Also:
-
unsetRowspan
public void unsetRowspan()- Specified by:
unsetRowspanin interfaceBlock- See Also:
-
isSetRowspan
public boolean isSetRowspan()- Specified by:
isSetRowspanin interfaceBlock- Returns:
- whether the value of the 'Rowspan' attribute is set.
- See Also:
-
getColumnspan
public int getColumnspan()- Specified by:
getColumnspanin interfaceBlock- Returns:
- the value of the 'Columnspan' attribute.
- See Also:
-
setColumnspan
public void setColumnspan(int newColumnspan) - Specified by:
setColumnspanin interfaceBlock- Parameters:
newColumnspan- the new value of the 'Columnspan' attribute.- See Also:
-
unsetColumnspan
public void unsetColumnspan()- Specified by:
unsetColumnspanin interfaceBlock- See Also:
-
isSetColumnspan
public boolean isSetColumnspan()- Specified by:
isSetColumnspanin interfaceBlock- Returns:
- whether the value of the 'Columnspan' attribute is set.
- See Also:
-
getMinSize
- Specified by:
getMinSizein interfaceBlock- Returns:
- the value of the 'Min Size' containment reference.
- See Also:
-
basicSetMinSize
public org.eclipse.emf.common.notify.NotificationChain basicSetMinSize(Size newMinSize, org.eclipse.emf.common.notify.NotificationChain msgs) -
setMinSize
- Specified by:
setMinSizein interfaceBlock- Parameters:
newMinSize- the new value of the 'Min Size' containment reference.- See Also:
-
getOutline
- Specified by:
getOutlinein interfaceBlock- Returns:
- the value of the 'Outline' containment reference.
- See Also:
-
basicSetOutline
public org.eclipse.emf.common.notify.NotificationChain basicSetOutline(LineAttributes newOutline, org.eclipse.emf.common.notify.NotificationChain msgs) -
setOutline
- Specified by:
setOutlinein interfaceBlock- Parameters:
newOutline- the new value of the 'Outline' containment reference.- See Also:
-
getBackground
- Specified by:
getBackgroundin interfaceBlock- Returns:
- the value of the 'Background' containment reference.
- See Also:
-
basicSetBackground
public org.eclipse.emf.common.notify.NotificationChain basicSetBackground(Fill newBackground, org.eclipse.emf.common.notify.NotificationChain msgs) -
setBackground
- Specified by:
setBackgroundin interfaceBlock- Parameters:
newBackground- the new value of the 'Background' containment reference.- See Also:
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean newVisible) - Specified by:
setVisiblein interfaceBlock- Parameters:
newVisible- the new value of the 'Visible' attribute.- See Also:
-
unsetVisible
public void unsetVisible()- Specified by:
unsetVisiblein interfaceBlock- See Also:
-
isSetVisible
public boolean isSetVisible()- Specified by:
isSetVisiblein interfaceBlock- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
-
getTriggers
- Specified by:
getTriggersin interfaceBlock- Returns:
- the value of the 'Triggers' containment reference list.
- See Also:
-
getWidthHint
public double getWidthHint()- Specified by:
getWidthHintin interfaceBlock- Returns:
- the value of the 'Width Hint' attribute.
- See Also:
-
setWidthHint
public void setWidthHint(double newWidthHint) - Specified by:
setWidthHintin interfaceBlock- Parameters:
newWidthHint- the new value of the 'Width Hint' attribute.- See Also:
-
unsetWidthHint
public void unsetWidthHint()- Specified by:
unsetWidthHintin interfaceBlock- See Also:
-
isSetWidthHint
public boolean isSetWidthHint()- Specified by:
isSetWidthHintin interfaceBlock- Returns:
- whether the value of the 'Width Hint' attribute is set.
- See Also:
-
getHeightHint
public double getHeightHint()- Specified by:
getHeightHintin interfaceBlock- Returns:
- the value of the 'Height Hint' attribute.
- See Also:
-
setHeightHint
public void setHeightHint(double newHeightHint) - Specified by:
setHeightHintin interfaceBlock- Parameters:
newHeightHint- the new value of the 'Height Hint' attribute.- See Also:
-
unsetHeightHint
public void unsetHeightHint()- Specified by:
unsetHeightHintin interfaceBlock- See Also:
-
isSetHeightHint
public boolean isSetHeightHint()- Specified by:
isSetHeightHintin interfaceBlock- Returns:
- whether the value of the 'Height Hint' attribute is set.
- See Also:
-
getCursor
-
basicSetCursor
public org.eclipse.emf.common.notify.NotificationChain basicSetCursor(Cursor newCursor, org.eclipse.emf.common.notify.NotificationChain msgs) -
setCursor
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
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
-
children
Note: Manually written -
getPreferredSize
Description copied from interface:BlockComputes and returns the size of the title block based on the text content and its attributes- Specified by:
getPreferredSizein interfaceBlock- Parameters:
xs- The Xserver used in computing the scaling factor (pixels => points)cm- The chart model instance (if needed)- Returns:
- The preferred size of the title block 'in points'
- Throws:
ChartException
-
isPlot
public boolean isPlot()Note: Manually written -
isLegend
public boolean isLegend()Note: Manually written -
isText
public boolean isText()Note: Manually written -
isCustom
public boolean isCustom()Note: Manually written -
isTitle
public boolean isTitle()Note: Manually written -
add
Note: Manually written -
remove
Note: Manually written -
create
A convenience method to create an initialized 'Block' instance Note: Manually written- Returns:
-
createDefault
A convenience method to create an initialized 'Block' instance Note: Manually written- Returns:
-
copyInstance
- Specified by:
copyInstancein interfaceBlock- Specified by:
copyInstancein interfaceIChartObject
-