|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot.BarStyles
public class BarStyles
Provides several factory methods for constructing StyleSets
which dispense BarStyle
s.
Constructor Summary | |
---|---|
BarStyles()
|
Method Summary | |
---|---|
static StyleSet |
filled(String name)
Returns a new style set which draws filled full rectangles. |
static StyleSet |
filled3d(String name)
Returns a new style set which draws filled 3d full rectangles. |
static Icon |
getIcon(BarStyle.Form form)
Generates an icon based on a BarStlye.Form object. |
static Icon |
getIcon(StyleSet styleSet)
Generates an icon based on a StyleSet which displensed BarStyles. |
static StyleSet |
open(String name,
boolean rotateColor,
boolean rotateDash)
Returns a new style set which draws open full rectangles. |
static StyleSet |
sideFilled(String name)
Returns a new style set which draws filled rectangles side by side (one for each subset). |
static StyleSet |
sideFilled3d(String name)
Returns a new style set which draws 3d filled rectangles side by side (one for each subset). |
static StyleSet |
sideOpen(String name,
boolean rotateColor,
boolean rotateDash)
Returns a new style set which draws open rectangles side by side (one for each subset). |
static StyleSet |
spikes(String name,
boolean rotateColor,
boolean rotateDash)
Returns a new style set which draws a 1-d spike for each subset. |
static StyleSet |
tops(String name,
boolean rotateColor,
boolean rotateDash)
Returns a new style set which draws only the tops of bars. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BarStyles()
Method Detail |
---|
public static StyleSet filled(String name)
name
- style set name
public static StyleSet filled3d(String name)
name
- style set name
public static StyleSet open(String name, boolean rotateColor, boolean rotateDash)
name
- style set namerotateColor
- whether to have different colours for
different barsrotateDash
- whether to have different stroke styles
for different bars
public static StyleSet tops(String name, boolean rotateColor, boolean rotateDash)
name
- style set namerotateColor
- whether to have different colours for
different barsrotateDash
- whether to have different stroke styles
for different bars
public static StyleSet spikes(String name, boolean rotateColor, boolean rotateDash)
name
- style set namerotateColor
- whether to have different colours for
different barsrotateDash
- whether to have different stroke styles
for different bars
public static StyleSet sideFilled(String name)
name
- style set name
public static StyleSet sideFilled3d(String name)
name
- style set name
public static StyleSet sideOpen(String name, boolean rotateColor, boolean rotateDash)
name
- style set namerotateColor
- whether to have different colours for
different barsrotateDash
- whether to have different stroke styles
for different bars
public static Icon getIcon(StyleSet styleSet)
public static Icon getIcon(BarStyle.Form form)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |