|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectonbon.bx06.area.BxArea
onbon.bx06.area.AbstractTimeClockBxArea
public abstract class AbstractTimeClockBxArea
抽象时间区域,利用继承处理单元配置与底图。
Constructor Summary | |
---|---|
AbstractTimeClockBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
建构子。 |
Method Summary | |
---|---|
protected abstract void |
apply(onbon.bx06.message.area.TimeClockArea area,
ProgramDataBxFile walker)
|
protected BufferedImage |
createBackgroundPic()
根据当前长、宽与边框设定,建立底图。 不显示边框:底图大小等于 宽 x 高。 显示边框:底图大小等于 (宽 - 2 * 边框宽度) x (高 - 2 * 边框宽度)。 |
byte[] |
generate(ProgramDataBxFile dataFile)
产生区域的位元组资讯。 |
int |
getBattleStartDay()
|
int |
getBattleStartHour()
|
int |
getBattleStartMinute()
|
int |
getBattleStartMonth()
|
int |
getBattleStartSecond()
|
byte |
getBattleStartupMode()
|
int |
getBattleStartWeek()
|
int |
getBattleStartYear()
|
int |
getTimeDifferent()
取得时间差。 |
int |
getTransparency()
取得透明度。 |
boolean |
isBackgroundFlag()
|
void |
maskByBackground()
显示被背景遮罩的部分。 |
void |
overlayWithBackground()
与背景重叠显示。 |
void |
setBackgroundFlag(boolean backgroundFlag)
|
void |
setBattleStartDay(int battleStartDay)
|
void |
setBattleStartHour(int battleStartHour)
|
void |
setBattleStartMinute(int battleStartMinute)
|
void |
setBattleStartMonth(int battleStartMonth)
|
void |
setBattleStartSecond(int battleStartSecond)
|
void |
setBattleStartupMode(byte battleStartupMode)
|
void |
setBattleStartWeek(int battleStartWeek)
|
void |
setBattleStartYear(int battleStartYear)
|
void |
setTimeDifferent(int timeDifferent)
设定时间差。 |
void |
setTransparency(int transparency)
设定透明度。 1. |
Methods inherited from class onbon.bx06.area.BxArea |
---|
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, preview, previewScreen, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, toString, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractTimeClockBxArea(int x, int y, int width, int height, Bx6GScreenProfile screenProfile)
x
- X 座标。y
- Y 座标。width
- 宽度。height
- 高度。screenProfile
- 屏幕规格。Method Detail |
---|
public boolean isBackgroundFlag()
public void setBackgroundFlag(boolean backgroundFlag)
public int getBattleStartYear()
public void setBattleStartYear(int battleStartYear)
public int getBattleStartMonth()
public void setBattleStartMonth(int battleStartMonth)
public int getBattleStartDay()
public void setBattleStartDay(int battleStartDay)
public int getBattleStartHour()
public void setBattleStartHour(int battleStartHour)
public int getBattleStartMinute()
public void setBattleStartMinute(int battleStartMinute)
public int getBattleStartSecond()
public void setBattleStartSecond(int battleStartSecond)
public int getBattleStartWeek()
public void setBattleStartWeek(int battleStartWeek)
public byte getBattleStartupMode()
public void setBattleStartupMode(byte battleStartupMode)
public int getTransparency()
public void setTransparency(int transparency)
transparency
- 透明度。public void overlayWithBackground()
public void maskByBackground()
public int getTimeDifferent()
public void setTimeDifferent(int timeDifferent)
timeDifferent
- 时间差。public byte[] generate(ProgramDataBxFile dataFile) throws Bx6GException
BxArea
generate
in class BxArea
dataFile
- 资料。
Bx6GException
- 产生区域位元组资讯时发生错误。protected BufferedImage createBackgroundPic()
protected abstract void apply(onbon.bx06.message.area.TimeClockArea area, ProgramDataBxFile walker)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |