|
|||||||||
| 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.BackgroundImageStyle<Tag>
public class BackgroundImageStyle<Tag extends AbstractPaintTags> extends AbstractStyle<Tag>
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.style.AbstractStyle |
|---|
dirty |
| Constructor and Description |
|---|
BackgroundImageStyle(Style style,
java.lang.String tag)
Background image style |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes style object |
java.awt.Image |
getBackgroundImage()
Gets background image |
ImagePaintMode |
getImagePaintMode()
Gets image paint mode |
void |
setBackgroundImage(java.awt.Image image)
Sets background image |
void |
setBackgroundImage(java.lang.String imagePath)
Sets image background path |
void |
setBackgroundImage(java.net.URL imageURL)
Sets image background URL |
void |
setImagePaintMode(ImagePaintMode mode)
Sets image paint mode |
| 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 |
| Constructor Detail |
|---|
public BackgroundImageStyle(Style style,
java.lang.String tag)
style - stylesheet objecttag - background style tag| Method Detail |
|---|
public void setBackgroundImage(java.lang.String imagePath)
throws java.io.IOException
imagePath - image location pathjava.io.IOException - when error occurs while loading image
public void setBackgroundImage(java.net.URL imageURL)
throws java.io.IOException
imageURL - image location URLjava.io.IOException - when error occurs while loading imagepublic void setBackgroundImage(java.awt.Image image)
image - imagepublic java.awt.Image getBackgroundImage()
public void setImagePaintMode(ImagePaintMode mode)
mode - image paint modepublic ImagePaintMode getImagePaintMode()
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 | ||||||||