|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectonbon.bx06.area.unit.BxUnit
public abstract class BxUnit
时间区域中的时间单元。
Constructor Summary | |
---|---|
BxUnit(int x,
int y,
Bx6GScreenProfile profile)
建构子。 |
Method Summary | |
---|---|
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 座标。 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BxUnit(int x, int y, Bx6GScreenProfile profile)
x
- 相对于时间区域 X 座标的 X 座标。y
- 相对于时间区域 Y 座标的 Y 座标。profile
- 屏幕规格。Method Detail |
---|
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
- 節目资讯。
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |