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 |
---|---|
protected void |
apply(onbon.bx05.message.area.TimeClockArea area) |
int |
getCounter()
取得计数值。
|
TimerBxUnit.TimerBxUnitFormat |
getFormat()
取得显示内容格式。
|
TimerBxUnit.TimerBxUnitMode |
getMode()
取得秒表计算方式。
|
Color |
getUnitColor()
取得单元颜色。
|
void |
setCounter(int counter)
设定计数值。
|
void |
setFormat(TimerBxUnit.TimerBxUnitFormat format)
设定显示内容格式。
|
void |
setMode(TimerBxUnit.TimerBxUnitMode mode)
设定秒表计算方式。
|
void |
setUnitColor(Color unitColor)
设定单元颜色。
|
createBackgroundPic, generate, getTimeDifferent, setTimeDifferent
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getFrameWidth, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, preview, previewScreen, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, toString, validate
public TimerBxArea(int x, int y, int width, int height, int counter, Bx5GScreenProfile screenProfile)
x
- X 座标。y
- Y 座标。width
- 区域宽度。height
- 区域高度。counter
- 计数值。screenProfile
- 屏幕规格。public Color getUnitColor()
public void setUnitColor(Color unitColor)
unitColor
- 单元颜色。public TimerBxUnit.TimerBxUnitMode getMode()
public void setMode(TimerBxUnit.TimerBxUnitMode mode)
mode
- 秒表计算方式。public int getCounter()
public void setCounter(int counter)
counter
- 计数值。public TimerBxUnit.TimerBxUnitFormat getFormat()
public void setFormat(TimerBxUnit.TimerBxUnitFormat format)
format
- 显示内容格式。protected void apply(onbon.bx05.message.area.TimeClockArea area)
apply
in class AbstractTimeClockBxArea
Copyright © 2020 onbon4j. All rights reserved.