public class WebBulkEditor extends io.jmix.ui.component.impl.ButtonImpl implements BulkEditor
io.jmix.ui.component.Component.Alignment, io.jmix.ui.component.Component.BelongToFrame, io.jmix.ui.component.Component.Disposable, io.jmix.ui.component.Component.Editable, io.jmix.ui.component.Component.Focusable, io.jmix.ui.component.Component.HasCaption, io.jmix.ui.component.Component.HasDescription, io.jmix.ui.component.Component.HasIcon, io.jmix.ui.component.Component.HasXmlDescriptor, io.jmix.ui.component.Component.Wrapper| Modifier and Type | Field and Description |
|---|---|
protected BulkEditAction |
bulkEditAction |
protected io.jmix.ui.app.bulk.ColumnsMode |
columnsMode |
protected ConstraintOperationType |
constraintOperationType |
protected java.lang.String |
exclude |
protected java.util.Map<java.lang.String,Field.Validator> |
fieldValidators |
protected java.util.List<java.lang.String> |
includeProperties |
protected ListComponent |
listComponent |
protected boolean |
loadDynamicAttributes |
protected java.util.List<Field.Validator> |
modelValidators |
protected WindowManager.OpenType |
openType |
protected boolean |
useConfirmDialog |
action, actionPropertyChangeListener, enabled, primary, shortcut, visiblealignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentNAME, PERMISSION| Constructor and Description |
|---|
WebBulkEditor() |
| Modifier and Type | Method and Description |
|---|---|
io.jmix.ui.app.bulk.ColumnsMode |
getColumnsMode() |
ConstraintOperationType |
getConstraintOperationType() |
java.lang.String |
getExcludePropertiesRegex() |
java.util.Map<java.lang.String,Field.Validator> |
getFieldValidators() |
java.util.List<java.lang.String> |
getIncludeProperties() |
ListComponent |
getListComponent() |
java.util.List<Field.Validator> |
getModelValidators() |
WindowManager.OpenType |
getOpenType() |
boolean |
getUseConfirmDialog() |
boolean |
isLoadDynamicAttributes() |
void |
setColumnsMode(io.jmix.ui.app.bulk.ColumnsMode columnsMode)
Sets the columns mode which defines the number of editor columns.
|
void |
setConstraintOperationType(ConstraintOperationType constraintOperationType)
Sets the given
constraintOperationType to the BulkEditAction. |
void |
setExcludePropertiesRegex(java.lang.String exclude) |
void |
setFieldValidators(java.util.Map<java.lang.String,Field.Validator> fieldValidators) |
void |
setIncludeProperties(java.util.List<java.lang.String> includeProperties)
Sets entity's attributes to the bulk editor dialog.
|
void |
setListComponent(ListComponent listComponent) |
void |
setLoadDynamicAttributes(boolean loadDynamicAttributes) |
void |
setModelValidators(java.util.List<Field.Validator> modelValidators) |
void |
setOpenType(WindowManager.OpenType openType) |
void |
setUseConfirmDialog(boolean useConfirmDialog)
Set useConfirmDialog property to false if you want to disable confirm dialog and commit changes immediately.
|
addClickListener, addStyleName, afterActionPerformed, beforeActionPerformed, buttonClicked, click, createComponent, focus, getAction, getActionEventTarget, getShortcutCombination, getTabIndex, initComponent, isCaptionAsHtml, isDisableOnClick, removeStyleName, setAction, setCaptionAsHtml, setDisableOnClick, setEnabled, setIcon, setShortcut, setShortcutCombination, setTabIndex, setVisibleaddAttachListener, addDetachListener, 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, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, sanitize, setAlignment, setApplicationContext, setCaption, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setFrame, setHeight, setHtmlSanitizerEnabled, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIcon, setIcon, setIconFromSetfocus, getTabIndex, isFocusable, setFocusable, setTabIndexaddStyleName, 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, withUnwrappedCompositionisCaptionAsHtml, setCaptionAsHtmlgetDescription, setDescriptionisDescriptionAsHtml, setDescriptionAsHtmlprotected java.lang.String exclude
protected java.util.List<java.lang.String> includeProperties
protected WindowManager.OpenType openType
protected BulkEditAction bulkEditAction
protected ListComponent listComponent
protected java.util.Map<java.lang.String,Field.Validator> fieldValidators
protected java.util.List<Field.Validator> modelValidators
protected ConstraintOperationType constraintOperationType
protected boolean loadDynamicAttributes
protected boolean useConfirmDialog
protected io.jmix.ui.app.bulk.ColumnsMode columnsMode
public WindowManager.OpenType getOpenType()
getOpenType in interface BulkEditorpublic void setOpenType(WindowManager.OpenType openType)
setOpenType in interface BulkEditorpublic java.lang.String getExcludePropertiesRegex()
getExcludePropertiesRegex in interface BulkEditorpublic void setExcludePropertiesRegex(java.lang.String exclude)
setExcludePropertiesRegex in interface BulkEditorpublic java.util.List<java.lang.String> getIncludeProperties()
getIncludeProperties in interface BulkEditorpublic void setIncludeProperties(java.util.List<java.lang.String> includeProperties)
BulkEditorsetIncludeProperties in interface BulkEditorincludeProperties - list of entity's attributespublic ListComponent getListComponent()
getListComponent in interface BulkEditorpublic void setListComponent(ListComponent listComponent)
setListComponent in interface BulkEditorpublic java.util.Map<java.lang.String,Field.Validator> getFieldValidators()
getFieldValidators in interface BulkEditorpublic void setFieldValidators(java.util.Map<java.lang.String,Field.Validator> fieldValidators)
setFieldValidators in interface BulkEditorpublic java.util.List<Field.Validator> getModelValidators()
getModelValidators in interface BulkEditorpublic void setModelValidators(java.util.List<Field.Validator> modelValidators)
setModelValidators in interface BulkEditorpublic void setConstraintOperationType(ConstraintOperationType constraintOperationType)
BulkEditorconstraintOperationType to the BulkEditAction.setConstraintOperationType in interface BulkEditorconstraintOperationType - constraintOperationTypepublic ConstraintOperationType getConstraintOperationType()
getConstraintOperationType in interface BulkEditorConstraintOperationType of the BulkEditActionpublic void setLoadDynamicAttributes(boolean loadDynamicAttributes)
setLoadDynamicAttributes in interface BulkEditorpublic boolean isLoadDynamicAttributes()
isLoadDynamicAttributes in interface BulkEditorpublic void setUseConfirmDialog(boolean useConfirmDialog)
BulkEditorsetUseConfirmDialog in interface BulkEditoruseConfirmDialog - useConfirmDialog optionpublic boolean getUseConfirmDialog()
getUseConfirmDialog in interface BulkEditorpublic io.jmix.ui.app.bulk.ColumnsMode getColumnsMode()
getColumnsMode in interface BulkEditorpublic void setColumnsMode(io.jmix.ui.app.bulk.ColumnsMode columnsMode)
BulkEditorsetColumnsMode in interface BulkEditorcolumnsMode - columns modeColumnsMode.ONE_COLUMN,
ColumnsMode.TWO_COLUMNS