onbon.bx06.area.unit
类 SecondBxUnit
java.lang.Object
onbon.bx06.area.unit.BxUnit
onbon.bx06.area.unit.CommonBxUnit
onbon.bx06.area.unit.SecondBxUnit
public class SecondBxUnit
- extends CommonBxUnit
秒单元。
- 作者:
- ONBON
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecondBxUnit
public SecondBxUnit(int x,
int y,
Bx6GScreenProfile profile)
- 建构子。
- 参数:
x - 相对于时间区域 X 座标的 X 座标。y - 相对于时间区域 Y 座标的 Y 座标。profile - 屏幕规格。
getUnitType
protected onbon.bx06.message.common.UnitType getUnitType()
- 从类
CommonBxUnit 复制的描述
- 取得单元类型。
- 指定者:
- 类
CommonBxUnit 中的 getUnitType
- 返回:
- 单元类型。
apply
protected void apply(onbon.bx06.message.area.unit.CommonUnit unit,
ProgramDataBxFile dataFile)
- 指定者:
- 类
CommonBxUnit 中的 apply
calculateUnitWidth
public int calculateUnitWidth(Graphics2D g2d)
- 从类
BxUnit 复制的描述
- 计算宽度。
- 覆盖:
- 类
BxUnit 中的 calculateUnitWidth
- 参数:
g2d - 图布。
- 返回:
- 宽度。
preview
public void preview(Graphics2D g2d,
int areaX,
int areaY)
- 从类
BxUnit 复制的描述
- 绘图。
- 指定者:
- 类
BxUnit 中的 preview
- 参数:
g2d - 图布。areaX - 区域 X 座标。areaY - 区域 Y 座标。
Copyright © 2018 onbon. All rights reserved.