Control
画面側で発生したイベントをサーバ側で取得する仕組みです。
以下のようなシーケンス図(http://click.sourceforge.net/images/control-post-sequence-diagram.png)
Controlは以下のインターフェースを実装する(http://click.sourceforge.net/images/control-class-diagram.png)
method | description | |
---|---|---|
getContext() / setContext() | provides access to the request Context. | |
getHtmlImports() | defines the controls HTML header imports. | |
getId() | defines the controls HTML id attribute. | |
setListener() | set the control action callback listener. | |
getMessages() | defines the controls localized messages map. | |
getName() / setName() | defines the controls name in the Page model or Form fields. | |
getParent() / setParent() | defines the controls parent. | |
onDeploy() | deploy resources on startup. | |
onProcess() | process request event handler. |