onbon.bx06.area.unit
类 FestivalBxUnit
java.lang.Object
onbon.bx06.area.unit.BxUnit
onbon.bx06.area.unit.CommonBxUnit
onbon.bx06.area.unit.FestivalBxUnit
public class FestivalBxUnit
- extends CommonBxUnit
节庆单元。
- 作者:
- ONBON
| 从类 onbon.bx06.area.unit.BxUnit 继承的方法 |
calculateUnitWidth, darw, getFont, getScreenProfile, getUnitColor, getUnitX, getUnitY, setFont, setUnitColor, setUnitX, setUnitY |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FestivalBxUnit
public FestivalBxUnit(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
preview
public void preview(Graphics2D g2d,
int areaX,
int areaY)
- 从类
BxUnit 复制的描述
- 绘图。
- 指定者:
- 类
BxUnit 中的 preview
- 参数:
g2d - 图布。areaX - 区域 X 座标。areaY - 区域 Y 座标。
Copyright © 2018 onbon. All rights reserved.