Package io.jmix.imapui.screen.mailbox
Class ImapMailBoxEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<ImapMailBox>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("imap_MailBox.edit")
@UiDescriptor("imap-mail-box-edit.xml")
public class ImapMailBoxEdit
extends StandardEditor<ImapMailBox>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected AvailableBeansProvider
protected Button
protected UiComponents
protected boolean
protected DataContext
protected EntityStates
protected CollectionContainer<ImapFolderEvent>
protected FileStorage
protected FileStorageLocator
protected FolderRefresher
protected CollectionContainer<ImapFolder>
protected SplitPanel
protected TreeTable<ImapFolder>
protected CollectionContainer<ImapEventHandler>
protected ImapEventHandlersFragment
protected InstanceContainer<ImapMailBox>
protected DataLoader
protected FileStorageUploadField
protected MessageBundle
protected Messages
protected Metadata
protected Notifications
protected Form
protected boolean
protected EntityPicker<ImapFolder>
protected CheckBox
protected CheckBox
protected CheckBox
protected CheckBox
Fields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Fields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSE
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
changeSelection
(ImapFolder folder, boolean selection) protected void
changeSelectionWithChildren
(ImapFolder folder, boolean selection) void
checkConnection
(Button.ClickEvent clickEvent) void
void
void
void
void
void
protected void
onAfterShow
(Screen.AfterShowEvent event) protected void
protected void
protected void
protected void
protected void
protected void
protected void
void
protected void
setEnableForButtons
(boolean enable) protected void
protected void
setProxyParamsVisible
(boolean visible) protected void
protected ScreenOptions
void
void
void
Methods inherited from class io.jmix.ui.screen.StandardEditor
addAfterCommitChangesListener, addBeforeCommitChangesListener, addDefaultCloseAction, addDefaultCommitAction, addDefaultCommitAndCloseAction, addDefaultEnableEditingAction, addInitEntityListener, addValidationEventListener, cancel, closeWithCommit, closeWithDiscard, commit, commitAndClose, commitChanges, disableCommitActions, doNotReloadEditedEntity, enableEditing, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getSaveNotificationCaption, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, isUiListComponentsValidationEnabled, onChangeEvent, onPostCommitEvent, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateAdditionalRules, validateScreen, validateUiComponents
Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
mailBoxDc
-
availableBeansProvider
-
metadata
-
notifications
-
messages
-
messageBundle
-
useProxyChkBox
-
proxyParams
-
proxyHostField
-
proxyPortField
-
webProxyChkBox
-
useTrashFolderChkBox
-
useCustomEventsGeneratorChkBox
-
customEventsGeneratorClassLookup
-
jmixFlagTextField
-
trashFolderEntityPicker
-
checkConnectionBtn
-
entityStates
-
connectionEstablished
protected boolean connectionEstablished -
mailBoxRootCertificateField
-
foldersTable
-
folderRefresher
-
foldersDc
-
eventsDc
-
componentsFactory
-
handlersDc
-
foldersPane
-
mailBoxDl
-
dataContext
-
handlersFragment
-
rootCertificateUploaded
protected boolean rootCertificateUploaded -
fileStorageLocator
-
fileStorage
-
-
Constructor Details
-
ImapMailBoxEdit
public ImapMailBoxEdit()
-
-
Method Details
-
onBeforeShow
-
onAfterShow
-
onMailBoxRootCertificateFileUploadSucceed
@Subscribe("mailBoxRootCertificateField") protected void onMailBoxRootCertificateFileUploadSucceed(SingleFileUploadField.FileUploadSucceedEvent event) -
checkConnection
-
trashFolderEntityPickerLookupScreenOptionsSupplier
@Install(to="trashFolderEntityPicker.entity_lookup", subject="screenOptionsSupplier") protected ScreenOptions trashFolderEntityPickerLookupScreenOptionsSupplier() -
onInitEntity
-
onBeforeCommit
-
onMailBoxDcItemPropertyChange
@Subscribe(id="mailBoxDc", target=DATA_CONTAINER) protected void onMailBoxDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<ImapMailBox> event) -
onEventsDcItemChangeEvent
@Subscribe(id="eventsDc", target=DATA_CONTAINER) protected void onEventsDcItemChangeEvent(InstanceContainer.ItemChangeEvent<ImapFolderEvent> event) -
useTrashFolderChkBoxValueChanged
@Subscribe("useTrashFolderChkBox") public void useTrashFolderChkBoxValueChanged(HasValue.ValueChangeEvent<Boolean> event) -
useCustomEventsGeneratorChkBoxValueChanged
@Subscribe("useCustomEventsGeneratorChkBox") public void useCustomEventsGeneratorChkBoxValueChanged(HasValue.ValueChangeEvent<Boolean> event) -
useProxyCheckBoxValueChanged
@Subscribe("useProxyChkBox") public void useProxyCheckBoxValueChanged(HasValue.ValueChangeEvent<Boolean> event) -
setTrashFolderControls
protected void setTrashFolderControls() -
setEventGeneratorControls
protected void setEventGeneratorControls() -
setProxyParamsVisible
protected void setProxyParamsVisible(boolean visible) -
setEnableForButtons
protected void setEnableForButtons(boolean enable) -
foldersTableEnabledColumnGenerator
@Install(to="foldersTable.enabled", subject="columnGenerator") public CheckBox foldersTableEnabledColumnGenerator(ImapFolder folder) -
foldersTableNameColumnGenerator
-
refreshFolders
-
refreshFolders
protected void refreshFolders() -
enableFolder
-
enableFolderWithChildren
@Subscribe("foldersTable.enableWithChildren") public void enableFolderWithChildren(Action.ActionPerformedEvent event) -
disableFolder
@Subscribe("foldersTable.disableSingle") public void disableFolder(Action.ActionPerformedEvent event) -
disableFolderWithChildren
@Subscribe("foldersTable.disableWithChildren") public void disableFolderWithChildren(Action.ActionPerformedEvent event) -
enableAllEvents
-
disableAllEvents
@Subscribe("eventsTable.disableAll") public void disableAllEvents(Action.ActionPerformedEvent event) -
changeSelectionWithChildren
-
changeSelection
-