|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.area.BxArea
onbon.bx06.area.AbstractTextCaptionBxArea
public abstract class AbstractTextCaptionBxArea
图文区域,由多个页面堆叠而成。
图片页面,
文字档页面| 字段摘要 | |
|---|---|
protected ArrayList<BxPage> |
pages
|
| 构造方法摘要 | |
|---|---|
AbstractTextCaptionBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
建构子。 |
|
| 方法摘要 | |
|---|---|
BxPage |
addImageFile(String filePath)
增加图片。 |
void |
addPage(BxPage page)
加入页面。 |
BxPage |
addText(String text,
Font font,
Color foreground,
Color background,
DisplayStyleFactory.DisplayStyle style)
增加文字內容。 |
BxPage |
addTextFile(String filePath,
Font font,
Color foreground,
Color background,
DisplayStyleFactory.DisplayStyle style)
增加文本。 |
void |
clearPages()
清除所有页面。 |
void |
preview(Graphics2D g2d)
檢視配置。 |
| 从类 onbon.bx06.area.BxArea 继承的方法 |
|---|
generate, getFont, getFrameMoveStep, getFrameSetting, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, loadFrameImage, preview, setAreaFrame, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, setHeight, setWidth, setX, setY, toString, validate |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
protected final ArrayList<BxPage> pages
| 构造方法详细信息 |
|---|
public AbstractTextCaptionBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
x - X 座标。y - Y 座标。width - 区域宽度。height - 区域高度。screenProfile - 屏幕规格。| 方法详细信息 |
|---|
public void addPage(BxPage page)
page - 页面。文字內容,
本文,
图片
public BxPage addTextFile(String filePath,
Font font,
Color foreground,
Color background,
DisplayStyleFactory.DisplayStyle style)
filePath - 纯文字档案。font - 字型。foreground - 文字颜色。background - 背景颜色。style - 图文区页面播放样式。
TextFileBxPage
public BxPage addText(String text,
Font font,
Color foreground,
Color background,
DisplayStyleFactory.DisplayStyle style)
text - 文字內容。font - 字型。foreground - 文字颜色。background - 背景颜色。style - 图文区页面播放样式。
TextBxPagepublic BxPage addImageFile(String filePath)
filePath - 图片档案。
ImageFileBxPagepublic void clearPages()
public void preview(Graphics2D g2d)
BxArea 复制的描述
BxArea 中的 previewg2d - 圖。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||