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
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classNested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEventNested 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
FieldsModifier and TypeFieldDescriptionprotected Table<ImapMessageAttachment>protected BackgroundWorkerprotected Labelprotected BrowserFrameprotected ScrollBoxLayoutprotected CorePropertiesprotected Buttonprotected Downloaderprotected ImapAttachmentsprotected CollectionContainer<ImapMessageAttachment>protected DataLoaderprotected ImapManagerprotected InstanceContainer<ImapMessageDto>protected ProgressBarprotected UiPropertiesFields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotificationFields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSEFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidhideProgressBar(AtomicInteger loadProgress) protected voidinitAttachments(ImapMessage msg, AtomicInteger loadProgress) protected voidinitBody(ImapMessage msg, AtomicInteger loadProgress) protected voidvoidsetEntityToEdit(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, validateUiComponentsMethods 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
-
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:EditorScreenSets entity instance to editor.- Specified by:
setEntityToEditin interfaceEditorScreen<ImapMessage>- Overrides:
setEntityToEditin classStandardEditor<ImapMessage>- Parameters:
item- entity
-
selectedTabChanged
-
downloadAttachment
@Subscribe("attachmentsTable.download") public void downloadAttachment(Action.ActionPerformedEvent event) -
initBody
-
initAttachments
-
hideProgressBar
-