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 close()
          关闭窗体。
 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 setMousePenetrate(boolean mouseDownPenetrate)
           
 void setMousePenetrateOutside(boolean mouseDownPenetrateOutside)
           
 void show()
          显示隐藏的窗体。
 void showDialog()
          显示窗体。
 
从接口 hsgame.Control 继承的方法
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, addScale, addSizeChanged, addTimer, addTop, addUIAction, addUIAction, addUIAction, addUIAction, addUIPainter, addUIPainter, addUIPainter, addUIPainter, addVisibleChanged, 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, getTop, getTopToForm, getTopToScreen, getWidth, insertControl, isChecked, isContainer, isCreated, isEnabled, isFlipX, isPaint, isVisible, 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, removeSizeChanged, removeTimer, removeUIAction, removeUIPainter, removeVisibleChanged, resetAsc, setAlpha, setAnchor, setBackColor, setBorderColor, setChecked, setDigitalText, setEnabled, setFlipX, setFontSize, setForeBorderColor, setForeColor, setHeight, setLeft, setPaint, setParent, setScale, setShader, setTag, setText, setText, setTextAlign, setTheme, setTop, setUIActionLoopCount, setUIPainterAction, setUIPainterLoopCount, 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()
窗体是否已销毁。

返回:

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)