onbon.bx06.area.page
Class ImageFileBxPage

java.lang.Object
  extended by onbon.bx06.area.page.BxPage
      extended by onbon.bx06.area.page.ImageFileBxPage

public class ImageFileBxPage
extends BxPage

图片文件页面。

Author:
ONBON

Constructor Summary
ImageFileBxPage(String filePath)
          建构子。
 
Method Summary
 void accept(onbon.bx06.message.area.AbstractTextCaptionArea area, Bx6GScreenProfile screenProfile, ProgramDataBxFile dataFile)
          將资料填入指定的图文区。。
 String getFilePath()
          取得图档文件。
protected  byte getPageStyle()
          取得数据类型。
 void preview(AbstractTextCaptionBxArea area, Graphics2D g2d)
          绘制检视图。
 
Methods inherited from class onbon.bx06.area.page.BxPage
getBgValidFlag, getClearMode, getDisplayStyle, getFrameRate, getRepeatTime, getSoundFlag, getSpeed, getStayTime, getValidLen, setBgValidFlag, setClearMode, setDisplayStyle, setFrameRate, setRepeatTime, setSoundFlag, setSpeed, setStayTime, setValidLen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFileBxPage

public ImageFileBxPage(String filePath)
建构子。

Parameters:
filePath - 图片档案。
Method Detail

getFilePath

public String getFilePath()
取得图档文件。

Returns:
图档文件。

preview

public void preview(AbstractTextCaptionBxArea area,
                    Graphics2D g2d)
Description copied from class: BxPage
绘制检视图。

Specified by:
preview in class BxPage
Parameters:
area - 图文区。
g2d - 绘图区。

accept

public void accept(onbon.bx06.message.area.AbstractTextCaptionArea area,
                   Bx6GScreenProfile screenProfile,
                   ProgramDataBxFile dataFile)
Description copied from class: BxPage
將资料填入指定的图文区。。

Specified by:
accept in class BxPage
Parameters:
area - 填入的图文区。
screenProfile - 屏幕规格。
dataFile - 文件資料。

getPageStyle

protected byte getPageStyle()
Description copied from class: BxPage
取得数据类型。

Specified by:
getPageStyle in class BxPage
Returns:
数据类型。


Copyright © 2020 onbon. All rights reserved.