Class OutcomesPanelImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractComponent<JmixCssActionsLayout>
io.jmix.bpmui.uicomponent.outcomespanel.OutcomesPanelImpl
- All Implemented Interfaces:
OutcomesPanel
,AttachNotifier
,Component
,Component.BelongToFrame
,Component.HasCaption
,Component.HasDescription
,Component.HasIcon
,Component.HasXmlDescriptor
,Component.Wrapper
,HasContextHelp
,HasDebugId
,HasHtmlCaption
,HasHtmlDescription
,HasHtmlSanitizer
public class OutcomesPanelImpl
extends AbstractComponent<JmixCssActionsLayout>
implements OutcomesPanel
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
Nested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEvent
Nested classes/interfaces inherited from interface io.jmix.bpmui.uicomponent.outcomespanel.OutcomesPanel
OutcomesPanel.Orientation
-
Field Summary
Modifier and TypeFieldDescriptionprotected Consumer<FormOutcome>
protected Predicate<FormOutcome>
protected String
protected UiEventPublisher
protected Component
protected Messages
protected OutcomesPanel.Orientation
protected List<FormOutcome>
protected org.flowable.task.api.Task
protected BpmTaskService
protected UiComponents
Fields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Fields inherited from interface io.jmix.bpmui.uicomponent.outcomespanel.OutcomesPanel
NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Button
protected ResponsiveGridLayout.Column
protected Component
createHorizontalLayout
(List<FormOutcome> outcomes) void
createLayout
(org.flowable.task.api.Task task, List<FormOutcome> outcomes) protected Button
createOutcomeBtn
(FormOutcome outcome) protected Component
createVerticalLayout
(List<FormOutcome> outcomes) protected String
evaluateIconValue
(FormOutcome outcome) org.flowable.task.api.Task
getTask()
void
setAfterTaskCompletedHandler
(Consumer<FormOutcome> afterTaskCompletedHandler) void
setBeforeTaskCompletedPredicate
(Predicate<FormOutcome> beforeTaskCompletedPredicate) void
setButtonsWidth
(String buttonsWidth) void
void
setOrientation
(OutcomesPanel.Orientation orientation) void
setProcessVariablesSupplier
(Supplier<Map<String, Object>> processVariablesSupplier) Methods inherited from class io.jmix.ui.component.impl.AbstractComponent
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
-
Field Details
-
taskService
-
uiComponents
-
messages
-
eventPublisher
-
orientation
-
outcomes
-
processVariablesSupplier
-
task
protected org.flowable.task.api.Task task -
afterTaskCompletedHandler
-
beforeTaskCompletedPredicate
-
actions
-
layout
-
buttonsWidth
-
-
Constructor Details
-
OutcomesPanelImpl
public OutcomesPanelImpl()
-
-
Method Details
-
createLayout
- Specified by:
createLayout
in interfaceOutcomesPanel
-
createVerticalLayout
-
createHorizontalLayout
-
createComponentColumn
-
createOutcomeBtn
-
evaluateIconValue
-
createCompleteTaskBtn
-
getOrientation
- Specified by:
getOrientation
in interfaceOutcomesPanel
-
setOrientation
- Specified by:
setOrientation
in interfaceOutcomesPanel
-
getOutcomes
- Specified by:
getOutcomes
in interfaceOutcomesPanel
-
getProcessVariablesSupplier
- Specified by:
getProcessVariablesSupplier
in interfaceOutcomesPanel
-
setProcessVariablesSupplier
- Specified by:
setProcessVariablesSupplier
in interfaceOutcomesPanel
-
getTask
public org.flowable.task.api.Task getTask()- Specified by:
getTask
in interfaceOutcomesPanel
-
getAfterTaskCompletedHandler
- Specified by:
getAfterTaskCompletedHandler
in interfaceOutcomesPanel
-
setAfterTaskCompletedHandler
- Specified by:
setAfterTaskCompletedHandler
in interfaceOutcomesPanel
-
getBeforeTaskCompletedPredicate
- Specified by:
getBeforeTaskCompletedPredicate
in interfaceOutcomesPanel
-
setBeforeTaskCompletedPredicate
- Specified by:
setBeforeTaskCompletedPredicate
in interfaceOutcomesPanel
-
getActions
- Specified by:
getActions
in interfaceOutcomesPanel
-
getLayout
- Specified by:
getLayout
in interfaceOutcomesPanel
-
setLayout
-
getButtonsWidth
- Specified by:
getButtonsWidth
in interfaceOutcomesPanel
-
setButtonsWidth
- Specified by:
setButtonsWidth
in interfaceOutcomesPanel
-