|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.baka.webvm.misc.GraphStyle
public final class GraphStyle
Describes a style of graph to be drawn.
| Nested Class Summary | |
|---|---|
static class |
GraphStyle.GraphStyleEnum
A type of graph to draw. |
| Field Summary | |
|---|---|
String |
border
Draw a thin border around the table if not null. |
String |
caption
The caption of the graph. |
String[] |
colors
Display data in given colors. |
String[] |
fontColors
Display data captions in given colors. |
int |
height
The height of the graph in pixels. |
boolean |
showPercentage
Draw percentage values to the graph. |
boolean |
showValues
Draw values to the graph. |
GraphStyle.GraphStyleEnum |
style
The graph legend. |
boolean |
vertical
Vertical draws vertical (zero is in the left side) or horizontal bar (zero is on the bottom). |
int |
width
The width of the graph in pixels. |
boolean |
yLegend
Draw a legend for the Y axis. |
| Constructor Summary | |
|---|---|
GraphStyle()
Creates new object instance. |
|
GraphStyle(GraphStyle other)
Copy-constructor. |
|
| Method Summary | |
|---|---|
void |
validate()
Validates this value object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String caption
public boolean yLegend
public String border
public boolean vertical
public int width
public int height
public String[] colors
public String[] fontColors
public boolean showValues
public boolean showPercentage
public GraphStyle.GraphStyleEnum style
| Constructor Detail |
|---|
public GraphStyle()
public GraphStyle(GraphStyle other)
other - copy this instance, must not be null| Method Detail |
|---|
public void validate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||