public class BarStyles
extends java.lang.Object
BarStyle
s.Constructor and Description |
---|
BarStyles() |
Modifier and Type | Method and Description |
---|---|
static StyleSet |
filled(java.lang.String name)
Returns a new style set which draws filled full rectangles.
|
static StyleSet |
filled3d(java.lang.String name)
Returns a new style set which draws filled 3d full rectangles.
|
static javax.swing.Icon |
getIcon(BarStyle.Form form)
Generates an icon based on a BarStlye.Form object.
|
static javax.swing.Icon |
getIcon(StyleSet styleSet)
Generates an icon based on a StyleSet which displensed BarStyles.
|
static StyleSet |
open(java.lang.String name,
boolean rotateColor,
boolean rotateDash)
Returns a new style set which draws open full rectangles.
|
static StyleSet |
sideFilled(java.lang.String name)
Returns a new style set which draws filled rectangles side by
side (one for each subset).
|
static StyleSet |
sideFilled3d(java.lang.String name)
Returns a new style set which draws 3d filled rectangles side by
side (one for each subset).
|
static StyleSet |
sideOpen(java.lang.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(java.lang.String name,
boolean rotateColor,
boolean rotateDash)
Returns a new style set which draws a 1-d spike for each subset.
|
static StyleSet |
tops(java.lang.String name,
boolean rotateColor,
boolean rotateDash)
Returns a new style set which draws only the tops of bars.
|
public static StyleSet filled(java.lang.String name)
name
- style set namepublic static StyleSet filled3d(java.lang.String name)
name
- style set namepublic static StyleSet open(java.lang.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 barspublic static StyleSet tops(java.lang.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 barspublic static StyleSet spikes(java.lang.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 barspublic static StyleSet sideFilled(java.lang.String name)
name
- style set namepublic static StyleSet sideFilled3d(java.lang.String name)
name
- style set namepublic static StyleSet sideOpen(java.lang.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 barspublic static javax.swing.Icon getIcon(StyleSet styleSet)
public static javax.swing.Icon getIcon(BarStyle.Form form)
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.