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, visible
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
NAME, 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, setVisible
addAttachListener, 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, withUnwrappedComposition
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIcon, setIcon, setIconFromSet
focus, getTabIndex, isFocusable, setFocusable, setTabIndex
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
isCaptionAsHtml, setCaptionAsHtml
getDescription, setDescription
isDescriptionAsHtml, setDescriptionAsHtml
protected 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 BulkEditor
public void setOpenType(WindowManager.OpenType openType)
setOpenType
in interface BulkEditor
public java.lang.String getExcludePropertiesRegex()
getExcludePropertiesRegex
in interface BulkEditor
public void setExcludePropertiesRegex(java.lang.String exclude)
setExcludePropertiesRegex
in interface BulkEditor
public java.util.List<java.lang.String> getIncludeProperties()
getIncludeProperties
in interface BulkEditor
public void setIncludeProperties(java.util.List<java.lang.String> includeProperties)
BulkEditor
setIncludeProperties
in interface BulkEditor
includeProperties
- list of entity's attributespublic ListComponent getListComponent()
getListComponent
in interface BulkEditor
public void setListComponent(ListComponent listComponent)
setListComponent
in interface BulkEditor
public java.util.Map<java.lang.String,Field.Validator> getFieldValidators()
getFieldValidators
in interface BulkEditor
public void setFieldValidators(java.util.Map<java.lang.String,Field.Validator> fieldValidators)
setFieldValidators
in interface BulkEditor
public java.util.List<Field.Validator> getModelValidators()
getModelValidators
in interface BulkEditor
public void setModelValidators(java.util.List<Field.Validator> modelValidators)
setModelValidators
in interface BulkEditor
public void setConstraintOperationType(ConstraintOperationType constraintOperationType)
BulkEditor
constraintOperationType
to the BulkEditAction.setConstraintOperationType
in interface BulkEditor
constraintOperationType
- constraintOperationTypepublic ConstraintOperationType getConstraintOperationType()
getConstraintOperationType
in interface BulkEditor
ConstraintOperationType
of the BulkEditActionpublic void setLoadDynamicAttributes(boolean loadDynamicAttributes)
setLoadDynamicAttributes
in interface BulkEditor
public boolean isLoadDynamicAttributes()
isLoadDynamicAttributes
in interface BulkEditor
public void setUseConfirmDialog(boolean useConfirmDialog)
BulkEditor
setUseConfirmDialog
in interface BulkEditor
useConfirmDialog
- useConfirmDialog optionpublic boolean getUseConfirmDialog()
getUseConfirmDialog
in interface BulkEditor
public io.jmix.ui.app.bulk.ColumnsMode getColumnsMode()
getColumnsMode
in interface BulkEditor
public void setColumnsMode(io.jmix.ui.app.bulk.ColumnsMode columnsMode)
BulkEditor
setColumnsMode
in interface BulkEditor
columnsMode
- columns modeColumnsMode.ONE_COLUMN
,
ColumnsMode.TWO_COLUMNS