| Modifier and Type | Method and Description |
|---|---|
String |
DefaultNotificationService.getWidgetNotificationSource(ActionContext<?> context) |
String |
NotificationService.getWidgetNotificationSource(ActionContext<?> context)
Gets default source for each notification sent by specified action.
|
default void |
NotificationService.notifyUser(ActionContext<?> context,
String eventType,
NotificationEvent.Level level,
Object... referenceObjects)
Sends a notification to end user.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
NotificationUtils.getWidgetNotificationSource(ActionContext<?> context)
Deprecated.
Gets default source for each notification sent by specified action.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractStatefulActionRenderer.addStateSocketListener(Action parent,
ActionContext<INPUT> context,
String listenerIdentity,
String socket,
Supplier<org.zkoss.zk.ui.event.EventListener<SocketEvent>> listenerSupplier)
Registers new socket listener on parent's widget, if it hasn't been done yet.
|
default boolean |
CockpitAction.canPerform(ActionContext<I> ctx)
Returns true if the action can be performed for the given context, false otherwise.
|
boolean |
LogoAction.canPerform(ActionContext<Object> ctx) |
boolean |
MessageAction.canPerform(ActionContext<Object> ctx) |
boolean |
SimpleAction.canPerform(ActionContext<String> ctx) |
boolean |
HelloWorldAction.canPerform(ActionContext<String> ctx) |
boolean |
ActionStubExample.canPerform(ActionContext<String> ctx) |
protected org.zkoss.zk.ui.event.EventListener<SocketEvent> |
AbstractStatefulActionRenderer.createStateSocketListener(Action parent,
ActionContext<INPUT> context,
String key,
Function valueSupplier)
Creates new instance of socket listener.
|
protected static String |
AbstractStatefulAction.getActionUID(ActionContext<?> context)
Reads unique identity of action.
|
default String |
CockpitAction.getConfirmationMessage(ActionContext<I> ctx)
Returns the confirmation message to be shown to the user in the confirmation dialog if confirmation is needed
(see
CockpitAction.needsConfirmation(ActionContext)). |
String |
LogoAction.getConfirmationMessage(ActionContext<Object> ctx) |
String |
MessageAction.getConfirmationMessage(ActionContext<Object> ctx) |
String |
SimpleAction.getConfirmationMessage(ActionContext<String> ctx) |
String |
HelloWorldAction.getConfirmationMessage(ActionContext<String> ctx) |
String |
ActionStubExample.getConfirmationMessage(ActionContext<String> ctx) |
protected String |
MessageActionRenderer.getLocalizedName(ActionContext context) |
protected <V> V |
AbstractStatefulAction.getValue(ActionContext<INPUT> actionContext,
String key)
Reads a value from parent's widget model.
|
protected <V> V |
AbstractStatefulActionRenderer.getValue(ActionContext<INPUT> actionContext,
String key)
Reads a value from parent's widget model.
|
default boolean |
CockpitAction.needsConfirmation(ActionContext<I> ctx)
Returns true if the action should be confirmed by user before being performed, false otherwise.
|
boolean |
LogoAction.needsConfirmation(ActionContext<Object> ctx) |
boolean |
MessageAction.needsConfirmation(ActionContext<Object> ctx) |
boolean |
SimpleAction.needsConfirmation(ActionContext<String> ctx) |
boolean |
HelloWorldAction.needsConfirmation(ActionContext<String> ctx) |
boolean |
ActionStubExample.needsConfirmation(ActionContext<String> ctx) |
ActionResult<O> |
CockpitAction.perform(ActionContext<I> ctx)
Performs the action.
|
ActionResult<Object> |
LogoAction.perform(ActionContext<Object> ctx) |
ActionResult<Object> |
MessageAction.perform(ActionContext<Object> ctx) |
ActionResult<String> |
SimpleAction.perform(ActionContext<String> ctx) |
ActionResult<String> |
HelloWorldAction.perform(ActionContext<String> ctx) |
ActionResult<String> |
ActionStubExample.perform(ActionContext<String> ctx) |
void |
CockpitActionRenderer.render(org.zkoss.zk.ui.Component parent,
CockpitAction<I,O> action,
ActionContext<I> context,
boolean updateMode,
ActionListener<O> listener) |
void |
LogoAction.render(org.zkoss.zk.ui.Component parent,
CockpitAction<Object,Object> action,
ActionContext<Object> context,
boolean updateMode,
ActionListener<Object> listener)
Render the logo button.
|
protected static <V> V |
AbstractStatefulAction.restoreModelValue(ActionContext<?> context,
String key)
Reads a value from parent's widget model.
|
protected void |
AbstractStatefulAction.setValue(ActionContext<INPUT> actionContext,
String key,
Object value)
Puts a value to parent's widget model.
|
protected void |
AbstractStatefulActionRenderer.setValue(ActionContext<INPUT> actionContext,
String key,
Object value)
Puts a value to parent's widget model.
|
protected static void |
AbstractStatefulAction.storeModelValue(ActionContext<?> context,
String key,
Object value)
Puts a value to parent's widget model.
|
| Constructor and Description |
|---|
ActionContext(ActionContext<I> context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CloneAction.canPerform(ActionContext<Object> ctx) |
protected boolean |
CloneAction.isDifferentThanOneObject(ActionContext<Object> ctx) |
ActionResult<Object> |
CloneAction.perform(ActionContext<Object> ctx) |
protected Object |
CloneAction.resolveObjectToClone(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CreateActionRenderer.bindTypeChooserToSubtypesPopup(ActionContext<Object> context,
org.zkoss.zul.Toolbarbutton openTypeChooser,
org.zkoss.zul.Popup subtypesPopup,
DataType currentType) |
boolean |
CreatePermissionAction.canPerform(ActionContext<Object> ctx) |
boolean |
CreateAction.canPerform(ActionContext<Object> ctx) |
protected org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event> |
CreateActionRenderer.createEventListener(CockpitAction<Object,Object> action,
ActionContext<Object> context,
ActionListener<Object> listener) |
protected org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event> |
CreatePermissionActionRenderer.createEventListener(CockpitAction<Object,Object> action,
ActionContext<Object> context,
ActionListener<Object> listener) |
protected org.zkoss.zul.TreeitemRenderer |
CreateActionRenderer.createTreeItemRenderer(ActionContext<Object> context) |
protected DataType |
CreateActionRenderer.extractCreatedTypeCode(ActionContext<Object> context) |
protected String |
CreateAction.findTypeCode(ActionContext<Object> ctx) |
String |
CreatePermissionAction.getConfirmationMessage(ActionContext<Object> ctx) |
String |
CreateAction.getConfirmationMessage(ActionContext<Object> ctx) |
protected DataType |
CreateActionRenderer.getEffectiveType(ActionContext<?> context) |
protected String |
CreateActionRenderer.getLocalizedName(ActionContext<?> context) |
protected String |
CreateAction.getNotificationSource(ActionContext<Object> ctx)
Deprecated.
since 6.7, use
NotificationService.getWidgetNotificationSource(ActionContext) instead. |
protected org.zkoss.zul.Popup |
CreateActionRenderer.getOrCreatePopup(org.zkoss.zk.ui.HtmlBasedComponent container,
org.zkoss.zul.Label label,
CockpitAction<Object,Object> action,
ActionContext<Object> context,
ActionListener<Object> listener) |
boolean |
CreatePermissionAction.needsConfirmation(ActionContext<Object> ctx) |
boolean |
CreateAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<Object> |
CreatePermissionAction.perform(ActionContext<Object> ctx) |
ActionResult<Object> |
CreateAction.perform(ActionContext<Object> ctx) |
protected void |
CreateActionRenderer.perform(CockpitAction<Object,Object> action,
ActionContext<Object> context,
ActionListener<Object> listener) |
void |
CreateActionRenderer.render(org.zkoss.zk.ui.Component parent,
CockpitAction<Object,Object> action,
ActionContext<Object> context,
boolean updateMode,
ActionListener<Object> listener) |
void |
CreatePermissionActionRenderer.render(org.zkoss.zk.ui.Component parent,
CockpitAction<Object,Object> action,
ActionContext<Object> context,
boolean updateMode,
ActionListener<Object> listener) |
protected void |
CreateAction.sendConfiguredOutput(ActionContext<Object> ctx,
String typeCode) |
protected boolean |
CreateAction.shouldInitializeEntity(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DevToolbarAction.canPerform(ActionContext<I> ctx) |
ActionResult<Object> |
ResetEverythingAction.perform(ActionContext<Object> ctx) |
ActionResult<Object> |
ReloadLabelsAction.perform(ActionContext<Object> ctx) |
ActionResult<Object> |
RedeployAction.perform(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DragAndDropConfigAction.canPerform(ActionContext<Object> ctx) |
boolean |
DragAndDropConfigAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<Object> |
DragAndDropConfigAction.perform(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event> |
DragAndDropConfigActionRenderer.createEventListener(CockpitAction<Object,Object> action,
ActionContext<Object> context,
ActionListener<Object> listener) |
protected org.zkoss.zul.ComboitemRenderer<DragAndDropActionType> |
DragAndDropConfigActionRenderer.createItemRenderer(ActionContext<Object> context) |
protected org.zkoss.zul.Popup |
DragAndDropConfigActionRenderer.createPopup(org.zkoss.zk.ui.Component target,
ActionContext<Object> context) |
protected org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.SelectEvent<?,DragAndDropActionType>> |
DragAndDropConfigActionRenderer.createSelectListener(ActionContext<Object> context) |
protected org.zkoss.zul.Popup |
DragAndDropConfigActionRenderer.findOrCreateActionPopup(org.zkoss.zk.ui.Component target,
ActionContext<Object> context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EditAction.canPerform(ActionContext<Object> ctx) |
protected Collection |
EditAction.convertToRequestedType(ActionContext<Object> ctx,
Collection<?> elements) |
boolean |
EditAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<Object> |
EditAction.perform(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ListViewExportCSVAction.canPerform(ActionContext<Map> ctx) |
String |
ListViewExportCSVAction.getConfirmationMessage(ActionContext<Map> ctx) |
boolean |
ListViewExportCSVAction.needsConfirmation(ActionContext<Map> ctx) |
ActionResult<Object> |
ListViewExportCSVAction.perform(ActionContext<Map> ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
FlexibleSidebarToggleActionRenderer.getDefaultActiveState(ActionContext<Object> context) |
protected String |
FlexibleSidebarToggleAction.getOutputSocket(ActionContext<Object> ctx) |
protected Object |
FlexibleSidebarToggleActionRenderer.getOutputValue(ActionContext<Object> ctx) |
protected String |
FlexibleSidebarToggleActionRenderer.getToggleInput(ActionContext<Object> context) |
protected boolean |
FlexibleSidebarToggleActionRenderer.isActionActivated(ActionContext<Object> context,
Object inputData) |
protected boolean |
FlexibleSidebarToggleActionRenderer.isBreakpointInitialized(org.zkoss.zk.ui.Component parent,
ActionContext<Object> actionContext) |
protected boolean |
FlexibleSidebarToggleActionRenderer.isInputConfigured(ActionContext<Object> context) |
void |
FlexibleSidebarToggleActionRenderer.render(org.zkoss.zk.ui.Component parent,
CockpitAction<Object,Object> action,
ActionContext<Object> context,
boolean updateMode,
ActionListener<Object> listener) |
protected void |
FlexibleSidebarToggleActionRenderer.setBreakpointInitialized(org.zkoss.zk.ui.Component parent,
ActionContext<Object> actionContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RunGCAction.canPerform(ActionContext<Object> ctx) |
String |
RunGCAction.getConfirmationMessage(ActionContext<Object> ctx) |
boolean |
RunGCAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<Object> |
RunGCAction.perform(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultActionRenderer.addKeyboardSupport(org.zkoss.zk.ui.Component component,
CockpitAction<I,O> cockpitAction,
ActionContext<I> ctx,
org.zkoss.zk.ui.event.EventListener onClickEventListener) |
protected String |
DefaultActionRenderer.adjustUri(ActionContext<I> context,
String uri) |
protected boolean |
DefaultActionRenderer.checkDataCompatibleWithDefinedInput(CockpitAction<I,O> action,
ActionContext<I> context) |
protected org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event> |
DefaultActionRenderer.createEventListener(CockpitAction<I,O> action,
ActionContext<I> context,
ActionListener<O> listener) |
protected String |
DefaultActionRenderer.createYTestId(ActionContext<I> context)
Creates a default ytestid
|
protected String |
DefaultActionRenderer.extractIconDisabledUri(ActionContext<I> context) |
protected String |
DefaultActionRenderer.extractIconHoverUri(ActionContext<I> context) |
protected String |
DefaultActionRenderer.extractIconUri(ActionContext<I> context) |
protected String |
DefaultActionRenderer.getActionBodySclass(ActionContext<I> context)
Creates a default sclass
|
protected String |
DefaultActionRenderer.getIconHoverUri(ActionContext<I> context,
boolean canPerform) |
protected String |
DefaultActionRenderer.getIconUri(ActionContext<I> context,
boolean canPerform) |
protected String |
DefaultActionRenderer.getLocalizedName(ActionContext<?> context) |
protected String |
DefaultActionRenderer.getToolTipWithCtrlKeysText(String toolTipToDecorate,
ActionContext<I> ctx) |
protected <T> T |
DefaultActionRenderer.loadFromParentModel(ActionContext<?> context,
String key,
Class<T> _clazz) |
protected void |
DefaultActionRenderer.perform(CockpitAction<I,O> action,
ActionContext<I> context,
ActionListener<O> listener) |
protected void |
DefaultActionRenderer.performWithConfirmationCheck(CockpitAction<I,O> action,
ActionContext<I> context,
ActionListener<O> listener) |
void |
DefaultActionRenderer.render(org.zkoss.zk.ui.Component parent,
CockpitAction<I,O> action,
ActionContext<I> context,
boolean updateMode,
ActionListener<O> listener) |
protected void |
DefaultActionRenderer.storeInParentModel(Object value,
ActionContext<?> context,
String key) |
protected void |
DefaultActionRenderer.triggerFromKeyEvent(org.zkoss.zk.ui.event.KeyEvent keyEvent,
CockpitAction<I,O> cockpitAction,
ActionContext<I> ctx,
org.zkoss.zk.ui.Component container,
org.zkoss.zk.ui.event.EventListener onClickEventListener) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
LabeledToggleActionRenderer.evaluateExpression(ActionContext<Object> context) |
protected boolean |
LabeledToggleActionRenderer.hasLabelExpression(ActionContext<Object> context) |
void |
LabeledToggleActionRenderer.render(org.zkoss.zk.ui.Component parent,
CockpitAction<Object,Object> action,
ActionContext<Object> context,
boolean updateMode,
ActionListener<Object> listener) |
protected void |
LabeledToggleActionRenderer.renderLabel(org.zkoss.zk.ui.Component parent,
ActionContext<Object> context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RefreshAction.canPerform(ActionContext<Object> ctx) |
String |
RefreshAction.getConfirmationMessage(ActionContext<Object> ctx) |
boolean |
RefreshAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<Object> |
RefreshAction.perform(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PrincipalPermissionAction.canPerform(ActionContext<Object> ctx) |
String |
PrincipalPermissionAction.getConfirmationMessage(ActionContext<Object> ctx) |
boolean |
PrincipalPermissionAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<Object> |
PrincipalPermissionAction.perform(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SearchByTypeAction.canPerform(ActionContext<Object> ctx) |
String |
SearchByTypeAction.getConfirmationMessage(ActionContext<Object> ctx) |
boolean |
SearchByTypeAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<String> |
SearchByTypeAction.perform(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SplitLayoutChooserAction.canPerform(ActionContext<Object> ctx) |
protected org.zkoss.zul.Button |
SplitLayoutChooserActionRenderer.createButton(String layoutName,
ActionContext<String> context) |
org.zkoss.zk.ui.event.EventListener<? extends org.zkoss.zk.ui.event.Event> |
SplitLayoutChooserActionRenderer.createEventListener(CockpitAction<String,String> action,
ActionContext<String> context,
ActionListener<String> actionListener) |
protected List<String> |
SplitLayoutChooserActionRenderer.findAvailableLayouts(ActionContext<String> context) |
protected String |
SplitLayoutChooserActionRenderer.findChosenLayout(ActionContext<String> context) |
protected String |
SplitLayoutChooserActionRenderer.findLayoutLabel(String layoutName,
ActionContext<String> context) |
String |
SplitLayoutChooserAction.getConfirmationMessage(ActionContext<Object> ctx) |
protected String |
SplitLayoutChooserActionRenderer.getIconUri(ActionContext<String> context,
String layoutName) |
boolean |
SplitLayoutChooserAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<Object> |
SplitLayoutChooserAction.perform(ActionContext<Object> ctx) |
void |
SplitLayoutChooserActionRenderer.render(org.zkoss.zk.ui.Component parent,
CockpitAction<String,String> action,
ActionContext<String> context,
boolean updateMode,
ActionListener<String> listener) |
protected void |
SplitLayoutChooserActionRenderer.renderPopup(org.zkoss.zk.ui.HtmlBasedComponent parent,
CockpitAction<String,String> action,
ActionContext<String> context,
ActionListener<String> listener) |
protected void |
SplitLayoutChooserActionRenderer.updateChosenLayoutButton(org.zkoss.zk.ui.HtmlBasedComponent parent,
String layoutName,
ActionContext<String> context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractToggleActionRenderer.addToggleListener(Action action,
WidgetInstanceManager wim,
ActionContext<Object> context) |
protected org.zkoss.zk.ui.event.EventListener<SocketEvent> |
AbstractToggleActionRenderer.createToggleListener(Action parent,
ActionContext<Object> context) |
protected boolean |
ToggleActionRenderer.getDefaultActiveState(ActionContext<Object> context) |
protected abstract boolean |
AbstractToggleActionRenderer.getDefaultActiveState(ActionContext<Object> context) |
protected String |
ToggleAction.getOutputSocket(ActionContext<Object> ctx) |
protected abstract String |
AbstractToggleAction.getOutputSocket(ActionContext<Object> ctx) |
protected Object |
ToggleActionRenderer.getOutputValue(ActionContext<Object> ctx) |
protected abstract Object |
AbstractToggleActionRenderer.getOutputValue(ActionContext<Object> ctx)
Reads action's value
|
protected String |
ToggleActionRenderer.getToggleInput(ActionContext<Object> context) |
protected abstract String |
AbstractToggleActionRenderer.getToggleInput(ActionContext<Object> context) |
protected void |
AbstractToggleActionRenderer.initializeState(ActionContext<Object> context)
Initializes an action state (active/inactive).
|
protected org.zkoss.zk.ui.event.EventListener<SocketEvent> |
AbstractToggleActionRenderer.initializeToggleListener(Action action,
ActionContext<Object> context) |
protected boolean |
ToggleActionRenderer.isActionActivated(ActionContext<Object> context,
Object inputData) |
protected abstract boolean |
AbstractToggleActionRenderer.isActionActivated(ActionContext<Object> context,
Object inputData) |
protected boolean |
AbstractToggleActionRenderer.isActive(ActionContext<Object> context)
Checks if action is currently active
|
protected boolean |
ToggleActionRenderer.isInputConfigured(ActionContext<Object> context) |
protected abstract boolean |
AbstractToggleActionRenderer.isInputConfigured(ActionContext<Object> context) |
ActionResult<Object> |
AbstractToggleAction.perform(ActionContext<Object> ctx) |
void |
AbstractToggleActionRenderer.render(org.zkoss.zk.ui.Component parent,
CockpitAction<Object,Object> action,
ActionContext<Object> context,
boolean updateMode,
ActionListener<Object> listener) |
protected Object |
AbstractToggleAction.restoreOutputValue(ActionContext<Object> ctx)
Reads action's output value from parent's widget model.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypePermissionAction.canPerform(ActionContext<Object> ctx) |
String |
TypePermissionAction.getConfirmationMessage(ActionContext<Object> ctx) |
boolean |
TypePermissionAction.needsConfirmation(ActionContext<Object> ctx) |
ActionResult<Object> |
TypePermissionAction.perform(ActionContext<Object> ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
TypeSelectorTreeItemRenderer.getEllipsisLength(ActionContext context) |
| Constructor and Description |
|---|
TypeSelectorTreeItemRenderer(LabelService labelService,
ActionContext<?> context) |
| Modifier and Type | Method and Description |
|---|---|
protected ActionContext |
Action.createActionContext(ActionDefinition actionDefinition) |
ActionContext |
Action.getActionContext() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
DefaultCockpitActionsRenderer.adjustUri(ActionContext context,
String uri) |
protected String |
DefaultCockpitActionsRenderer.extractIconDisabledUri(ActionContext context) |
protected String |
DefaultCockpitActionsRenderer.extractIconHoverUri(ActionContext context) |
protected String |
DefaultCockpitActionsRenderer.extractIconUri(ActionContext context) |
protected void |
Action.initializeActionContext(ActionContext actionContext,
org.zkoss.zk.ui.HtmlBasedComponent parent,
ActionDefinition actionDefinition,
CockpitAction action,
boolean updateOnly) |
Copyright © 2018. All rights reserved.