|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.area.unit.BxUnit
public abstract class BxUnit
时间区域中的时间单元。
| 构造方法摘要 | |
|---|---|
BxUnit(int x,
int y,
Bx6GScreenProfile profile)
建构子。 |
|
| 方法摘要 | |
|---|---|
int |
calculateUnitWidth(Graphics2D g2d)
计算宽度。 |
void |
darw(Graphics2D g2d)
绘图。 |
abstract byte[] |
generate(ProgramDataBxFile dataFile)
产生单元位元组资讯。 |
Font |
getFont()
取得单元显示内容字型。 |
Bx6GScreenProfile |
getScreenProfile()
取得显示屏类型。 |
Color |
getUnitColor()
取得单位颜色。 |
int |
getUnitX()
取得相对于时间区域 X 座标的 X 座标。 |
int |
getUnitY()
取得相对于时间区域 Y 座标的 Y 座标。 |
abstract void |
preview(Graphics2D g2d,
int areaX,
int areaY)
绘图。 |
void |
setFont(Font font)
设定单元显示内容字型。 |
void |
setUnitColor(Color unitColor)
设定单位颜色。 |
void |
setUnitX(int unitX)
设定相对于时间区域 X 座标的 X 座标。 |
void |
setUnitY(int unitY)
设定相对于时间区域 Y 座标的 Y 座标。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public BxUnit(int x,
int y,
Bx6GScreenProfile profile)
x - 相对于时间区域 X 座标的 X 座标。y - 相对于时间区域 Y 座标的 Y 座标。profile - 屏幕规格。| 方法详细信息 |
|---|
public Bx6GScreenProfile getScreenProfile()
public int getUnitX()
public void setUnitX(int unitX)
unitX - X 座标。public int getUnitY()
public void setUnitY(int unitY)
unitY - 单元 Y 座标。public Font getFont()
public void setFont(Font font)
font - 字型。public Color getUnitColor()
public void setUnitColor(Color unitColor)
unitColor - 单位颜色。public int calculateUnitWidth(Graphics2D g2d)
g2d - 图布。
public void darw(Graphics2D g2d)
g2d - 图布。
public abstract void preview(Graphics2D g2d,
int areaX,
int areaY)
g2d - 图布。areaX - 区域 X 座标。areaY - 区域 Y 座标。public abstract byte[] generate(ProgramDataBxFile dataFile)
dataFile - 節目资讯。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||