|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object ' Block'. This type defines a modular area of a chart that can be positioned within the chart bounds.
The following features are supported:
ChildrenBoundsAnchorStretchInsetsRowColumnRowspanColumnspanMin SizeOutlineBackgroundVisibleTriggersWidth HintHeight Hint
LayoutPackage.getBlock()| Method Summary | |
void |
add(Block bl)
Adds a block into the children hierarchy |
java.util.Enumeration |
children(boolean bRecursive)
|
Anchor |
getAnchor()
Returns the value of the 'Anchor' attribute. |
Fill |
getBackground()
Returns the value of the 'Background' containment reference. |
Bounds |
getBounds()
Returns the value of the 'Bounds' containment reference. |
org.eclipse.emf.common.util.EList |
getChildren()
Returns the value of the 'Children' containment reference list. |
int |
getColumn()
Returns the value of the 'Column' attribute. |
int |
getColumnspan()
Returns the value of the 'Columnspan' attribute. |
double |
getHeightHint()
Returns the value of the 'Height Hint' attribute. |
Insets |
getInsets()
Returns the value of the 'Insets' containment reference. |
Size |
getMinSize()
Returns the value of the 'Min Size' containment reference. |
LineAttributes |
getOutline()
Returns the value of the 'Outline' containment reference. |
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()
Returns the value of the 'Row' attribute. |
int |
getRowspan()
Returns the value of the 'Rowspan' attribute. |
Stretch |
getStretch()
Returns the value of the 'Stretch' attribute. |
org.eclipse.emf.common.util.EList |
getTriggers()
Returns the value of the 'Triggers' containment reference list. |
double |
getWidthHint()
Returns the value of the 'Width Hint' attribute. |
boolean |
isCustom()
|
boolean |
isLegend()
|
boolean |
isPlot()
|
boolean |
isSetAnchor()
Returns whether the value of the ' Anchor' attribute is set. |
boolean |
isSetColumn()
Returns whether the value of the ' Column' attribute is set. |
boolean |
isSetColumnspan()
Returns whether the value of the ' Columnspan' attribute is set. |
boolean |
isSetHeightHint()
Returns whether the value of the ' Height Hint' attribute is set. |
boolean |
isSetRow()
Returns whether the value of the ' Row' attribute is set. |
boolean |
isSetRowspan()
Returns whether the value of the ' Rowspan' attribute is set. |
boolean |
isSetStretch()
Returns whether the value of the ' Stretch' attribute is set. |
boolean |
isSetVisible()
Returns whether the value of the ' Visible' attribute is set. |
boolean |
isSetWidthHint()
Returns whether the value of the ' Width Hint' attribute is set. |
boolean |
isText()
|
boolean |
isTitle()
|
boolean |
isVisible()
Returns the value of the 'Visible' attribute. |
void |
remove(Block bl)
Removes a block from the children hierarchy |
void |
setAnchor(Anchor value)
Sets the value of the ' Anchor' attribute. |
void |
setBackground(Fill value)
Sets the value of the ' Background' containment reference. |
void |
setBounds(Bounds value)
Sets the value of the ' Bounds' containment reference. |
void |
setColumn(int value)
Sets the value of the ' Column' attribute. |
void |
setColumnspan(int value)
Sets the value of the ' Columnspan' attribute. |
void |
setHeightHint(double value)
Sets the value of the ' Height Hint' attribute. |
void |
setInsets(Insets value)
Sets the value of the ' Insets' containment reference. |
void |
setMinSize(Size value)
Sets the value of the ' Min Size' containment reference. |
void |
setOutline(LineAttributes value)
Sets the value of the ' Outline' containment reference. |
void |
setRow(int value)
Sets the value of the ' Row' attribute. |
void |
setRowspan(int value)
Sets the value of the ' Rowspan' attribute. |
void |
setStretch(Stretch value)
Sets the value of the ' Stretch' attribute. |
void |
setVisible(boolean value)
Sets the value of the ' Visible' attribute. |
void |
setWidthHint(double value)
Sets the value of the ' Width Hint' attribute. |
void |
unsetAnchor()
Unsets the value of the ' Anchor' attribute. |
void |
unsetColumn()
Unsets the value of the ' Column' attribute. |
void |
unsetColumnspan()
Unsets the value of the ' Columnspan' attribute. |
void |
unsetHeightHint()
Unsets the value of the ' Height Hint' attribute. |
void |
unsetRow()
Unsets the value of the ' Row' attribute. |
void |
unsetRowspan()
Unsets the value of the ' Rowspan' attribute. |
void |
unsetStretch()
Unsets the value of the ' Stretch' attribute. |
void |
unsetVisible()
Unsets the value of the ' Visible' attribute. |
void |
unsetWidthHint()
Unsets the value of the ' Width Hint' attribute. |
| 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 |
| Method Detail |
public org.eclipse.emf.common.util.EList getChildren()
Block.
Gets the blocks contained within this block.
Specifies the block's children.
LayoutPackage.getBlock_Children()public Bounds getBounds()
setBounds(Bounds),
LayoutPackage.getBlock_Bounds()public void setBounds(Bounds value)
Bounds' containment reference.
value - the new value of the 'Bounds' containment reference.getBounds()public Anchor getAnchor()
"North". The literals are from the
enumeration Anchor.
Specifies where the content of the block is anchored.
Anchor,
isSetAnchor(),
unsetAnchor(),
setAnchor(Anchor),
LayoutPackage.getBlock_Anchor()public void setAnchor(Anchor value)
Anchor' attribute.
value - the new value of the 'Anchor' attribute.Anchor,
isSetAnchor(),
unsetAnchor(),
getAnchor()public void unsetAnchor()
Anchor' attribute.
isSetAnchor(),
getAnchor(),
setAnchor(Anchor)public boolean isSetAnchor()
Anchor' attribute is set.
unsetAnchor(),
getAnchor(),
setAnchor(Anchor)public Stretch getStretch()
"Horizontal". The literals are from the
enumeration Stretch.
Specifies how the content of the block fills up available space.
Stretch,
isSetStretch(),
unsetStretch(),
setStretch(Stretch),
LayoutPackage.getBlock_Stretch()public void setStretch(Stretch value)
Stretch' attribute.
value - the new value of the 'Stretch' attribute.Stretch,
isSetStretch(),
unsetStretch(),
getStretch()public void unsetStretch()
Stretch' attribute.
isSetStretch(),
getStretch(),
setStretch(Stretch)public boolean isSetStretch()
Stretch' attribute is set.
unsetStretch(),
getStretch(),
setStretch(Stretch)public Insets getInsets()
setInsets(Insets),
LayoutPackage.getBlock_Insets()public void setInsets(Insets value)
Insets' containment reference.
value - the new value of the 'Insets' containment reference.getInsets()public int getRow()
isSetRow(),
unsetRow(),
setRow(int),
LayoutPackage.getBlock_Row()public void setRow(int value)
Row' attribute.
value - the new value of the 'Row' attribute.isSetRow(),
unsetRow(),
getRow()public void unsetRow()
Row' attribute.
isSetRow(),
getRow(),
setRow(int)public boolean isSetRow()
Row' attribute is set.
unsetRow(),
getRow(),
setRow(int)public int getColumn()
isSetColumn(),
unsetColumn(),
setColumn(int),
LayoutPackage.getBlock_Column()public void setColumn(int value)
Column' attribute.
value - the new value of the 'Column' attribute.isSetColumn(),
unsetColumn(),
getColumn()public void unsetColumn()
Column' attribute.
isSetColumn(),
getColumn(),
setColumn(int)public boolean isSetColumn()
Column' attribute is set.
unsetColumn(),
getColumn(),
setColumn(int)public int getRowspan()
isSetRowspan(),
unsetRowspan(),
setRowspan(int),
LayoutPackage.getBlock_Rowspan()public void setRowspan(int value)
Rowspan' attribute.
value - the new value of the 'Rowspan' attribute.isSetRowspan(),
unsetRowspan(),
getRowspan()public void unsetRowspan()
Rowspan' attribute.
isSetRowspan(),
getRowspan(),
setRowspan(int)public boolean isSetRowspan()
Rowspan' attribute is set.
unsetRowspan(),
getRowspan(),
setRowspan(int)public int getColumnspan()
isSetColumnspan(),
unsetColumnspan(),
setColumnspan(int),
LayoutPackage.getBlock_Columnspan()public void setColumnspan(int value)
Columnspan' attribute.
value - the new value of the 'Columnspan' attribute.isSetColumnspan(),
unsetColumnspan(),
getColumnspan()public void unsetColumnspan()
Columnspan' attribute.
isSetColumnspan(),
getColumnspan(),
setColumnspan(int)public boolean isSetColumnspan()
Columnspan' attribute is set.
unsetColumnspan(),
getColumnspan(),
setColumnspan(int)public Size getMinSize()
setMinSize(Size),
LayoutPackage.getBlock_MinSize()public void setMinSize(Size value)
Min Size' containment reference.
value - the new value of the 'Min Size' containment reference.getMinSize()public LineAttributes getOutline()
setOutline(LineAttributes),
LayoutPackage.getBlock_Outline()public void setOutline(LineAttributes value)
Outline' containment reference.
value - the new value of the 'Outline' containment reference.getOutline()public Fill getBackground()
setBackground(Fill),
LayoutPackage.getBlock_Background()public void setBackground(Fill value)
Background' containment reference.
value - the new value of the 'Background' containment reference.getBackground()public boolean isVisible()
isSetVisible(),
unsetVisible(),
setVisible(boolean),
LayoutPackage.getBlock_Visible()public void setVisible(boolean value)
Visible' attribute.
value - the new value of the 'Visible' attribute.isSetVisible(),
unsetVisible(),
isVisible()public void unsetVisible()
Visible' attribute.
isSetVisible(),
isVisible(),
setVisible(boolean)public boolean isSetVisible()
Visible' attribute is set.
unsetVisible(),
isVisible(),
setVisible(boolean)public org.eclipse.emf.common.util.EList getTriggers()
Trigger.
Holds the actions for the block.
LayoutPackage.getBlock_Triggers()public double getWidthHint()
"-1".
Specifies a hinted width for the block.
isSetWidthHint(),
unsetWidthHint(),
setWidthHint(double),
LayoutPackage.getBlock_WidthHint()public void setWidthHint(double value)
Width Hint' attribute.
value - the new value of the 'Width Hint' attribute.isSetWidthHint(),
unsetWidthHint(),
getWidthHint()public void unsetWidthHint()
Width Hint' attribute.
isSetWidthHint(),
getWidthHint(),
setWidthHint(double)public boolean isSetWidthHint()
Width Hint' attribute is set.
unsetWidthHint(),
getWidthHint(),
setWidthHint(double)public double getHeightHint()
"-1".
Specifies a hinted height for the block.
isSetHeightHint(),
unsetHeightHint(),
setHeightHint(double),
LayoutPackage.getBlock_HeightHint()public void setHeightHint(double value)
Height Hint' attribute.
value - the new value of the 'Height Hint' attribute.isSetHeightHint(),
unsetHeightHint(),
getHeightHint()public void unsetHeightHint()
Height Hint' attribute.
isSetHeightHint(),
getHeightHint(),
setHeightHint(double)public boolean isSetHeightHint()
Height Hint' attribute is set.
unsetHeightHint(),
getHeightHint(),
setHeightHint(double)public java.util.Enumeration children(boolean bRecursive)
bRecursive -
public Size getPreferredSize(IDisplayServer xs,
Chart cm,
RunTimeContext rtc)
throws ChartException
xs - The Xserver used in computing the scaling factor (pixels =>
points)cm - The chart model instance (if needed)rtc -
GenerationException
ChartExceptionpublic boolean isCustom()
public boolean isPlot()
public boolean isLegend()
public boolean isText()
public boolean isTitle()
public void add(Block bl)
bl - public void remove(Block bl)
bl -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||