|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Axis'. This type defines the basic elements that are expected in any axis. This can further be extended for special axis types.
The following features are supported:
Type
Title
Sub Title
Title Position
Associated Axes
Ancillary Axes
Series Definitions
Gap Width
Orientation
Line Attributes
Label
Format Specifier
Label Position
Staggered
Interval
Marker Lines
Marker Ranges
Triggers
Major Grid
Minor Grid
Scale
Origin
Primary Axis
Category Axis
Percent
ComponentPackage.getAxis()
Field Summary | |
static int |
ANCILLARY_BASE
|
static int |
BASE
|
static int |
ORTHOGONAL
|
Method Summary | |
org.eclipse.emf.common.util.EList |
getAncillaryAxes()
Returns the value of the 'Ancillary Axes' containment reference list. |
org.eclipse.emf.common.util.EList |
getAssociatedAxes()
Returns the value of the 'Associated Axes' containment reference list. |
FormatSpecifier |
getFormatSpecifier()
Returns the value of the 'Format Specifier' containment reference. |
double |
getGapWidth()
Returns the value of the 'Gap Width' attribute. |
int |
getInterval()
Returns the value of the 'Interval' attribute. |
Label |
getLabel()
Returns the value of the 'Label' containment reference. |
Position |
getLabelPosition()
Returns the value of the 'Label Position' attribute. |
LineAttributes |
getLineAttributes()
Returns the value of the 'Line Attributes' containment reference. |
Grid |
getMajorGrid()
Returns the value of the 'Major Grid' containment reference. |
org.eclipse.emf.common.util.EList |
getMarkerLines()
Returns the value of the 'Marker Lines' containment reference list. |
org.eclipse.emf.common.util.EList |
getMarkerRanges()
Returns the value of the 'Marker Ranges' containment reference list. |
Grid |
getMinorGrid()
Returns the value of the 'Minor Grid' containment reference. |
Orientation |
getOrientation()
Returns the value of the 'Orientation' attribute. |
AxisOrigin |
getOrigin()
Returns the value of the 'Origin' containment reference. |
Series[] |
getRuntimeSeries()
|
Scale |
getScale()
Returns the value of the 'Scale' containment reference. |
org.eclipse.emf.common.util.EList |
getSeriesDefinitions()
Returns the value of the 'Series Definitions' containment reference list. |
Label |
getSubTitle()
Returns the value of the 'Sub Title' containment reference. |
Label |
getTitle()
Returns the value of the 'Title' containment reference. |
Position |
getTitlePosition()
Returns the value of the 'Title Position' attribute. |
org.eclipse.emf.common.util.EList |
getTriggers()
Returns the value of the 'Triggers' containment reference list. |
AxisType |
getType()
Returns the value of the 'Type' attribute. |
boolean |
isCategoryAxis()
Returns the value of the 'Category Axis' attribute. |
boolean |
isPercent()
Returns the value of the 'Percent' attribute. |
boolean |
isPrimaryAxis()
Returns the value of the 'Primary Axis' attribute. |
boolean |
isSetCategoryAxis()
Returns whether the value of the ' Category Axis ' attribute is set. |
boolean |
isSetGapWidth()
Returns whether the value of the ' Gap Width ' attribute is set. |
boolean |
isSetInterval()
Returns whether the value of the ' Interval ' attribute is set. |
boolean |
isSetLabelPosition()
Returns whether the value of the ' Label Position ' attribute is set. |
boolean |
isSetOrientation()
Returns whether the value of the ' Orientation ' attribute is set. |
boolean |
isSetPercent()
Returns whether the value of the ' Percent ' attribute is set. |
boolean |
isSetPrimaryAxis()
Returns whether the value of the ' Primary Axis ' attribute is set. |
boolean |
isSetStaggered()
Returns whether the value of the ' Staggered ' attribute is set. |
boolean |
isSetTitlePosition()
Returns whether the value of the ' Title Position ' attribute is set. |
boolean |
isSetType()
Returns whether the value of the ' Type ' attribute is set. |
boolean |
isStaggered()
Returns the value of the 'Staggered' attribute. |
void |
setCategoryAxis(boolean value)
Sets the value of the ' Category Axis ' attribute. |
void |
setFormatSpecifier(FormatSpecifier value)
Sets the value of the ' Format Specifier ' containment reference. |
void |
setGapWidth(double value)
Sets the value of the ' Gap Width ' attribute. |
void |
setInterval(int value)
Sets the value of the ' Interval ' attribute. |
void |
setLabel(Label value)
Sets the value of the ' Label ' containment reference. |
void |
setLabelPosition(Position value)
Sets the value of the ' Label Position ' attribute. |
void |
setLineAttributes(LineAttributes value)
Sets the value of the ' Line Attributes ' containment reference. |
void |
setMajorGrid(Grid value)
Sets the value of the ' Major Grid ' containment reference. |
void |
setMinorGrid(Grid value)
Sets the value of the ' Minor Grid ' containment reference. |
void |
setOrientation(Orientation value)
Sets the value of the ' Orientation ' attribute. |
void |
setOrigin(AxisOrigin value)
Sets the value of the ' Origin ' containment reference. |
void |
setPercent(boolean value)
Sets the value of the ' Percent ' attribute. |
void |
setPrimaryAxis(boolean value)
Sets the value of the ' Primary Axis ' attribute. |
void |
setScale(Scale value)
Sets the value of the ' Scale ' containment reference. |
void |
setStaggered(boolean value)
Sets the value of the ' Staggered ' attribute. |
void |
setSubTitle(Label value)
Sets the value of the ' Sub Title ' containment reference. |
void |
setTitle(Label value)
Sets the value of the ' Title ' containment reference. |
void |
setTitlePosition(Position value)
Sets the value of the ' Title Position ' attribute. |
void |
setType(AxisType value)
Sets the value of the ' Type ' attribute. |
void |
unsetCategoryAxis()
Unsets the value of the ' Category Axis ' attribute. |
void |
unsetGapWidth()
Unsets the value of the ' Gap Width ' attribute. |
void |
unsetInterval()
Unsets the value of the ' Interval ' attribute. |
void |
unsetLabelPosition()
Unsets the value of the ' Label Position ' attribute. |
void |
unsetOrientation()
Unsets the value of the ' Orientation ' attribute. |
void |
unsetPercent()
Unsets the value of the ' Percent ' attribute. |
void |
unsetPrimaryAxis()
Unsets the value of the ' Primary Axis ' attribute. |
void |
unsetStaggered()
Unsets the value of the ' Staggered ' attribute. |
void |
unsetTitlePosition()
Unsets the value of the ' Title Position ' attribute. |
void |
unsetType()
Unsets the value of the ' Type ' 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 |
Field Detail |
public static final int BASE
public static final int ORTHOGONAL
public static final int ANCILLARY_BASE
Method Detail |
public AxisType getType()
"Linear"
.
The literals are from the enumeration AxisType
. Returns the type of the axis. The type specifies the data that can be used by associated
series. The expected types with the data type expected is as follows:
AxisType
,
isSetType()
,
unsetType()
,
setType(AxisType)
,
ComponentPackage.getAxis_Type()
public void setType(AxisType value)
Type
' attribute.
value
- the new value of the 'Type' attribute.AxisType
,
isSetType()
,
unsetType()
,
getType()
public void unsetType()
Type
' attribute.
isSetType()
,
getType()
,
setType(AxisType)
public boolean isSetType()
Type
' attribute is set.
unsetType()
,
getType()
,
setType(AxisType)
public Label getTitle()
setTitle(Label)
,
ComponentPackage.getAxis_Title()
public void setTitle(Label value)
Title
' containment reference.
value
- the new value of the 'Title' containment reference.getTitle()
public Label getSubTitle()
setSubTitle(Label)
,
ComponentPackage.getAxis_SubTitle()
public void setSubTitle(Label value)
Sub Title
' containment reference.
value
- the new value of the 'Sub Title' containment reference.getSubTitle()
public Position getTitlePosition()
"Above"
. The literals are from the enumeration
Position
.
Specifies where the title for the axis should be displayed.
Position
,
isSetTitlePosition()
,
unsetTitlePosition()
,
setTitlePosition(Position)
,
ComponentPackage.getAxis_TitlePosition()
public void setTitlePosition(Position value)
Title Position
' attribute.
value
- the new value of the 'Title Position' attribute.Position
,
isSetTitlePosition()
,
unsetTitlePosition()
,
getTitlePosition()
public void unsetTitlePosition()
Title Position
' attribute.
isSetTitlePosition()
,
getTitlePosition()
,
setTitlePosition(Position)
public boolean isSetTitlePosition()
Title Position
' attribute is set.
unsetTitlePosition()
,
getTitlePosition()
,
setTitlePosition(Position)
public org.eclipse.emf.common.util.EList getAssociatedAxes()
Axis
. Gets the list of orthogonal
axes associated with this axis. (This call only makes sence when made on Base axes.)
Holds the value orthogonal axes associated with this axis.
ComponentPackage.getAxis_AssociatedAxes()
public org.eclipse.emf.common.util.EList getAncillaryAxes()
Axis
.
Holds the value ancillary base axes associated with this axis.
ComponentPackage.getAxis_AncillaryAxes()
public org.eclipse.emf.common.util.EList getSeriesDefinitions()
SeriesDefinition
.
Defines the source of the series.
ComponentPackage.getAxis_SeriesDefinitions()
public double getGapWidth()
isSetGapWidth()
,
unsetGapWidth()
,
setGapWidth(double)
,
ComponentPackage.getAxis_GapWidth()
public void setGapWidth(double value)
Gap Width
' attribute.
value
- the new value of the 'Gap Width' attribute.isSetGapWidth()
,
unsetGapWidth()
,
getGapWidth()
public void unsetGapWidth()
Gap Width
' attribute.
isSetGapWidth()
,
getGapWidth()
,
setGapWidth(double)
public boolean isSetGapWidth()
Gap Width
' attribute is set.
unsetGapWidth()
,
getGapWidth()
,
setGapWidth(double)
public Orientation getOrientation()
"Horizontal"
. The literals are from the enumeration
Orientation
. Gets the orientation of the
axis. This will be affected by the Orientation for the chart as a whole.
Specifies the orientation of the Axis.
Orientation
,
isSetOrientation()
,
unsetOrientation()
,
setOrientation(Orientation)
,
ComponentPackage.getAxis_Orientation()
public void setOrientation(Orientation value)
Orientation
' attribute.
value
- the new value of the 'Orientation' attribute.Orientation
,
isSetOrientation()
,
unsetOrientation()
,
getOrientation()
public void unsetOrientation()
Orientation
' attribute.
isSetOrientation()
,
getOrientation()
,
setOrientation(Orientation)
public boolean isSetOrientation()
Orientation
' attribute is set.
unsetOrientation()
,
getOrientation()
,
setOrientation(Orientation)
public LineAttributes getLineAttributes()
setLineAttributes(LineAttributes)
,
ComponentPackage.getAxis_LineAttributes()
public void setLineAttributes(LineAttributes value)
Line Attributes
' containment reference.
value
- the new value of the 'Line Attributes' containment reference.getLineAttributes()
public Label getLabel()
setLabel(Label)
,
ComponentPackage.getAxis_Label()
public void setLabel(Label value)
Label
' containment reference.
value
- the new value of the 'Label' containment reference.getLabel()
public FormatSpecifier getFormatSpecifier()
setFormatSpecifier(FormatSpecifier)
,
ComponentPackage.getAxis_FormatSpecifier()
public void setFormatSpecifier(FormatSpecifier value)
Format Specifier
' containment reference.
value
- the new value of the 'Format Specifier' containment reference.getFormatSpecifier()
public Position getLabelPosition()
"Above"
. The literals are from the enumeration
Position
.
Specifies where the labels for the axis should be displayed.
Position
,
isSetLabelPosition()
,
unsetLabelPosition()
,
setLabelPosition(Position)
,
ComponentPackage.getAxis_LabelPosition()
public void setLabelPosition(Position value)
Label Position
' attribute.
value
- the new value of the 'Label Position' attribute.Position
,
isSetLabelPosition()
,
unsetLabelPosition()
,
getLabelPosition()
public void unsetLabelPosition()
Label Position
' attribute.
isSetLabelPosition()
,
getLabelPosition()
,
setLabelPosition(Position)
public boolean isSetLabelPosition()
Label Position
' attribute is set.
unsetLabelPosition()
,
getLabelPosition()
,
setLabelPosition(Position)
public boolean isStaggered()
isSetStaggered()
,
unsetStaggered()
,
setStaggered(boolean)
,
ComponentPackage.getAxis_Staggered()
public void setStaggered(boolean value)
Staggered
' attribute.
value
- the new value of the 'Staggered' attribute.isSetStaggered()
,
unsetStaggered()
,
isStaggered()
public void unsetStaggered()
Staggered
' attribute.
isSetStaggered()
,
isStaggered()
,
setStaggered(boolean)
public boolean isSetStaggered()
Staggered
' attribute is set.
unsetStaggered()
,
isStaggered()
,
setStaggered(boolean)
public int getInterval()
"1"
.
Specifies the showing interval for the labels.
isSetInterval()
,
unsetInterval()
,
setInterval(int)
,
ComponentPackage.getAxis_Interval()
public void setInterval(int value)
Interval
' attribute.
value
- the new value of the 'Interval' attribute.isSetInterval()
,
unsetInterval()
,
getInterval()
public void unsetInterval()
Interval
' attribute.
isSetInterval()
,
getInterval()
,
setInterval(int)
public boolean isSetInterval()
Interval
' attribute is set.
unsetInterval()
,
getInterval()
,
setInterval(int)
public org.eclipse.emf.common.util.EList getMarkerLines()
MarkerLine
.
Defines a set of markers for positions on the axis scale displayed as lines across the plot at those locations.
ComponentPackage.getAxis_MarkerLines()
public org.eclipse.emf.common.util.EList getMarkerRanges()
MarkerRange
.
Defines a set of marker areas for a range of values on the axis displayed as filled rectangles extending across
the plot between the start and end positions.
ComponentPackage.getAxis_MarkerRanges()
public org.eclipse.emf.common.util.EList getTriggers()
Trigger
.
Holds the triggers for the axis.
ComponentPackage.getAxis_Triggers()
public Grid getMajorGrid()
setMajorGrid(Grid)
,
ComponentPackage.getAxis_MajorGrid()
public void setMajorGrid(Grid value)
Major Grid
' containment reference.
value
- the new value of the 'Major Grid' containment reference.getMajorGrid()
public Grid getMinorGrid()
setMinorGrid(Grid)
,
ComponentPackage.getAxis_MinorGrid()
public void setMinorGrid(Grid value)
Minor Grid
' containment reference.
value
- the new value of the 'Minor Grid' containment reference.getMinorGrid()
public Scale getScale()
setScale(Scale)
,
ComponentPackage.getAxis_Scale()
public void setScale(Scale value)
Scale
' containment reference.
value
- the new value of the 'Scale' containment reference.getScale()
public AxisOrigin getOrigin()
setOrigin(AxisOrigin)
,
ComponentPackage.getAxis_Origin()
public void setOrigin(AxisOrigin value)
Origin
' containment reference.
value
- the new value of the 'Origin' containment reference.getOrigin()
public boolean isPrimaryAxis()
isSetPrimaryAxis()
,
unsetPrimaryAxis()
,
setPrimaryAxis(boolean)
,
ComponentPackage.getAxis_PrimaryAxis()
public void setPrimaryAxis(boolean value)
Primary Axis
' attribute.
value
- the new value of the 'Primary Axis' attribute.isSetPrimaryAxis()
,
unsetPrimaryAxis()
,
isPrimaryAxis()
public void unsetPrimaryAxis()
Primary Axis
' attribute.
isSetPrimaryAxis()
,
isPrimaryAxis()
,
setPrimaryAxis(boolean)
public boolean isSetPrimaryAxis()
Primary Axis
' attribute is set.
unsetPrimaryAxis()
,
isPrimaryAxis()
,
setPrimaryAxis(boolean)
public boolean isCategoryAxis()
isSetCategoryAxis()
,
unsetCategoryAxis()
,
setCategoryAxis(boolean)
,
ComponentPackage.getAxis_CategoryAxis()
public void setCategoryAxis(boolean value)
Category Axis
' attribute.
value
- the new value of the 'Category Axis' attribute.isSetCategoryAxis()
,
unsetCategoryAxis()
,
isCategoryAxis()
public void unsetCategoryAxis()
Category Axis
' attribute.
isSetCategoryAxis()
,
isCategoryAxis()
,
setCategoryAxis(boolean)
public boolean isSetCategoryAxis()
Category Axis
' attribute is set.
unsetCategoryAxis()
,
isCategoryAxis()
,
setCategoryAxis(boolean)
public boolean isPercent()
isSetPercent()
,
unsetPercent()
,
setPercent(boolean)
,
ComponentPackage.getAxis_Percent()
public void setPercent(boolean value)
Percent
' attribute.
value
- the new value of the 'Percent' attribute.isSetPercent()
,
unsetPercent()
,
isPercent()
public void unsetPercent()
Percent
' attribute.
isSetPercent()
,
isPercent()
,
setPercent(boolean)
public boolean isSetPercent()
Percent
' attribute is set.
unsetPercent()
,
isPercent()
,
setPercent(boolean)
public Series[] getRuntimeSeries()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |