public class SecondBxUnit extends CommonBxUnit
CommonBxUnit.LangType| Constructor and Description |
|---|
SecondBxUnit(onbon.bx05.message.area.unit.CommonUnit unit,
Bx5GScreenProfile screenProfile)
建构子。
|
SecondBxUnit(int x,
int y,
Bx5GScreenProfile screenProfile)
建构子。
|
| Modifier and Type | Method and Description |
|---|---|
int |
calculateUnitWidth(java.awt.Graphics2D g2d)
利用画布计算宽度。
|
generatedarw, getFont, getScreenProfile, getUnitColor, getUnitX, getUnitY, setFont, setUnitColor, setUnitX, setUnitYpublic SecondBxUnit(onbon.bx05.message.area.unit.CommonUnit unit,
Bx5GScreenProfile screenProfile)
unit - 单元。public SecondBxUnit(int x,
int y,
Bx5GScreenProfile screenProfile)
x - 相对于时间区域 X 座标的 X 座标。y - 相对于时间区域 Y 座标的 Y 座标。public int calculateUnitWidth(java.awt.Graphics2D g2d)
BxUnitcalculateUnitWidth in class BxUnitg2d - 画布。