|
|||||||||
| 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.PaintStyle<Tag>
public class PaintStyle<Tag extends AbstractPaintTags> extends AbstractStyle<Tag>
Color style class.
| Modifier and Type | Field and Description |
|---|---|
protected Style |
style
|
| Fields inherited from class lt.monarch.chart.style.AbstractStyle |
|---|
dirty |
| Constructor and Description |
|---|
PaintStyle(Style style)
Default color style constructor |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes style object |
java.awt.Color |
getBackground()
Gets background (toFill) color from stylesheet |
java.awt.Color |
getBackground(Tag tag)
Gets null background (toFill) color from stylesheet |
BackgroundImageStyle<Tag> |
getBackgroundImageStyle()
Gets background image object |
BackgroundImageStyle<Tag> |
getBackgroundImageStyle(Tag tag)
Gets background image object |
java.awt.Composite |
getComposite()
Gets the composite from the stylesheet |
java.awt.Composite |
getComposite(Tag tag)
Gets the composite from the stylesheet |
java.awt.Color |
getForeground()
Gets foreground (outline) color from stylesheet |
java.awt.Color |
getForeground(Tag tag)
Gets null foreground (outline) color from stylesheet |
GradientStyle<Tag> |
getGradientStyle()
Gets gradient object |
GradientStyle<Tag> |
getGradientStyle(Tag tag)
Gets gradient object |
HatchStyle<Tag> |
getHatchStyle()
Gets gradient object |
HatchStyle<Tag> |
getHatchStyle(Tag tag)
Gets hatch object |
PaintMode |
getPaintMode()
Gets paint mode of the object |
PaintMode |
getPaintMode(Tag tag)
Gets paint mode of the object |
java.awt.RenderingHints |
getRenderingHints()
Gets rendering hints from stylesheet |
java.awt.RenderingHints |
getRenderingHints(Tag tag)
Gets rendering hints from stylesheet |
int[] |
getShadowOffset()
Gets shadow offset. |
java.awt.Stroke |
getStroke()
Get stroke from stylesheet |
java.awt.Stroke |
getStroke(Tag tag)
Get stroke from stylesheet |
Style |
getStyleSheet()
Gets stylesheet |
int |
getTransparencyValue()
Gets the transparency value for the chart object |
int |
getTransparencyValue(Tag tag)
Gets the transparency value for the chart object |
boolean |
isFocused(int index)
Is the specified data point focused |
void |
setBackground(java.awt.Color color)
Sets background (toFill) color to stylesheet |
void |
setBackground(int color)
Sets background (toFill) color to stylesheet |
void |
setBackground(Tag tag,
java.awt.Color color)
Sets null value background (toFill) color to stylesheet |
void |
setBackground(Tag tag,
int color)
Sets null value background (toFill) color to stylesheet |
void |
setComposite(java.awt.Composite composite)
Sets composite to stylesheet |
void |
setComposite(Tag tag,
java.awt.Composite composite)
Sets composite to stylesheet |
void |
setForeground(java.awt.Color color)
Sets foreground (outline) color to stylesheet |
void |
setForeground(int color)
Sets foreground (outline) color to stylesheet |
void |
setForeground(Tag tag,
java.awt.Color color)
Sets null foreground (outline) color to stylesheet |
void |
setForeground(Tag tag,
int color)
Sets null foreground (outline) color to stylesheet |
void |
setPaintMode(PaintMode paintMode)
Sets object paint mode |
void |
setPaintMode(Tag tag,
PaintMode paintMode)
Sets object paint mode |
void |
setRenderingHints(java.awt.RenderingHints hints)
Sets rendering hints to stylesheet |
void |
setRenderingHints(Tag tag,
java.awt.RenderingHints hints)
Sets rendering hints to stylesheet |
void |
setShadowOffset(int xOffset,
int yOffset)
Sets shadow offset. |
void |
setStroke(java.awt.Stroke stroke)
Sets stroke to stylesheet |
void |
setStroke(Tag tag,
java.awt.Stroke stroke)
Sets stroke to stylesheet |
void |
setStyle(Style style)
Sets paint Style. |
void |
setTransparencyValue(int transparencyValue)
Sets the transparency value for the chart object |
void |
setTransparencyValue(Tag tag,
int transparencyValue)
Sets the transparency value for the chart object |
| 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
| Constructor Detail |
|---|
public PaintStyle(Style style)
style - | Method Detail |
|---|
public void setStyle(Style style)
style - public void setForeground(java.awt.Color color)
color - foreground colorpublic void setForeground(int color)
color - foreground colorpublic void setBackground(java.awt.Color color)
color - background colorpublic void setBackground(int color)
color - background colorpublic java.awt.Color getForeground()
public java.awt.Color getBackground()
public void setBackground(Tag tag,
java.awt.Color color)
tag - tag from enumeration specifying the usage of the colorcolor - null background color
public void setBackground(Tag tag,
int color)
tag - tag from enumeration specifying the usage of the colorcolor - null background colorpublic java.awt.Color getBackground(Tag tag)
tag - tag from enumeration specifying the usage of the color
public void setForeground(Tag tag,
java.awt.Color color)
tag - tag from enumeration specifying the usage of the colorcolor - null foreground color
public void setForeground(Tag tag,
int color)
tag - tag from enumeration specifying the usage of the colorcolor - null foreground colorpublic java.awt.Color getForeground(Tag tag)
tag - tag from enumeration specifying the usage of the colorpublic boolean isFocused(int index)
index - index of the data pointpublic void dispose()
AbstractStyle
dispose in class AbstractStyle<Tag extends AbstractPaintTags>public void setStroke(java.awt.Stroke stroke)
stroke - stroke to set
public void setStroke(Tag tag,
java.awt.Stroke stroke)
tag - painting tag which specifies what tag to usestroke - stroke to setpublic java.awt.Stroke getStroke()
public java.awt.Stroke getStroke(Tag tag)
tag - painting tag which specifies what tag to usepublic java.awt.RenderingHints getRenderingHints()
public void setRenderingHints(java.awt.RenderingHints hints)
hints - rendering hints to setpublic java.awt.RenderingHints getRenderingHints(Tag tag)
tag - painting tag which specifies what tag to use
public void setRenderingHints(Tag tag,
java.awt.RenderingHints hints)
tag - painting tag which specifies what tag to usehints - rendering hints to setpublic java.awt.Composite getComposite()
public void setComposite(java.awt.Composite composite)
composite - alpha compositepublic java.awt.Composite getComposite(Tag tag)
tag - painting tag which specifies what tag to use
public void setComposite(Tag tag,
java.awt.Composite composite)
tag - painting tag which specifies what tag to usecomposite - alpha composite
public void setShadowOffset(int xOffset,
int yOffset)
xOffset - shadow x offsetyOffset - shadow y offsetpublic int[] getShadowOffset()
public final void setTransparencyValue(Tag tag,
int transparencyValue)
tag - painting tagtransparencyValue - Transparency value from 0 to 255public final int getTransparencyValue(Tag tag)
tag - painting tagpublic final void setTransparencyValue(int transparencyValue)
transparencyValue - Transparency value from 0 to 255public final int getTransparencyValue()
public GradientStyle<Tag> getGradientStyle(Tag tag)
tag - painting tagpublic GradientStyle<Tag> getGradientStyle()
public BackgroundImageStyle<Tag> getBackgroundImageStyle(Tag tag)
tag - painting tagpublic BackgroundImageStyle<Tag> getBackgroundImageStyle()
public HatchStyle<Tag> getHatchStyle(Tag tag)
tag - hatch tagpublic HatchStyle<Tag> getHatchStyle()
public Style getStyleSheet()
public PaintMode getPaintMode()
public void setPaintMode(PaintMode paintMode)
paintMode - object paint modepublic PaintMode getPaintMode(Tag tag)
tag - paint mode object tag
public void setPaintMode(Tag tag,
PaintMode paintMode)
tag - paint mode object tagpaintMode - object paint mode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||