public class TimerBxArea extends AbstractTimeClockBxArea
BxArea.PolarType| Constructor and Description |
|---|
TimerBxArea(int x,
int y,
int width,
int height,
int counter,
Bx5GScreenProfile screenProfile)
建构子。
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCounter()
取得计数值。
|
TimerBxUnit.TimerBxUnitFormat |
getFormat()
取得显示内容格式。
|
TimerBxUnit.TimerBxUnitMode |
getMode()
取得秒表计算方式。
|
java.awt.Color |
getUnitColor()
取得单元颜色。
|
void |
setCounter(int counter)
设定计数值。
|
void |
setFormat(TimerBxUnit.TimerBxUnitFormat format)
设定显示内容格式。
|
void |
setMode(TimerBxUnit.TimerBxUnitMode mode)
设定秒表计算方式。
|
void |
setUnitColor(java.awt.Color unitColor)
设定单元颜色。
|
generate, getTimeDifferent, setTimeDifferentgetFont, getFrameMoveStep, getFrameSpeed, getFrameStyle, getFrameWidth, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, preview, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, toString, validatepublic TimerBxArea(int x,
int y,
int width,
int height,
int counter,
Bx5GScreenProfile screenProfile)
x - X 座标。y - Y 座标。width - 区域宽度。height - 区域高度。counter - 计数值。screenProfile - 屏幕规格。public int getCounter()
public TimerBxUnit.TimerBxUnitFormat getFormat()
public TimerBxUnit.TimerBxUnitMode getMode()
public java.awt.Color getUnitColor()
public void setCounter(int counter)
counter - 计数值。public void setFormat(TimerBxUnit.TimerBxUnitFormat format)
format - 显示内容格式。public void setMode(TimerBxUnit.TimerBxUnitMode mode)
mode - 秒表计算方式。public void setUnitColor(java.awt.Color unitColor)
unitColor - 单元颜色。