|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.area.BxArea
onbon.bx06.area.AbstractTimeClockBxArea
onbon.bx06.area.DateTimeBxArea
public class DateTimeBxArea
日期时间区域,由日期 (Date)、星期 (Week)、时间 (Time) 组合。
DateStyle,
WeekStyle,
TimeStyle| 构造方法摘要 | |
|---|---|
DateTimeBxArea(int x,
int y,
Bx6GScreenProfile screenProfile)
建构子。 |
|
DateTimeBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
建构子。 |
|
| 方法摘要 | |
|---|---|
protected void |
apply(onbon.bx06.message.area.TimeClockArea area,
ProgramDataBxFile dataFile)
|
void |
clearDateStyle()
清除日期显示。 |
void |
clearTimeStyle()
清除时间显示。 |
void |
clearWeekStyle()
清除星期显示。 |
DateStyle |
getDateStyle()
取得日期显示样式。 |
Color |
getForeground()
取得颜色。 |
TimeStyle |
getTimeStyle()
取得时间显示样式。 |
WeekStyle |
getWeekStyle()
取得星期显示样式。 |
boolean |
isMultiline()
是否多行显示。 |
void |
preview(Graphics2D g2d)
檢視配置。 |
void |
setDateStyle(DateStyle dateStyle)
设定日期显示样式,NULL 表示不显示日期。 |
void |
setFont(Font font)
设定字型。 |
void |
setForeground(Color foreground)
设定颜色。 |
void |
setMultiline(boolean multiline)
设定多行显示。 |
void |
setTimeStyle(TimeStyle timeStyle)
设置时间显示样式,NULL 表示不显示时间。 |
void |
setWeekStyle(WeekStyle weekStyle)
设置星期显示样式,NULL 表示不显示星期。 |
String |
toString()
|
boolean |
validate(int screenW,
int screenH,
int screenFrameW)
|
| 从类 onbon.bx06.area.BxArea 继承的方法 |
|---|
getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, setAreaFrame, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public DateTimeBxArea(int x,
int y,
Bx6GScreenProfile screenProfile)
x - X 座标。y - Y 座标。screenProfile - 屏幕规格。
public DateTimeBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
x - X 座标。y - Y 座标。width - 宽度。height - 高度。screenProfile - 屏幕规格。| 方法详细信息 |
|---|
public void setFont(Font font)
BxArea 复制的描述
BxArea 中的 setFontfont - 字型。public boolean isMultiline()
public void setMultiline(boolean multiline)
multiline - 多行显示。public Color getForeground()
public void setForeground(Color foreground)
foreground - 颜色。public DateStyle getDateStyle()
public void setDateStyle(DateStyle dateStyle)
dateStyle - 日期显示样式。public WeekStyle getWeekStyle()
public void setWeekStyle(WeekStyle weekStyle)
weekStyle - 星期显示样式。public TimeStyle getTimeStyle()
public void setTimeStyle(TimeStyle timeStyle)
timeStyle - 时间显示样式。public void clearDateStyle()
public void clearTimeStyle()
public void clearWeekStyle()
public String toString()
BxArea 中的 toString
public boolean validate(int screenW,
int screenH,
int screenFrameW)
BxArea 中的 validate
protected void apply(onbon.bx06.message.area.TimeClockArea area,
ProgramDataBxFile dataFile)
AbstractTimeClockBxArea 中的 applypublic void preview(Graphics2D g2d)
BxArea 复制的描述
BxArea 中的 previewg2d - 圖。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||