|
||||||||
| 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 Componentg - the application's graphics object.public void setBackgroundColor(jcontrol.graphics.Color background)
Component
setBackgroundColor in class Componentbackground - the background color to set
public void setBounds(int x,
int y,
int width,
int height)
Component
setBounds in class Componentx - 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 Componentfont - the new font.public void setForegroundColor(jcontrol.graphics.Color foreground)
Component
setForegroundColor in class Componentforeground - 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 | |||||||