|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcontrol.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(jcontrol.graphics.XGraphics g)
This method should not be called from the application. |
void |
setBackgroundColor(jcontrol.graphics.Color background)
Sets the background color for this component. |
void |
setBounds(int x,
int y,
int width,
int height)
Set the dimensions of this component. |
void |
setCustomString(java.lang.String string)
|
void |
setDecimals(int decimals)
|
void |
setDigits(int digits)
|
void |
setFont(jcontrol.io.Resource font)
Sets the font for this component. |
void |
setForegroundColor(jcontrol.graphics.Color foreground)
Sets the foreground color for this component. |
void |
setValue(double value)
|
Methods inherited from class jcontrol.ui.wombat.Component |
---|
getFrame, isEnabled, isVisible, repaint, repaintAll, safeExec, setDirty, setEnabled, setRedraw, setTransparentColor, setVisible, unsafeExec, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notifyAll, toString, wait |
Constructor Detail |
---|
public DigitalMeter(double value, int x, int y, int width, int height)
Method Detail |
---|
public void paint(jcontrol.graphics.XGraphics g)
Component
paint
in class Component
g
- the application's graphics object.public void setBackgroundColor(jcontrol.graphics.Color background)
Component
setBackgroundColor
in class Component
background
- the background color to setpublic 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 setCustomString(java.lang.String string)
public void setDecimals(int decimals)
public void setDigits(int digits)
public void setFont(jcontrol.io.Resource font)
Component
setFont
in class Component
font
- the new font.public void setForegroundColor(jcontrol.graphics.Color foreground)
Component
setForegroundColor
in class Component
foreground
- the foreground color to setpublic void setValue(double value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |