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.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 TypeMethodDescriptionfinal void
Note: Manually writtenorg.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
basicSetCursor
(Cursor newCursor, 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) final Enumeration<Block>
children
(boolean bRecursive) Note: Manually writtenstatic Block
create()
A convenience method to create an initialized 'Block' instance Note: Manually writtenstatic Block
A convenience method to create an initialized 'Block' instance Note: Manually writteneGet
(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
void
eUnset
(int featureID) org.eclipse.emf.common.util.EList<Block>
int
int
double
getPreferredSize
(IDisplayServer xs, Chart cm, RunTimeContext rtc) Computes and returns the size of the title block based on the text content and its attributesint
getRow()
int
org.eclipse.emf.common.util.EList<Trigger>
double
boolean
isCustom()
Note: Manually writtenboolean
isLegend()
Note: Manually writtenboolean
isPlot()
Note: Manually writtenboolean
boolean
boolean
boolean
boolean
isSetRow()
boolean
boolean
boolean
boolean
boolean
isText()
Note: Manually writtenboolean
isTitle()
Note: Manually writtenboolean
final void
Note: Manually writtenvoid
void
setBackground
(Fill newBackground) void
void
setColumn
(int newColumn) void
setColumnspan
(int newColumnspan) void
void
setHeightHint
(double newHeightHint) void
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) toString()
void
void
void
void
void
unsetRow()
void
void
void
void
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, 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 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, 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
-
getChildren
- Specified by:
getChildren
in 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:
unsetAnchor
in interfaceBlock
- See Also:
-
isSetAnchor
public boolean isSetAnchor()- Specified by:
isSetAnchor
in interfaceBlock
- Returns:
- whether the value of the 'Anchor' attribute is set.
- See Also:
-
getStretch
- Specified by:
getStretch
in interfaceBlock
- Returns:
- the value of the 'Stretch' attribute.
- See Also:
-
setStretch
- Specified by:
setStretch
in interfaceBlock
- Parameters:
newStretch
- the new value of the 'Stretch' attribute.- See Also:
-
unsetStretch
public void unsetStretch()- Specified by:
unsetStretch
in interfaceBlock
- See Also:
-
isSetStretch
public boolean isSetStretch()- Specified by:
isSetStretch
in 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:
unsetColumn
in interfaceBlock
- See Also:
-
isSetColumn
public boolean isSetColumn()- Specified by:
isSetColumn
in interfaceBlock
- Returns:
- whether the value of the 'Column' attribute is set.
- See Also:
-
getRowspan
public int getRowspan()- Specified by:
getRowspan
in interfaceBlock
- Returns:
- the value of the 'Rowspan' attribute.
- See Also:
-
setRowspan
public void setRowspan(int newRowspan) - Specified by:
setRowspan
in interfaceBlock
- Parameters:
newRowspan
- the new value of the 'Rowspan' attribute.- See Also:
-
unsetRowspan
public void unsetRowspan()- Specified by:
unsetRowspan
in interfaceBlock
- See Also:
-
isSetRowspan
public boolean isSetRowspan()- Specified by:
isSetRowspan
in interfaceBlock
- Returns:
- whether the value of the 'Rowspan' attribute is set.
- See Also:
-
getColumnspan
public int getColumnspan()- Specified by:
getColumnspan
in interfaceBlock
- Returns:
- the value of the 'Columnspan' attribute.
- See Also:
-
setColumnspan
public void setColumnspan(int newColumnspan) - Specified by:
setColumnspan
in interfaceBlock
- Parameters:
newColumnspan
- the new value of the 'Columnspan' attribute.- See Also:
-
unsetColumnspan
public void unsetColumnspan()- Specified by:
unsetColumnspan
in interfaceBlock
- See Also:
-
isSetColumnspan
public boolean isSetColumnspan()- Specified by:
isSetColumnspan
in interfaceBlock
- Returns:
- whether the value of the 'Columnspan' attribute is set.
- See Also:
-
getMinSize
- Specified by:
getMinSize
in 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:
setMinSize
in interfaceBlock
- Parameters:
newMinSize
- the new value of the 'Min Size' containment reference.- See Also:
-
getOutline
- Specified by:
getOutline
in 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:
setOutline
in interfaceBlock
- Parameters:
newOutline
- the new value of the 'Outline' containment reference.- See Also:
-
getBackground
- Specified by:
getBackground
in 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:
setBackground
in 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:
setVisible
in interfaceBlock
- Parameters:
newVisible
- the new value of the 'Visible' attribute.- See Also:
-
unsetVisible
public void unsetVisible()- Specified by:
unsetVisible
in interfaceBlock
- See Also:
-
isSetVisible
public boolean isSetVisible()- Specified by:
isSetVisible
in interfaceBlock
- Returns:
- whether the value of the 'Visible' attribute is set.
- See Also:
-
getTriggers
- Specified by:
getTriggers
in interfaceBlock
- Returns:
- the value of the 'Triggers' containment reference list.
- See Also:
-
getWidthHint
public double getWidthHint()- Specified by:
getWidthHint
in interfaceBlock
- Returns:
- the value of the 'Width Hint' attribute.
- See Also:
-
setWidthHint
public void setWidthHint(double newWidthHint) - Specified by:
setWidthHint
in interfaceBlock
- Parameters:
newWidthHint
- the new value of the 'Width Hint' attribute.- See Also:
-
unsetWidthHint
public void unsetWidthHint()- Specified by:
unsetWidthHint
in interfaceBlock
- See Also:
-
isSetWidthHint
public boolean isSetWidthHint()- Specified by:
isSetWidthHint
in interfaceBlock
- Returns:
- whether the value of the 'Width Hint' attribute is set.
- See Also:
-
getHeightHint
public double getHeightHint()- Specified by:
getHeightHint
in interfaceBlock
- Returns:
- the value of the 'Height Hint' attribute.
- See Also:
-
setHeightHint
public void setHeightHint(double newHeightHint) - Specified by:
setHeightHint
in interfaceBlock
- Parameters:
newHeightHint
- the new value of the 'Height Hint' attribute.- See Also:
-
unsetHeightHint
public void unsetHeightHint()- Specified by:
unsetHeightHint
in interfaceBlock
- See Also:
-
isSetHeightHint
public boolean isSetHeightHint()- Specified by:
isSetHeightHint
in 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:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
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
-
children
Note: Manually written -
getPreferredSize
Description copied from interface:Block
Computes and returns the size of the title block based on the text content and its attributes- Specified by:
getPreferredSize
in 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:
copyInstance
in interfaceBlock
- Specified by:
copyInstance
in interfaceIChartObject
-