|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.microedition.lcdui.laf.ColorSchema
org.netbeans.microedition.lcdui.laf.DefaultColorSchema
public class DefaultColorSchema
Constructor Summary | |
---|---|
DefaultColorSchema()
|
Method Summary | |
---|---|
javax.microedition.lcdui.Image |
getBackgroundImage()
Returns image which should be used as a background. |
int |
getBackgroundImageAnchorPoint()
Gets anchor of the background image. |
int |
getColor(int aColorSpecifier)
Gets color based on color specifier. |
boolean |
isBackgroundImageTiled()
If true, background image should be drawn in tiled. |
boolean |
isBackgroundTransparent()
If true the background is transparent. |
void |
setBGColor(int color)
|
void |
setFGColor(int color)
|
Methods inherited from class org.netbeans.microedition.lcdui.laf.ColorSchema |
---|
paintBackground |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultColorSchema()
Method Detail |
---|
public int getColor(int aColorSpecifier)
ColorSchema
getColor
in class ColorSchema
aColorSpecifier
- - color specifier from Display.COLOR* constnants
Display
public javax.microedition.lcdui.Image getBackgroundImage()
ColorSchema
getBackgroundImage
in class ColorSchema
public int getBackgroundImageAnchorPoint()
ColorSchema
getBackgroundImageAnchorPoint
in class ColorSchema
Graphics
public boolean isBackgroundImageTiled()
ColorSchema
isBackgroundImageTiled
in class ColorSchema
public boolean isBackgroundTransparent()
ColorSchema
isBackgroundTransparent
in class ColorSchema
public void setFGColor(int color)
public void setBGColor(int color)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |