|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.area.unit.BxUnit
onbon.bx06.area.unit.CommonBxUnit
onbon.bx06.area.unit.YearBxUnit
public class YearBxUnit
年单元。
| 嵌套类摘要 | |
|---|---|
static class |
YearBxUnit.YearBxUnitMode
显示内容类型。 |
| 从类 onbon.bx06.area.unit.CommonBxUnit 继承的嵌套类/接口 |
|---|
CommonBxUnit.LangType |
| 构造方法摘要 | |
|---|---|
YearBxUnit(int x,
int y,
Bx6GScreenProfile profile)
建构子。 |
|
YearBxUnit(int x,
int y,
Bx6GScreenProfile profile,
YearBxUnit.YearBxUnitMode mode)
建构子。 |
|
| 方法摘要 | |
|---|---|
protected void |
apply(onbon.bx06.message.area.unit.CommonUnit unit,
ProgramDataBxFile dataFile)
|
int |
calculateUnitWidth(Graphics2D g2d)
计算宽度。 |
YearBxUnit.YearBxUnitMode |
getMode()
取得显示类型。 |
protected onbon.bx06.message.common.UnitType |
getUnitType()
取得单元类型。 |
void |
preview(Graphics2D g2d,
int areaX,
int areaY)
绘图。 |
void |
setMode(YearBxUnit.YearBxUnitMode mode)
设定显示类型。 |
| 从类 onbon.bx06.area.unit.CommonBxUnit 继承的方法 |
|---|
generate |
| 从类 onbon.bx06.area.unit.BxUnit 继承的方法 |
|---|
darw, getFont, getScreenProfile, getUnitColor, getUnitX, getUnitY, setFont, setUnitColor, setUnitX, setUnitY |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public YearBxUnit(int x,
int y,
Bx6GScreenProfile profile)
x - 相对于时间区域 X 座标的 X 座标。y - 相对于时间区域 Y 座标的 Y 座标。profile - 屏幕规格。
public YearBxUnit(int x,
int y,
Bx6GScreenProfile profile,
YearBxUnit.YearBxUnitMode mode)
x - 相对于时间区域 X 座标的 X 座标。y - 相对于时间区域 Y 座标的 Y 座标。profile - 屏幕规格。mode - 显示内容类型。| 方法详细信息 |
|---|
public YearBxUnit.YearBxUnitMode getMode()
public void setMode(YearBxUnit.YearBxUnitMode mode)
mode - 显示类型。protected onbon.bx06.message.common.UnitType getUnitType()
CommonBxUnit 复制的描述
CommonBxUnit 中的 getUnitType
protected void apply(onbon.bx06.message.area.unit.CommonUnit unit,
ProgramDataBxFile dataFile)
CommonBxUnit 中的 applypublic int calculateUnitWidth(Graphics2D g2d)
BxUnit 复制的描述
BxUnit 中的 calculateUnitWidthg2d - 图布。
public void preview(Graphics2D g2d,
int areaX,
int areaY)
BxUnit 复制的描述
BxUnit 中的 previewg2d - 图布。areaX - 区域 X 座标。areaY - 区域 Y 座标。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||