|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.chart.style.SimpleStyle
A default implementaitn for IStyle.
Constructor Summary | |
SimpleStyle()
The constructor. |
|
SimpleStyle(FontDefinition font,
ColorDefinition color,
ColorDefinition backcolor,
Image backimage,
Insets padding)
The constructor. |
|
SimpleStyle(IStyle src)
The constructor. |
Method Summary | |
SimpleStyle |
copy()
Returns a copy of current instance. |
ColorDefinition |
getBackgroundColor()
Returns the background color of current style. |
Image |
getBackgroundImage()
Returns the background image of current style. |
ColorDefinition |
getColor()
Returns the color of current style. |
FontDefinition |
getFont()
Returns the font of current style. |
Insets |
getPadding()
Returns the padding of current style. |
void |
setBackgroundColor(ColorDefinition backcolor)
Sets the background color of current style. |
void |
setBackgroundImage(Image backimage)
Sets the background image of current style. |
void |
setColor(ColorDefinition color)
Sets the color of current style. |
void |
setFont(FontDefinition font)
Sets the font of current style. |
void |
setPadding(Insets padding)
Sets the padding of current style. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleStyle()
public SimpleStyle(FontDefinition font, ColorDefinition color, ColorDefinition backcolor, Image backimage, Insets padding)
font
- backcolor
- backimage
- padding
- public SimpleStyle(IStyle src)
src
- Method Detail |
public SimpleStyle copy()
public void setFont(FontDefinition font)
font
- public void setColor(ColorDefinition color)
color
- public void setBackgroundColor(ColorDefinition backcolor)
backcolor
- public void setBackgroundImage(Image backimage)
backimage
- public void setPadding(Insets padding)
padding
- public FontDefinition getFont()
IStyle
getFont
in interface IStyle
public ColorDefinition getBackgroundColor()
IStyle
getBackgroundColor
in interface IStyle
public Image getBackgroundImage()
IStyle
getBackgroundImage
in interface IStyle
public Insets getPadding()
IStyle
getPadding
in interface IStyle
public ColorDefinition getColor()
IStyle
getColor
in interface IStyle
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |