onbon.bx06.area.unit
Class FestivalBxUnit
java.lang.Object
onbon.bx06.area.unit.BxUnit
onbon.bx06.area.unit.CommonBxUnit
onbon.bx06.area.unit.FestivalBxUnit
public class FestivalBxUnit
- extends CommonBxUnit
节庆单元。
- Author:
- ONBON
Methods inherited from class onbon.bx06.area.unit.BxUnit |
calculateUnitWidth, darw, getFont, getScreenProfile, getUnitColor, getUnitX, getUnitY, setFont, setUnitColor, setUnitX, setUnitY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FestivalBxUnit
public FestivalBxUnit(int x,
int y,
Bx6GScreenProfile profile)
- 建构子。
- Parameters:
x
- 相对于时间区域 X 座标的 X 座标。y
- 相对于时间区域 Y 座标的 Y 座标。profile
- 屏幕规格。
getUnitType
protected onbon.bx06.message.common.UnitType getUnitType()
- Description copied from class:
CommonBxUnit
- 取得单元类型。
- Specified by:
getUnitType
in class CommonBxUnit
- Returns:
- 单元类型。
apply
protected void apply(onbon.bx06.message.area.unit.CommonUnit unit,
ProgramDataBxFile dataFile)
- Specified by:
apply
in class CommonBxUnit
preview
public void preview(Graphics2D g2d,
int areaX,
int areaY)
- Description copied from class:
BxUnit
- 绘图。
- Specified by:
preview
in class BxUnit
- Parameters:
g2d
- 图布。areaX
- 区域 X 座标。areaY
- 区域 Y 座标。
Copyright © 2020 onbon. All rights reserved.