|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.area.page.BxPage
onbon.bx06.area.page.TextBxPage
public class TextBxPage
文字页面。
| 构造方法摘要 | |
|---|---|
TextBxPage()
建构子。 |
|
TextBxPage(Font font)
建构子。 |
|
TextBxPage(String text)
建构子。 |
|
TextBxPage(String text,
Font font)
建构子。 |
|
TextBxPage(String text,
Font font,
Color foreground,
Color background)
建构子。 |
|
TextBxPage(String text,
Font font,
Color foreground,
Color background,
boolean lineBreak)
建构子。 |
|
| 方法摘要 | |
|---|---|
void |
accept(onbon.bx06.message.area.AbstractTextCaptionArea area,
Bx6GScreenProfile screenProfile,
ProgramDataBxFile dataFile)
將资料填入指定的图文区。。 |
Color |
getBackground()
取得背景色。 |
Font |
getFont()
取得字型。 |
Color |
getForeground()
取得文字景色。 |
int |
getHeadTailInterval()
取得首尾相连间隔。 |
TextBinary.Alignment |
getHorizontalAlignment()
取得水平对齐方式。 |
int |
getLineHeight()
|
protected byte |
getPageStyle()
取得数据类型。 |
String |
getText()
取得文字讯息。 |
TextBinary.Alignment |
getVerticalAlignment()
取得垂直对齐方式。 |
boolean |
isNewLineNewPage()
取得是否换行即换页。 |
TextBxPage |
newLine(String text)
新增一行文字。 |
List<BufferedImage> |
outputImages(AbstractTextCaptionBxArea area)
|
void |
preview(AbstractTextCaptionBxArea area,
Graphics2D g2d)
绘制检视图。 |
void |
setBackground(Color background)
设定背景色。 |
void |
setFont(Font font)
设定字型。 |
void |
setForeground(Color foreground)
设定文字景色。 |
void |
setHeadTailInterval(int headTailInterval)
设定首尾相连间隔。 |
void |
setHorizontalAlignment(TextBinary.Alignment horizontalAlignment)
设定水平水平对齐方式。 |
void |
setLineHeight(int lineHeight)
|
void |
setNewLineNewPage(boolean newLineNewPage)
设定是否换行即换页。 |
void |
setText(String text)
设定文字讯息。 |
void |
setVerticalAlignment(TextBinary.Alignment verticalAlignment)
设定垂直对齐方式。 |
| 从类 onbon.bx06.area.page.BxPage 继承的方法 |
|---|
getBgValidFlag, getClearMode, getDisplayStyle, getFrameRate, getRepeatTime, getSoundFlag, getSpeed, getStayTime, getValidLen, setBgValidFlag, setClearMode, setDisplayStyle, setFrameRate, setRepeatTime, setSoundFlag, setSpeed, setStayTime, setValidLen |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public TextBxPage()
public TextBxPage(Font font)
font - 字型。public TextBxPage(String text)
text - 文字讯息。
public TextBxPage(String text,
Font font)
text - 文字讯息。font - 字型。
public TextBxPage(String text,
Font font,
Color foreground,
Color background)
text - 文字讯息。font - 字型。foreground - 文字颜色。background - 背景颜色。
public TextBxPage(String text,
Font font,
Color foreground,
Color background,
boolean lineBreak)
text - 文字讯息。font - 字型。foreground - 文字颜色。background - 背景颜色。lineBreak - 是否換行即換頁。| 方法详细信息 |
|---|
public int getLineHeight()
public void setLineHeight(int lineHeight)
public TextBxPage newLine(String text)
text - 文字。
public TextBinary.Alignment getHorizontalAlignment()
public void setHorizontalAlignment(TextBinary.Alignment horizontalAlignment)
horizontalAlignment - 水平对齐方式。public void setVerticalAlignment(TextBinary.Alignment verticalAlignment)
verticalAlignment - 垂直对齐方式。public TextBinary.Alignment getVerticalAlignment()
public boolean isNewLineNewPage()
public void setNewLineNewPage(boolean newLineNewPage)
newLineNewPage - 是否换行即换页。public String getText()
public void setText(String text)
text - 文字讯息。public Color getBackground()
public void setBackground(Color background)
background - 背景色。public Color getForeground()
public void setForeground(Color foreground)
foreground - 文字景色。public Font getFont()
public void setFont(Font font)
font - 字型。public int getHeadTailInterval()
public void setHeadTailInterval(int headTailInterval)
headTailInterval - 前後訊息間隔的像素。。public List<BufferedImage> outputImages(AbstractTextCaptionBxArea area)
public void preview(AbstractTextCaptionBxArea area,
Graphics2D g2d)
BxPage 复制的描述
BxPage 中的 previewarea - 图文区。g2d - 绘图区。
public void accept(onbon.bx06.message.area.AbstractTextCaptionArea area,
Bx6GScreenProfile screenProfile,
ProgramDataBxFile dataFile)
BxPage 复制的描述
BxPage 中的 acceptarea - 填入的图文区。screenProfile - 屏幕规格。dataFile - 文件資料。protected byte getPageStyle()
BxPage 复制的描述
BxPage 中的 getPageStyle
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||