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