Interface Grid
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,IChartObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
GridImpl
public interface Grid extends IChartObject
A representation of the model object 'Grid'. This type defines the grid associated with an axis.The following features are supported:
- See Also:
ComponentPackage.getGrid()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GridcopyInstance()LineAttributesgetLineAttributes()Returns the value of the 'Line Attributes' containment reference.LineAttributesgetTickAttributes()Returns the value of the 'Tick Attributes' containment reference.intgetTickCount()Returns the value of the 'Tick Count' attribute.doublegetTickSize()Returns the value of the 'Tick Size' attribute.TickStylegetTickStyle()Returns the value of the 'Tick Style' attribute.booleanisSetTickCount()Returns whether the value of the 'Tick Count' attribute is set.booleanisSetTickSize()Returns whether the value of the 'Tick Size' attribute is set.booleanisSetTickStyle()Returns whether the value of the 'Tick Style' attribute is set.voidsetLineAttributes(LineAttributes value)Sets the value of the 'Line Attributes' containment reference.voidsetTickAttributes(LineAttributes value)Sets the value of the 'Tick Attributes' containment reference.voidsetTickCount(int value)Sets the value of the 'Tick Count' attribute.voidsetTickSize(double value)Sets the value of the 'Tick Size' attribute.voidsetTickStyle(TickStyle value)Sets the value of the 'Tick Style' attribute.voidunsetTickCount()Unsets the value of the 'Tick Count' attribute.voidunsetTickSize()Unsets the value of the 'Tick Size' attribute.voidunsetTickStyle()Unsets the value of the 'Tick Style' attribute.
-
-
-
Method Detail
-
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(LineAttributes),ComponentPackage.getGrid_LineAttributes()
-
setLineAttributes
void setLineAttributes(LineAttributes value)
Sets the value of the 'Line Attributes' containment reference.- Parameters:
value- the new value of the 'Line Attributes' containment reference.- See Also:
getLineAttributes()
-
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:
TickStyle,isSetTickStyle(),unsetTickStyle(),setTickStyle(TickStyle),ComponentPackage.getGrid_TickStyle()
-
setTickStyle
void setTickStyle(TickStyle value)
Sets the value of the 'Tick Style' attribute.- Parameters:
value- the new value of the 'Tick Style' attribute.- See Also:
TickStyle,isSetTickStyle(),unsetTickStyle(),getTickStyle()
-
unsetTickStyle
void unsetTickStyle()
Unsets the value of the 'Tick Style' attribute.- See Also:
isSetTickStyle(),getTickStyle(),setTickStyle(TickStyle)
-
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:
unsetTickStyle(),getTickStyle(),setTickStyle(TickStyle)
-
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(LineAttributes),ComponentPackage.getGrid_TickAttributes()
-
setTickAttributes
void setTickAttributes(LineAttributes value)
Sets the value of the 'Tick Attributes' containment reference.- Parameters:
value- the new value of the 'Tick Attributes' containment reference.- See Also:
getTickAttributes()
-
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:
isSetTickSize(),unsetTickSize(),setTickSize(double),ComponentPackage.getGrid_TickSize()
-
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:
isSetTickSize(),unsetTickSize(),getTickSize()
-
unsetTickSize
void unsetTickSize()
Unsets the value of the 'Tick Size' attribute.- See Also:
isSetTickSize(),getTickSize(),setTickSize(double)
-
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:
unsetTickSize(),getTickSize(),setTickSize(double)
-
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:
isSetTickCount(),unsetTickCount(),setTickCount(int),ComponentPackage.getGrid_TickCount()
-
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:
isSetTickCount(),unsetTickCount(),getTickCount()
-
unsetTickCount
void unsetTickCount()
Unsets the value of the 'Tick Count' attribute.- See Also:
isSetTickCount(),getTickCount(),setTickCount(int)
-
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:
unsetTickCount(),getTickCount(),setTickCount(int)
-
copyInstance
Grid copyInstance()
- Specified by:
copyInstancein interfaceIChartObject
-
-