|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.style.AbstractStyle<Tag>
lt.monarch.chart.style.HatchStyle<Tag>
public class HatchStyle<Tag extends AbstractPaintTags> extends AbstractStyle<Tag>
Hatch fill settings.
Use HatchFillPalette methods to access predefined hatch styles.
| Modifier and Type | Field and Description |
|---|---|
protected Style |
style
|
protected java.lang.String |
tag
Paint tags |
| Fields inherited from class lt.monarch.chart.style.AbstractStyle |
|---|
dirty |
| Constructor and Description |
|---|
HatchStyle(Style style,
java.lang.String tag)
Default hatch constructor |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes style object |
java.awt.Color[] |
getColors()
Gets start and end colors |
HatchFills |
getHatchFill()
Sets rendering paint |
java.awt.Paint |
getPaint()
Gets hatch paint. |
void |
setColors(java.awt.Color color1,
java.awt.Color color2)
Sets the gradient colors |
void |
setHatchFill(HatchFills fill)
Sets rendering paint |
void |
setPaint(java.awt.Paint paint)
Sets rendering paint |
| Methods inherited from class lt.monarch.chart.style.AbstractStyle |
|---|
finalize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Style style
protected java.lang.String tag
| Constructor Detail |
|---|
public HatchStyle(Style style,
java.lang.String tag)
style - stylesheet objecttag - hash paint tag| Method Detail |
|---|
public void setPaint(java.awt.Paint paint)
paint - hatch paintpublic void setHatchFill(HatchFills fill)
fill - hatch fill paintpublic HatchFills getHatchFill()
public java.awt.Paint getPaint()
public void setColors(java.awt.Color color1,
java.awt.Color color2)
color1 - 1st gradient colorcolor2 - 2nd gradient colorpublic java.awt.Color[] getColors()
public void dispose()
AbstractStyle
dispose in class AbstractStyle<Tag extends AbstractPaintTags>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||