onbon.bx06.file.nd
类 CommonBxUnitND

java.lang.Object
  继承者 onbon.bx06.file.nd.BxUnitND
      继承者 onbon.bx06.file.nd.CommonBxUnitND

public class CommonBxUnitND
extends BxUnitND

通用单元。

作者:
ONBON

构造方法摘要
CommonBxUnitND(onbon.bx06.message.area.unit.CommonUnit unit, Bx6GScreenProfile screenProfile)
          建构子。
 
方法摘要
 byte[] generate(Bx6GScreenProfile profile)
          产生单元位元组资讯。
 Color getUnitColor()
          取得单位颜色。
 void setUnitColor(Color unitColor)
          设定单位颜色。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CommonBxUnitND

public CommonBxUnitND(onbon.bx06.message.area.unit.CommonUnit unit,
                      Bx6GScreenProfile screenProfile)
建构子。

参数:
unit - 单元。
screenProfile - 屏幕规格。
方法详细信息

getUnitColor

public Color getUnitColor()
取得单位颜色。

返回:
单位颜色。

setUnitColor

public void setUnitColor(Color unitColor)
设定单位颜色。

参数:
unitColor - 单位颜色。

generate

public byte[] generate(Bx6GScreenProfile profile)
从类 BxUnitND 复制的描述
产生单元位元组资讯。

指定者:
类 BxUnitND 中的 generate
参数:
profile - 屏幕规格。
返回:
位元组资讯。


Copyright © 2018 onbon. All rights reserved.