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