Package io.jmix.imapui.screen.message
Class ImapMessageEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<ImapMessage>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("imap_Message.edit")
@UiDescriptor("imap-message-edit.xml")
public class ImapMessageEdit
extends StandardEditor<ImapMessage>
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
protected class
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 Table<ImapMessageAttachment>
protected BackgroundWorker
protected Label
protected BrowserFrame
protected ScrollBoxLayout
protected CoreProperties
protected Button
protected Downloader
protected ImapAttachments
protected CollectionContainer<ImapMessageAttachment>
protected DataLoader
protected ImapManager
protected InstanceContainer<ImapMessageDto>
protected ProgressBar
protected UiProperties
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 TypeMethodDescriptionvoid
protected void
hideProgressBar
(AtomicInteger loadProgress) protected void
initAttachments
(ImapMessage msg, AtomicInteger loadProgress) protected void
initBody
(ImapMessage msg, AtomicInteger loadProgress) protected void
void
setEntityToEdit
(ImapMessage item) Sets entity instance to editor.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, 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, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
imapManager
-
imapAttachments
-
attachmentsTable
-
imapDemoAttachmentsDc
-
imapMessageDtoDc
-
bodyContent
-
bodyContentScroll
-
bodyContentHtml
-
progressBar
-
downloadBtn
-
backgroundWorker
-
downloader
-
imapDemoAttachmentsLoader
-
uiProperties
-
coreProperties
-
-
Constructor Details
-
ImapMessageEdit
public ImapMessageEdit()
-
-
Method Details
-
setEntityToEdit
Description copied from interface:EditorScreen
Sets entity instance to editor.- Specified by:
setEntityToEdit
in interfaceEditorScreen<ImapMessage>
- Overrides:
setEntityToEdit
in classStandardEditor<ImapMessage>
- Parameters:
item
- entity
-
selectedTabChanged
-
downloadAttachment
@Subscribe("attachmentsTable.download") public void downloadAttachment(Action.ActionPerformedEvent event) -
initBody
-
initAttachments
-
hideProgressBar
-