hsgame
接口 Form

所有超级接口:
Control

public interface Form
extends Control

Form。

作者:
HsGame

方法摘要
 void addBackKey(java.lang.String backKeyMethod)
           
 void addFormClosing(java.lang.String formClosingMethod)
          添加窗体关闭事件。
 void addFormOutsideMouse(java.lang.String formOutsideMouseMethod)
           
 void addSequentialTask(java.lang.String sequentialTaskMethod)
          添加顺序任务事件。
 void addSequentialTaskFinished(java.lang.String sequentialTaskFinishedMethod)
          添加顺序任务完成时。
 void close()
          关闭窗体。
 void doSequentialTask()
          执行顺序任务。
 Control getControl(java.lang.String name)
          通过控件名获取控件。
 void hide()
          隐藏窗体。
 boolean isDisposed()
          窗体是否已销毁。
 boolean isHide()
          窗体是否隐藏。
 boolean isMousePenetrate()
          点击是否穿透窗体。
 boolean isMousePenetrateOutside()
          点击是否穿透窗体外部。
 void removeBackKey(java.lang.String backKeyMethod)
           
 void removeFormClosing(java.lang.String formClosingMethod)
           
 void removeFormOutsideMouse(java.lang.String formOutsideMouseMethod)
           
 void removeSequentialTaskFinished(java.lang.String sequentialTaskFinishedMethod)
           
 void setMousePenetrate(boolean mouseDownPenetrate)
           
 void setMousePenetrateOutside(boolean mouseDownPenetrateOutside)
           
 void show()
          显示隐藏的窗体。
 void showDialog()
          显示窗体。
 
从接口 hsgame.Control 继承的方法
addActionScale, addActivated, addAlpha, addBackColorChanged, addControl, addControlAdded, addControlRemoved, addDisabledMouseDown, addDisabledMouseMove, addDisabledMouseUp, addDisabledMouseUpDown, addDisabledMouseUpDownMove, addEnabledChanged, addFilledRectangle, addFrameFlagChecked, addFrameFlagChecked, addGotFocus, addInvalidated, addKeyDown, addKeyUp, addLeft, addLine, addLinearMove, addLoad, addLocationChanged, addLoseFocus, addMouseDown, addMouseDown, addMouseMove, addMouseMove, addMouseUp, addMouseUp, addMouseUpDown, addMouseUpDownMove, addMove, addPaint, addPaint, addParentChanged, addParticleEffect, addPathMove, addRectangle, addResize, addRunnable, addRunnable, addScale, addSizeChanged, addTextAlpha, addTimer, addTop, addUIAction, addUIAction, addUIAction, addUIAction, addUIAction, addUIPainter, addUIPainter, addUIPainter, addUIPainter, addUISpineAction, addUISpineAction, addUISpineAction, addUISpineAction, addUISpineAction, addUISpineAction, addUISpineAction, addUISpineAction, addVisibleChanged, clearAlpha, clearScales, clearShape, clearShapes, clearUIAction, clearUIActions, clearUIPainter, clearUIPainters, clone, contains, createWebViewClient, getBackColor, getBorderColor, getClientRectangle, getControl, getControlRectangleToScreen, getControls, getFontSize, getForeBorderColor, getForeColor, getHeight, getLeft, getLeftToForm, getLeftToScreen, getParent, getParentForm, getTag, getText, getTextAlign, getTextWidth, getTextWithoutTagsWidth, getTop, getTopToForm, getTopToScreen, getUISpineActionRotation, getWidth, insertControl, isChecked, isContainer, isCreated, isEnabled, isFlipX, isPaint, isVisible, playAction, playSpineAction, playSpineAction, playSpineAction, playSpineAction, removeActivated, removeAllControls, removeBackColorChanged, removeBasePaintEvent, removeControl, removeControl, removeControlAdded, removeControlRemoved, removeDisabledMouseDown, removeDisabledMouseMove, removeDisabledMouseUp, removeEnabledChanged, removeFilledRectangle, removeFrameFlagChecked, removeGotFocus, removeInvalidated, removeKeyDown, removeKeyUp, removeLine, removeLinearMove, removeLoad, removeLocationChanged, removeLoseFocus, removeMouseDown, removeMouseMove, removeMouseUp, removeMove, removePaint, removeParentChanged, removeParticleEffect, removePathMove, removeRectangle, removeResize, removeRunnable, removeSizeChanged, removeTimer, removeUIAction, removeUIPainter, removeUISpineAction, removeVisibleChanged, replaceUIActionMLG, resetAsc, setActionScale, setAlpha, setAnchor, setBackColor, setBorderColor, setChecked, setCustomBackgroundThemeLength, setDigitalText, setEnabled, setEnabled, setFlipX, setFontSize, setForeBorderColor, setForeColor, setHeight, setLeft, setPaint, setParent, setScale, setShader, setShader, setTag, setText, setText, setTextAlign, setTheme, setTop, setUIActionLoopCount, setUIPainterAction, setUIPainterLoopCount, setUISpineActionLoopCount, setUISpineActionRotation, setUISpineActionSkin, setUITextHandlerDigitFormat, setVisible, setWidth
 

方法详细信息

getControl

Control getControl(java.lang.String name)
通过控件名获取控件。

参数:
name -
返回:

showDialog

void showDialog()
显示窗体。


close

void close()
关闭窗体。


show

void show()
显示隐藏的窗体。


hide

void hide()
隐藏窗体。


isHide

boolean isHide()
窗体是否隐藏。

返回:

isDisposed

boolean isDisposed()
窗体是否已销毁。

返回:

addSequentialTask

void addSequentialTask(java.lang.String sequentialTaskMethod)
添加顺序任务事件。

参数:
sequentialTaskMethod -

doSequentialTask

void doSequentialTask()
执行顺序任务。


addSequentialTaskFinished

void addSequentialTaskFinished(java.lang.String sequentialTaskFinishedMethod)
添加顺序任务完成时。

参数:
sequentialTaskFinishedMethod -

removeSequentialTaskFinished

void removeSequentialTaskFinished(java.lang.String sequentialTaskFinishedMethod)

addFormClosing

void addFormClosing(java.lang.String formClosingMethod)
添加窗体关闭事件。

参数:
formClosingMethod -

removeFormClosing

void removeFormClosing(java.lang.String formClosingMethod)

addBackKey

void addBackKey(java.lang.String backKeyMethod)

removeBackKey

void removeBackKey(java.lang.String backKeyMethod)

addFormOutsideMouse

void addFormOutsideMouse(java.lang.String formOutsideMouseMethod)

removeFormOutsideMouse

void removeFormOutsideMouse(java.lang.String formOutsideMouseMethod)

isMousePenetrate

boolean isMousePenetrate()
点击是否穿透窗体。

返回:

setMousePenetrate

void setMousePenetrate(boolean mouseDownPenetrate)

isMousePenetrateOutside

boolean isMousePenetrateOutside()
点击是否穿透窗体外部。

返回:

setMousePenetrateOutside

void setMousePenetrateOutside(boolean mouseDownPenetrateOutside)