|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jcontrol.ui.wombat.Component jcontrol.ui.wombat.DigitalMeter
public class DigitalMeter
Field Summary |
---|
Constructor Summary | |
---|---|
DigitalMeter(double value,
int x,
int y,
int width,
int height)
|
Method Summary | |
---|---|
void |
paint(XGraphics g)
This method should not be called from the application. |
void |
setBackgroundColor(Color background)
Sets the background color for this component. |
protected void |
setBackgroundColorInternal(Color background)
|
void |
setBounds(int x,
int y,
int width,
int height)
Set the dimensions of this component. |
void |
setCustomString(String string)
|
void |
setDecimals(int decimals)
|
void |
setDigits(int digits)
|
void |
setFont(Resource font)
Sets the font for this component. |
void |
setForegroundColor(Color foreground)
Sets the foreground color for this component. |
protected void |
setForegroundColorInternal(Color foreground)
|
protected void |
setParametersInternal(Resource font,
Color foregroundColor,
Color backgroundColor,
Color transparentColor)
|
void |
setValue(double value)
|
Methods inherited from class jcontrol.ui.wombat.Component |
---|
drawDisabledImage, getFrame, isEnabled, isVisible, isVisibleInternal, redrawInternalAndParent, repaint, repaintAll, safeExec, setDirty, setEnabled, setRedraw, setTransparentColor, setVisible, unsafeExec, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, notifyAll, toString, wait |
Constructor Detail |
---|
public DigitalMeter(double value, int x, int y, int width, int height)
Method Detail |
---|
public void setFont(Resource font)
Component
setFont
in class Component
font
- the new font.public void setCustomString(String string)
public void setValue(double value)
public void setDigits(int digits)
public void setDecimals(int decimals)
public void setBackgroundColor(Color background)
Component
setBackgroundColor
in class Component
background
- the background color to setprotected void setBackgroundColorInternal(Color background)
setBackgroundColorInternal
in class Component
public void setForegroundColor(Color foreground)
Component
setForegroundColor
in class Component
foreground
- the foreground color to setprotected void setForegroundColorInternal(Color foreground)
setForegroundColorInternal
in class Component
protected void setParametersInternal(Resource font, Color foregroundColor, Color backgroundColor, Color transparentColor)
setParametersInternal
in class Component
public void setBounds(int x, int y, int width, int height)
Component
setBounds
in class Component
x
- The x-coordinate of the upper left cornery
- The y-coordinate of the upper left cornerwidth
- The width of this componentheight
- The height of this componentpublic void paint(XGraphics g)
Component
paint
in class Component
g
- the application's graphics object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |