Interface Grid
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,IChartObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
GridImpl
A representation of the model object
'Grid'.
This type defines the grid associated with an axis.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Line Attributes' containment reference.Returns the value of the 'Tick Attributes' containment reference.int
Returns the value of the 'Tick Count' attribute.double
Returns the value of the 'Tick Size' attribute.Returns the value of the 'Tick Style' attribute.boolean
Returns whether the value of the 'Tick Count
' attribute is set.boolean
Returns whether the value of the 'Tick Size
' attribute is set.boolean
Returns whether the value of the 'Tick Style
' attribute is set.void
setLineAttributes
(LineAttributes value) Sets the value of the 'Line Attributes
' containment reference.void
setTickAttributes
(LineAttributes value) Sets the value of the 'Tick Attributes
' containment reference.void
setTickCount
(int value) Sets the value of the 'Tick Count
' attribute.void
setTickSize
(double value) Sets the value of the 'Tick Size
' attribute.void
setTickStyle
(TickStyle value) Sets the value of the 'Tick Style
' attribute.void
Unsets the value of the 'Tick Count
' attribute.void
Unsets the value of the 'Tick Size
' attribute.void
Unsets the value of the 'Tick Style
' attribute.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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getLineAttributes
LineAttributes getLineAttributes()Returns the value of the 'Line Attributes' containment reference. Holds formatting information for the grid lines.- Returns:
- the value of the 'Line Attributes' containment reference.
- See Also:
-
setLineAttributes
Sets the value of the 'Line Attributes
' containment reference.- Parameters:
value
- the new value of the 'Line Attributes' containment reference.- See Also:
-
getTickStyle
TickStyle getTickStyle()Returns the value of the 'Tick Style' attribute. The default value is"Left"
. The literals are from the enumerationTickStyle
. Specifies how the tick is to be marked for the grid line.- Returns:
- the value of the 'Tick Style' attribute.
- See Also:
-
setTickStyle
Sets the value of the 'Tick Style
' attribute.- Parameters:
value
- the new value of the 'Tick Style' attribute.- See Also:
-
unsetTickStyle
void unsetTickStyle()Unsets the value of the 'Tick Style
' attribute. -
isSetTickStyle
boolean isSetTickStyle()Returns whether the value of the 'Tick Style
' attribute is set.- Returns:
- whether the value of the 'Tick Style' attribute is set.
- See Also:
-
getTickAttributes
LineAttributes getTickAttributes()Returns the value of the 'Tick Attributes' containment reference. Specifies the formatting information for the tick.- Returns:
- the value of the 'Tick Attributes' containment reference.
- See Also:
-
setTickAttributes
Sets the value of the 'Tick Attributes
' containment reference.- Parameters:
value
- the new value of the 'Tick Attributes' containment reference.- See Also:
-
getTickSize
double getTickSize()Returns the value of the 'Tick Size' attribute. Specifies the formatting information for the tick.- Returns:
- the value of the 'Tick Size' attribute.
- See Also:
-
setTickSize
void setTickSize(double value) Sets the value of the 'Tick Size
' attribute.- Parameters:
value
- the new value of the 'Tick Size' attribute.- See Also:
-
unsetTickSize
void unsetTickSize()Unsets the value of the 'Tick Size
' attribute.- See Also:
-
isSetTickSize
boolean isSetTickSize()Returns whether the value of the 'Tick Size
' attribute is set.- Returns:
- whether the value of the 'Tick Size' attribute is set.
- See Also:
-
getTickCount
int getTickCount()Returns the value of the 'Tick Count' attribute. Specifies the frequency of the grid lines per unit of the scale.- Returns:
- the value of the 'Tick Count' attribute.
- See Also:
-
setTickCount
void setTickCount(int value) Sets the value of the 'Tick Count
' attribute.- Parameters:
value
- the new value of the 'Tick Count' attribute.- See Also:
-
unsetTickCount
void unsetTickCount()Unsets the value of the 'Tick Count
' attribute.- See Also:
-
isSetTickCount
boolean isSetTickCount()Returns whether the value of the 'Tick Count
' attribute is set.- Returns:
- whether the value of the 'Tick Count' attribute is set.
- See Also:
-
copyInstance
Grid copyInstance()- Specified by:
copyInstance
in interfaceIChartObject
-