public class BreadboardController extends DefaultWidgetController
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BUTTON_WIDGET_SETTINGS |
protected static String |
CLEAR_BUTTON |
static String |
SELECT_WIDGET_DEFINITION_INPUT_ID |
protected static String |
SOCKET_IN_COLLECTION_INPUT_LOGGER |
protected static String |
SOCKET_IN_COLLECTION_OUTPUT_LOGGER |
protected static String |
SOCKET_IN_SINGLE_INPUT_LOGGER |
protected static String |
SOCKET_IN_SINGLE_OUTPUT_LOGGER |
protected static String |
WIDGET_SELECTOR_ID |
| Constructor and Description |
|---|
BreadboardController() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToConsole(Object data,
String prompt) |
void |
clearConsole() |
org.zkoss.zk.ui.Component |
createConsoleEntry(String entry) |
org.zkoss.zul.Div |
getAdditionalStyleContainer() |
org.zkoss.zk.ui.Component |
getBottom() |
CockpitAdminService |
getCockpitAdminService() |
CockpitComponentDefinitionService |
getComponentDefinitionService() |
protected List<String> |
getConsoleLog() |
org.zkoss.zul.Div |
getDivWidgetSettings() |
org.zkoss.zul.Label |
getOutputLabel() |
Widgetslot |
getTestSlot() |
org.zkoss.zul.Label |
getWidgetCategoryTag() |
org.zkoss.zul.Label |
getWidgetCode() |
org.zkoss.zul.Label |
getWidgetController() |
org.zkoss.zul.Label |
getWidgetDefaultTitle() |
org.zkoss.zul.Label |
getWidgetDescription() |
WidgetInstanceService |
getWidgetInstanceService() |
org.zkoss.zul.Label |
getWidgetName() |
org.zkoss.zul.Listbox |
getWidgetSelector() |
WidgetService |
getWidgetService() |
org.zkoss.zul.Label |
getWidgetViewURI() |
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 |
logCollectionInput(org.zkoss.zk.ui.event.Event event) |
void |
logCollectionOutput(org.zkoss.zk.ui.event.Event event) |
protected void |
logData(org.zkoss.zk.ui.event.Event event) |
void |
logSingleInput(org.zkoss.zk.ui.event.Event event) |
void |
logSingleOutput(org.zkoss.zk.ui.event.Event event) |
void |
selectWidgetDefinition() |
void |
selectWidgetDefinition(String definitionID) |
void |
selectWidgetDefinitionInternal(WidgetDefinition selectedDefinition) |
void |
showInputSocket() |
protected void |
updateDefinitionInfoArea(WidgetDefinition definition) |
void |
updateWidgetDefinition(WidgetDefinition definition) |
doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitlescanEventListenersalert, didActivate, getPage, willClone, willPassivatepublic static final String SELECT_WIDGET_DEFINITION_INPUT_ID
protected static final String WIDGET_SELECTOR_ID
protected static final String CLEAR_BUTTON
protected static final String BUTTON_WIDGET_SETTINGS
protected static final String SOCKET_IN_COLLECTION_INPUT_LOGGER
protected static final String SOCKET_IN_SINGLE_INPUT_LOGGER
protected static final String SOCKET_IN_COLLECTION_OUTPUT_LOGGER
protected static final String SOCKET_IN_SINGLE_OUTPUT_LOGGER
public 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 org.zkoss.zk.ui.Component createConsoleEntry(String entry)
public void logCollectionInput(org.zkoss.zk.ui.event.Event event)
public void logSingleInput(org.zkoss.zk.ui.event.Event event)
public void logCollectionOutput(org.zkoss.zk.ui.event.Event event)
public void logSingleOutput(org.zkoss.zk.ui.event.Event event)
protected void logData(org.zkoss.zk.ui.event.Event event)
public void selectWidgetDefinition(String definitionID)
public void selectWidgetDefinition()
public void selectWidgetDefinitionInternal(WidgetDefinition selectedDefinition)
public void showInputSocket()
public void clearConsole()
protected void updateDefinitionInfoArea(WidgetDefinition definition)
public void updateWidgetDefinition(WidgetDefinition definition)
public CockpitComponentDefinitionService getComponentDefinitionService()
public WidgetInstanceService getWidgetInstanceService()
public WidgetService getWidgetService()
public CockpitAdminService getCockpitAdminService()
public org.zkoss.zul.Listbox getWidgetSelector()
public org.zkoss.zul.Label getWidgetCode()
public org.zkoss.zul.Label getWidgetName()
public org.zkoss.zul.Label getWidgetDescription()
public org.zkoss.zul.Label getWidgetController()
public org.zkoss.zul.Label getWidgetCategoryTag()
public org.zkoss.zul.Label getWidgetViewURI()
public org.zkoss.zul.Label getWidgetDefaultTitle()
public org.zkoss.zk.ui.Component getBottom()
public org.zkoss.zul.Label getOutputLabel()
public org.zkoss.zul.Div getDivWidgetSettings()
public org.zkoss.zul.Div getAdditionalStyleContainer()
public Widgetslot getTestSlot()
Copyright © 2018. All rights reserved.