|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectonbon.bx06.Bx6GScreenProfile
public final class Bx6GScreenProfile
屏幕规格。
Nested Class Summary | |
---|---|
static class |
Bx6GScreenProfile.ScreenColorType
显示屏类型。 1:单基色。 2:双基色。 |
static class |
Bx6GScreenProfile.ScreenMatrixType
点阵类型。 |
Constructor Summary | |
---|---|
Bx6GScreenProfile(int width,
int height,
Bx6Card bx6Card)
建构子。 |
|
Bx6GScreenProfile(int width,
int height,
Bx6Card bx6Card,
Bx6GScreenProfile.ScreenColorType colorType,
Bx6GScreenProfile.ScreenMatrixType matrixType)
建构子。 |
Method Summary | |
---|---|
Map<String,Object> |
createMessageContext()
|
Color |
decodeColor(int color)
色碼轉換成顏色。 |
int |
encodeColor(Color color)
顏色轉換成色碼。 |
Bx6GScreenProfile.ScreenColorType |
getColorType()
取得基色类型。 |
int |
getHeight()
取得屏幕高度。 |
Bx6GScreenProfile.ScreenMatrixType |
getMatrixType()
取得双基色点阵类型。 |
int |
getWidth()
取得屏幕宽度。 |
boolean |
isFullColor()
取得是否為全彩。 |
boolean |
isReverseFontData()
取得是否反轉字模。 |
void |
setMatrixType(Bx6GScreenProfile.ScreenMatrixType matrixType)
设定双基色点阵类型。 |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Bx6GScreenProfile(int width, int height, Bx6Card bx6Card)
width
- 屏幕宽度。height
- 屏幕高度。bx6Card
- BX6G 控制器规格。public Bx6GScreenProfile(int width, int height, Bx6Card bx6Card, Bx6GScreenProfile.ScreenColorType colorType, Bx6GScreenProfile.ScreenMatrixType matrixType)
width
- 屏幕宽度。height
- 屏幕高度。bx6Card
- BX6G 控制器规格。colorType
- 显示屏类型。matrixType
- 顏色編碼方式。Method Detail |
---|
public Bx6GScreenProfile.ScreenColorType getColorType()
public Bx6GScreenProfile.ScreenMatrixType getMatrixType()
public void setMatrixType(Bx6GScreenProfile.ScreenMatrixType matrixType)
matrixType
- 双基色点阵类型。public int getWidth()
public int getHeight()
public boolean isReverseFontData()
public boolean isFullColor()
public Map<String,Object> createMessageContext()
public int encodeColor(Color color)
color
- 顏色。
public Color decodeColor(int color)
color
- 色碼。
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |