|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectonbon.bx06.area.unit.BxUnit
onbon.bx06.area.unit.CommonBxUnit
onbon.bx06.area.unit.WeekBxUnit
public class WeekBxUnit
星期单元。
Nested Class Summary |
---|
Nested classes/interfaces inherited from class onbon.bx06.area.unit.CommonBxUnit |
---|
CommonBxUnit.LangType |
Constructor Summary | |
---|---|
WeekBxUnit(int x,
int y,
Bx6GScreenProfile profile)
建构子。 |
|
WeekBxUnit(int x,
int y,
Bx6GScreenProfile screenProfile,
boolean abbreviate)
建构子。 |
|
WeekBxUnit(int x,
int y,
Bx6GScreenProfile profile,
CommonBxUnit.LangType lang)
建构子。 |
Method Summary | |
---|---|
protected void |
apply(onbon.bx06.message.area.unit.CommonUnit unit,
ProgramDataBxFile dataFile)
|
int |
calculateUnitWidth(Graphics2D g2d)
计算宽度。 |
CommonBxUnit.LangType |
getLang()
取得显示语言。 |
protected onbon.bx06.message.common.UnitType |
getUnitType()
取得单元类型。 |
void |
preview(Graphics2D g2d,
int areaX,
int areaY)
绘图。 |
void |
setLang(CommonBxUnit.LangType lang)
设定显示语言。 |
Methods inherited from class onbon.bx06.area.unit.CommonBxUnit |
---|
generate |
Methods inherited from class onbon.bx06.area.unit.BxUnit |
---|
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 |
Constructor Detail |
---|
public WeekBxUnit(int x, int y, Bx6GScreenProfile profile)
x
- 相对于时间区域 X 座标的 X 座标。y
- 相对于时间区域 Y 座标的 Y 座标。profile
- 屏幕规格。public WeekBxUnit(int x, int y, Bx6GScreenProfile profile, CommonBxUnit.LangType lang)
x
- 相对于时间区域 X 座标的 X 座标。y
- 相对于时间区域 Y 座标的 Y 座标。profile
- 屏幕规格。lang
- 显示语言。public WeekBxUnit(int x, int y, Bx6GScreenProfile screenProfile, boolean abbreviate)
x
- 相对于时间区域 X 座标的 X 座标。y
- 相对于时间区域 Y 座标的 Y 座标。screenProfile
- 屏幕规格。abbreviate
- 是否使用英文缩写。Method Detail |
---|
public CommonBxUnit.LangType getLang()
public void setLang(CommonBxUnit.LangType lang)
lang
- 显示语言。protected onbon.bx06.message.common.UnitType getUnitType()
CommonBxUnit
getUnitType
in class CommonBxUnit
protected void apply(onbon.bx06.message.area.unit.CommonUnit unit, ProgramDataBxFile dataFile)
apply
in class CommonBxUnit
public int calculateUnitWidth(Graphics2D g2d)
BxUnit
calculateUnitWidth
in class BxUnit
g2d
- 图布。
public void preview(Graphics2D g2d, int areaX, int areaY)
BxUnit
preview
in class BxUnit
g2d
- 图布。areaX
- 区域 X 座标。areaY
- 区域 Y 座标。
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |