|
||||||||||
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:
Children
Bounds
Anchor
Stretch
Insets
Row
Column
Rowspan
Columnspan
Min Size
Outline
Background
Visible
Triggers
Width Hint
Height Hint
Cursor
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 |
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)
|
java.util.Enumeration<Block> |
children(boolean bRecursive)
Note: Manually written |
Block |
copyInstance()
A convenient method to get an instance copy. |
static Block |
create()
A convenience method to create an initialized 'Block' instance Note: Manually written |
static Block |
create(org.eclipse.emf.ecore.EObject parent,
org.eclipse.emf.ecore.EReference ref)
|
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<Block> |
getChildren()
|
int |
getColumn()
|
int |
getColumnspan()
|
Cursor |
getCursor()
|
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<Trigger> |
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 |
setCursor(Cursor newCursor)
|
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<Block> getChildren()
getChildren
in interface Block
LayoutPackage.getBlock_Children()
public Bounds getBounds()
getBounds
in interface Block
Block.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 Block
newBounds
- the new value of the 'Bounds' containment reference.Block.getBounds()
public Anchor getAnchor()
getAnchor
in interface Block
Anchor
,
Block.isSetAnchor()
,
Block.unsetAnchor()
,
Block.setAnchor(Anchor)
,
LayoutPackage.getBlock_Anchor()
public void setAnchor(Anchor newAnchor)
setAnchor
in interface Block
newAnchor
- the new value of the 'Anchor' attribute.Anchor
,
Block.isSetAnchor()
,
Block.unsetAnchor()
,
Block.getAnchor()
public void unsetAnchor()
unsetAnchor
in interface Block
Block.isSetAnchor()
,
Block.getAnchor()
,
Block.setAnchor(Anchor)
public boolean isSetAnchor()
isSetAnchor
in interface Block
Block.unsetAnchor()
,
Block.getAnchor()
,
Block.setAnchor(Anchor)
public Stretch getStretch()
getStretch
in interface Block
Stretch
,
Block.isSetStretch()
,
Block.unsetStretch()
,
Block.setStretch(Stretch)
,
LayoutPackage.getBlock_Stretch()
public void setStretch(Stretch newStretch)
setStretch
in interface Block
newStretch
- the new value of the 'Stretch' attribute.Stretch
,
Block.isSetStretch()
,
Block.unsetStretch()
,
Block.getStretch()
public void unsetStretch()
unsetStretch
in interface Block
Block.isSetStretch()
,
Block.getStretch()
,
Block.setStretch(Stretch)
public boolean isSetStretch()
isSetStretch
in interface Block
Block.unsetStretch()
,
Block.getStretch()
,
Block.setStretch(Stretch)
public Insets getInsets()
getInsets
in interface Block
Block.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 Block
newInsets
- the new value of the 'Insets' containment reference.Block.getInsets()
public int getRow()
getRow
in interface Block
Block.isSetRow()
,
Block.unsetRow()
,
Block.setRow(int)
,
LayoutPackage.getBlock_Row()
public void setRow(int newRow)
setRow
in interface Block
newRow
- the new value of the 'Row' attribute.Block.isSetRow()
,
Block.unsetRow()
,
Block.getRow()
public void unsetRow()
unsetRow
in interface Block
Block.isSetRow()
,
Block.getRow()
,
Block.setRow(int)
public boolean isSetRow()
isSetRow
in interface Block
Block.unsetRow()
,
Block.getRow()
,
Block.setRow(int)
public int getColumn()
getColumn
in interface Block
Block.isSetColumn()
,
Block.unsetColumn()
,
Block.setColumn(int)
,
LayoutPackage.getBlock_Column()
public void setColumn(int newColumn)
setColumn
in interface Block
newColumn
- the new value of the 'Column' attribute.Block.isSetColumn()
,
Block.unsetColumn()
,
Block.getColumn()
public void unsetColumn()
unsetColumn
in interface Block
Block.isSetColumn()
,
Block.getColumn()
,
Block.setColumn(int)
public boolean isSetColumn()
isSetColumn
in interface Block
Block.unsetColumn()
,
Block.getColumn()
,
Block.setColumn(int)
public int getRowspan()
getRowspan
in interface Block
Block.isSetRowspan()
,
Block.unsetRowspan()
,
Block.setRowspan(int)
,
LayoutPackage.getBlock_Rowspan()
public void setRowspan(int newRowspan)
setRowspan
in interface Block
newRowspan
- the new value of the 'Rowspan' attribute.Block.isSetRowspan()
,
Block.unsetRowspan()
,
Block.getRowspan()
public void unsetRowspan()
unsetRowspan
in interface Block
Block.isSetRowspan()
,
Block.getRowspan()
,
Block.setRowspan(int)
public boolean isSetRowspan()
isSetRowspan
in interface Block
Block.unsetRowspan()
,
Block.getRowspan()
,
Block.setRowspan(int)
public int getColumnspan()
getColumnspan
in interface Block
Block.isSetColumnspan()
,
Block.unsetColumnspan()
,
Block.setColumnspan(int)
,
LayoutPackage.getBlock_Columnspan()
public void setColumnspan(int newColumnspan)
setColumnspan
in interface Block
newColumnspan
- the new value of the 'Columnspan' attribute.Block.isSetColumnspan()
,
Block.unsetColumnspan()
,
Block.getColumnspan()
public void unsetColumnspan()
unsetColumnspan
in interface Block
Block.isSetColumnspan()
,
Block.getColumnspan()
,
Block.setColumnspan(int)
public boolean isSetColumnspan()
isSetColumnspan
in interface Block
Block.unsetColumnspan()
,
Block.getColumnspan()
,
Block.setColumnspan(int)
public Size getMinSize()
getMinSize
in interface Block
Block.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 Block
newMinSize
- the new value of the 'Min Size' containment reference.Block.getMinSize()
public LineAttributes getOutline()
getOutline
in interface Block
Block.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 Block
newOutline
- the new value of the 'Outline' containment reference.Block.getOutline()
public Fill getBackground()
getBackground
in interface Block
Block.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 Block
newBackground
- the new value of the 'Background' containment reference.Block.getBackground()
public boolean isVisible()
isVisible
in interface Block
Block.isSetVisible()
,
Block.unsetVisible()
,
Block.setVisible(boolean)
,
LayoutPackage.getBlock_Visible()
public void setVisible(boolean newVisible)
setVisible
in interface Block
newVisible
- the new value of the 'Visible' attribute.Block.isSetVisible()
,
Block.unsetVisible()
,
Block.isVisible()
public void unsetVisible()
unsetVisible
in interface Block
Block.isSetVisible()
,
Block.isVisible()
,
Block.setVisible(boolean)
public boolean isSetVisible()
isSetVisible
in interface Block
Block.unsetVisible()
,
Block.isVisible()
,
Block.setVisible(boolean)
public org.eclipse.emf.common.util.EList<Trigger> getTriggers()
getTriggers
in interface Block
LayoutPackage.getBlock_Triggers()
public double getWidthHint()
getWidthHint
in interface Block
Block.isSetWidthHint()
,
Block.unsetWidthHint()
,
Block.setWidthHint(double)
,
LayoutPackage.getBlock_WidthHint()
public void setWidthHint(double newWidthHint)
setWidthHint
in interface Block
newWidthHint
- the new value of the 'Width Hint' attribute.Block.isSetWidthHint()
,
Block.unsetWidthHint()
,
Block.getWidthHint()
public void unsetWidthHint()
unsetWidthHint
in interface Block
Block.isSetWidthHint()
,
Block.getWidthHint()
,
Block.setWidthHint(double)
public boolean isSetWidthHint()
isSetWidthHint
in interface Block
Block.unsetWidthHint()
,
Block.getWidthHint()
,
Block.setWidthHint(double)
public double getHeightHint()
getHeightHint
in interface Block
Block.isSetHeightHint()
,
Block.unsetHeightHint()
,
Block.setHeightHint(double)
,
LayoutPackage.getBlock_HeightHint()
public void setHeightHint(double newHeightHint)
setHeightHint
in interface Block
newHeightHint
- the new value of the 'Height Hint' attribute.Block.isSetHeightHint()
,
Block.unsetHeightHint()
,
Block.getHeightHint()
public void unsetHeightHint()
unsetHeightHint
in interface Block
Block.isSetHeightHint()
,
Block.getHeightHint()
,
Block.setHeightHint(double)
public boolean isSetHeightHint()
isSetHeightHint
in interface Block
Block.unsetHeightHint()
,
Block.getHeightHint()
,
Block.setHeightHint(double)
public Cursor getCursor()
getCursor
in interface Block
Block.setCursor(Cursor)
,
LayoutPackage.getBlock_Cursor()
public org.eclipse.emf.common.notify.NotificationChain basicSetCursor(Cursor newCursor, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setCursor(Cursor newCursor)
setCursor
in interface Block
newCursor
- the new value of the 'Cursor' containment reference.Block.getCursor()
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.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public final java.util.Enumeration<Block> children(boolean bRecursive)
children
in interface Block
bRecursive
-
public Size getPreferredSize(IDisplayServer xs, Chart cm, RunTimeContext rtc) throws ChartException
Block
getPreferredSize
in interface Block
xs
- The Xserver used in computing the scaling factor (pixels =>
points)cm
- The chart model instance (if needed)
ChartException
public boolean isPlot()
isPlot
in interface Block
public boolean isLegend()
isLegend
in interface Block
public boolean isText()
isText
in interface Block
public boolean isCustom()
isCustom
in interface Block
public boolean isTitle()
isTitle
in interface Block
public final void add(Block bl)
add
in interface Block
bl
- public final void remove(Block bl)
remove
in interface Block
bl
- public static Block create()
public Block copyInstance()
copyInstance
in interface Block
public static Block create(org.eclipse.emf.ecore.EObject parent, org.eclipse.emf.ecore.EReference ref)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |