接口 hsgame.Control
的使用

hsgameControl 的使用
 

hsgameControl 的子接口
 interface Button
          Button。
 interface Container
          Container。
 interface Form
          Form。
 interface Label
          Label。
 interface ListItem
          ListItem。
 interface ListView
          ListView。
 interface ProgressBar
          ProgressBar。
 

返回 Controlhsgame 中的方法
 Control Actor.getControl()
          获取跟随控件。
 Control Control.getControl(int id)
           
 Control Form.getControl(java.lang.String name)
          通过控件名获取控件。
 Control Control.getParent()
           
 Control Control.getParentForm()
           
 

返回变量类型为 Control 的类型的 hsgame 中的方法
 java.util.List<Control> Control.getControls()
           
 

参数类型为 Controlhsgame 中的方法
 void Control.addControl(Control control)
          添加子控件。
 void GameEngine.addUpdateUIDigitalTextHandler(Control control, Actor actor, byte dataType, int dataId, short digitalId)
           
 void GameEngine.addUpdateUIDigitalTextHandler(Control control, short animationId, byte dataType, int dataId, short digitalId)
           
 void GameEngine.addUpdateUITextHandler(Control control, Actor actor, byte dataType, int dataId)
           
 void GameEngine.addUpdateUITextHandler(Control control, short animationId, byte dataType, int dataId)
           
 void Timer.bindingControl(Control control, java.lang.String format)
          绑定Timer显示(s, ss, sss, m:s, mm:ss, h:m:s, hh:mm:ss)。
 void GameEngine.clearUpdateUIHandler(Control control)
          清除UI更新绑定。
 boolean Control.contains(Control control)
          是否包含控件。
 void Control.insertControl(int index, Control control)
          插入子控件。
 void Control.removeControl(Control control)
          移除控件。
 void Actor.setControl(Control control, int offsetX, int offsetY)
          设置跟随控件(控件中心点偏移offset,跟随对象)。
 void GameEngine.setNoInteractiveDialogClickControls(Control... controls)
          设置可点击的控件。
 void Control.setParent(Control parent)