rero.gui.background

Class BackgroundProperties

public class BackgroundProperties extends Object implements ClientStateListener

Field Summary
protected ColorbgColor
protected intbgStyle
protected floatbgTint
protected intbgType
protected Imageimage
protected booleanisRelative
protected Stringname
protected Imagetransform
protected Stringtype
Constructor Summary
BackgroundProperties(String type, int defaultType)
BackgroundProperties(String type, Color defaultColor, int defaultType)
BackgroundProperties(String _type, Color defaultColor, int defaultType, int defaultStyle, float defaultTint)
Method Summary
ColorgetColor()
ImagegetImage(Component c)
intgetStyle()
floatgetTint()
ImagegetTransformedImage()
intgetType()
voidinit(Color defaultColor, int defaultType, int defaultStyle, float defaultTint)
booleanisRelative()
voidpropertyChanged(String property, String parms)
voidsetTransformedImage(Image i)

Field Detail

bgColor

protected Color bgColor

bgStyle

protected int bgStyle

bgTint

protected float bgTint

bgType

protected int bgType

image

protected Image image

isRelative

protected boolean isRelative

name

protected String name

transform

protected Image transform

type

protected String type

Constructor Detail

BackgroundProperties

public BackgroundProperties(String type, int defaultType)

BackgroundProperties

public BackgroundProperties(String type, Color defaultColor, int defaultType)

BackgroundProperties

public BackgroundProperties(String _type, Color defaultColor, int defaultType, int defaultStyle, float defaultTint)

Method Detail

getColor

public Color getColor()

getImage

public Image getImage(Component c)

getStyle

public int getStyle()

getTint

public float getTint()

getTransformedImage

public Image getTransformedImage()

getType

public int getType()

init

public void init(Color defaultColor, int defaultType, int defaultStyle, float defaultTint)

isRelative

public boolean isRelative()

propertyChanged

public void propertyChanged(String property, String parms)

setTransformedImage

public void setTransformedImage(Image i)