public class InputTestController extends DefaultWidgetController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
GROOVYCONSOLE |
protected static String |
HISTORY |
protected static String |
SEND_BUTTON |
protected static String |
SOCKET_OUT_COLLECTION_OUTPUT |
| Constructor and Description |
|---|
InputTestController() |
| Modifier and Type | Method and Description |
|---|---|
List<BreadboardSnippet> |
buildSnippetList() |
void |
buttonClicked() |
groovy.lang.GroovyShell |
generateShell() |
BreadboardSnippetService |
getBreadboardSnippetService() |
org.zkoss.zul.Label |
getConsoleOutput() |
Codeeditor |
getGroovyConsole() |
org.zkoss.zul.Listbox |
getHistoryBox() |
org.zkoss.zul.Panel |
getOutputConsoleBox() |
groovy.lang.GroovyShell |
getShell() |
org.zkoss.zul.Menupopup |
getSnippetMenu() |
void |
groovyConsoleChanged() |
void |
initialize(org.zkoss.zk.ui.Component comp)
Override this method to do initialization stuff for your widget, like initialize widget settings, restore view
state from viewmodel, etc.
|
void |
preInitialize(org.zkoss.zk.ui.Component comp)
Override this method to initialize widget settings.
|
void |
showHistorySnippet()
Returns the selected Snippet from the historyBox
|
doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitlescanEventListenersalert, didActivate, getPage, willClone, willPassivateprotected static final String SEND_BUTTON
protected static final String GROOVYCONSOLE
protected static final String HISTORY
protected static final String SOCKET_OUT_COLLECTION_OUTPUT
public void preInitialize(org.zkoss.zk.ui.Component comp)
DefaultWidgetControllerpreInitialize in class DefaultWidgetControllerpublic void initialize(org.zkoss.zk.ui.Component comp)
DefaultWidgetControllerDefaultWidgetController.doAfterCompose(Component) everytime your widget
view is created. See GenericForwardComposer.doAfterCompose(Component) for more details.initialize in class DefaultWidgetControllerpublic void groovyConsoleChanged()
public groovy.lang.GroovyShell generateShell()
public void buttonClicked()
public void showHistorySnippet()
public List<BreadboardSnippet> buildSnippetList()
public org.zkoss.zul.Panel getOutputConsoleBox()
public org.zkoss.zul.Label getConsoleOutput()
public org.zkoss.zul.Menupopup getSnippetMenu()
public groovy.lang.GroovyShell getShell()
public org.zkoss.zul.Listbox getHistoryBox()
public Codeeditor getGroovyConsole()
public BreadboardSnippetService getBreadboardSnippetService()
Copyright © 2018. All rights reserved.