|
|||||||||
| 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.TextStyle<Tag>
public class TextStyle<Tag extends AbstractPaintTags> extends AbstractStyle<Tag>
Text3D style class, where style entityStyle are mapped to style sheet.
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.style.AbstractStyle |
|---|
dirty |
| Constructor and Description |
|---|
TextStyle(Style style)
Default Text3D style constructor |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes style object |
java.awt.Color |
getColor()
Gets background color from the stylesheet |
java.awt.Color |
getColor(Tag tag)
Gets background color from the stylesheet |
java.awt.Font |
getFont()
Gets font from the stylesheet |
java.awt.Font |
getFont(Tag tag)
Gets font from the stylesheet |
void |
setColor(java.awt.Color color)
Set text color to the stylesheet |
void |
setColor(Tag tag,
java.awt.Color color)
Set text color to the stylesheet |
void |
setFont(java.awt.Font font)
Sets font to the stylesheet |
void |
setFont(Tag tag,
java.awt.Font font)
Sets font to the stylesheet |
| 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 TextStyle(Style style)
style - style object| Method Detail |
|---|
public void setFont(java.awt.Font font)
font - font to setpublic java.awt.Font getFont()
public java.awt.Font getFont(Tag tag)
tag - painting tag
public void setFont(Tag tag,
java.awt.Font font)
tag - painting tagfont - font to setpublic void setColor(java.awt.Color color)
color - text colorpublic java.awt.Color getColor()
public void setColor(Tag tag,
java.awt.Color color)
tag - painting tagcolor - text colorpublic java.awt.Color getColor(Tag tag)
tag - painting tagpublic 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 | ||||||||