|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.AbstractSequentialList
|
+--java.util.LinkedList
|
+--edu.ull.cgunay.plots.Grapher.Axis
An object that represent a data axis for the grapher. Describes
how to form a graph axis for specific Grapher. To be
instantiated by the Grapher.
| Field Summary | |
(package private) int |
fontSize
Font size for plot legends. 0 means default size. |
(package private) Range |
range
|
(package private) String |
title
Plot title. |
(package private) String |
xLabel
Label for the x-axis. |
(package private) String |
yLabel
Label for the y-axis. |
| Fields inherited from class java.util.LinkedList |
|
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
protected |
Grapher.Axis()
|
| Method Summary | |
(package private) void |
addData(Grapher.Data data)
Adds a new dataset to the axis. |
int |
getFontSize()
Get the FontSize value. |
Range |
getRange()
Get the value of range. |
(package private) abstract String |
getString()
Grapher specific code for generating the axis with the given data sets. |
String |
getTitle()
Get the value of title. |
String |
getXLabel()
Get the value of xLabel. |
String |
getYLabel()
Get the value of yLabel. |
void |
setFontSize(int newFontSize)
Set the FontSize value. |
void |
setRange(Range v)
Set the value of range. |
void |
setTitle(String v)
Set the value of title. |
void |
setXLabel(String v)
Set the value of xLabel. |
void |
setYLabel(String v)
Set the value of yLabel. |
| Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
| Methods inherited from class java.util.AbstractSequentialList |
iterator |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, listIterator, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
Range range
String title
String xLabel
String yLabel
int fontSize
| Constructor Detail |
protected Grapher.Axis()
| Method Detail |
public Range getRange()
getRange in interface HasAxisLabelspublic void setRange(Range v)
v - Value to assign to range.public String getTitle()
getTitle in interface HasAxisLabelspublic void setTitle(String v)
v - Value to assign to title.public String getXLabel()
getXLabel in interface HasAxisLabelspublic void setXLabel(String v)
v - Value to assign to xLabel.public String getYLabel()
getYLabel in interface HasAxisLabelspublic void setYLabel(String v)
v - Value to assign to yLabel.public int getFontSize()
getFontSize in interface HasAxisLabelspublic void setFontSize(int newFontSize)
newFontSize - The new FontSize value.void addData(Grapher.Data data)
data - a Data valueabstract String getString()
data instantiate all
variables.
String value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||