Class TaskExecutionFormViewImpl
Object
AbstractClientConnector
AbstractComponent
CustomComponent
AbstractBaseView
TaskExecutionFormViewImpl
- All Implemented Interfaces:
View,BaseFormView<Form>,FormView,TaskExecutionFormView,ContextClickEvent.ContextClickNotifier,MethodEventSource,SerializableEventListener,ClientConnector,Sizeable,Connector,Component,HasComponents,TabSheet.SelectedTabChangeListener,Serializable,Iterable<Component>,EventListener
@Component
@Scope("prototype")
public class TaskExecutionFormViewImpl
extends AbstractBaseView
implements TaskExecutionFormView, TabSheet.SelectedTabChangeListener
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListenerNested classes/interfaces inherited from interface Component
Component.ErrorEvent, Component.Event, Component.Focusable, Component.ListenerNested classes/interfaces inherited from interface HasComponents
HasComponents.ComponentAttachDetachNotifier, HasComponents.ComponentAttachEvent, HasComponents.ComponentAttachListener, HasComponents.ComponentDetachEvent, HasComponents.ComponentDetachListenerNested classes/interfaces inherited from interface Sizeable
Sizeable.UnitNested classes/interfaces inherited from interface TaskExecutionFormView
TaskExecutionFormView.CurrentViewChangeEvent, TaskExecutionFormView.ViewLazyLoader -
Field Summary
Fields inherited from class AbstractBaseView
_contentLayout, _drawed, _eventBus, _iconImage, _iconImageRight, _iconLayout, _iconLayoutRight, _mainLayout, _mediumIcon, _mediumIconRight, _title, _topCenterLayout, _topLayout, _topLayoutConainerFields inherited from class AbstractComponent
DESIGN_ATTR_PLAIN_TEXTFields inherited from interface Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayFinishedForm(BaseFormView<Form> taskView) voidvoiddisplayStatus(ProcessoStatusTempo status) MenuBar.MenuItemButtonMenuBar.MenuItemMenuBar.MenuItemMenuBar.MenuItemButtonButtonButtonButtonButtonprotected ComponentButtonField<?> getFieldById(String id) Obtem uma referencia de um campo via IDprotected ComponentgetForm()Retorna uma instancia com o tipo do formulario disposto nesta viewLabelgetLabelByDescriptor(FieldDescriptor descriptor) Obtem uma referencia a um descritor de labels via IDLabelgetLabelById(String id) Obtem uma referencia ao Label via IDObtem uma relacao de todos os descritores de LabelsObtem uma referencia ao Wrapper de Layout via IDRetorna uma colecao de todos os wrappers de layoutMenuBar.MenuItemMenuBarLabelgetTitle()Obtem uma referencia ao controlador de widget via IDObtem uma colecao de todos os Widgets (via controladores) disponiveis no formvoidInicializa e renderiza os componentes do formulariovoidrender(Form form, RenderRules rules) Inicializa e renderiza os componentes do formulario, combase nas regras de renderizacaovoidselectedTabChange(TabSheet.SelectedTabChangeEvent event) voidsetCustomTitle(String customTitle) voidsetHeaderDescription(String description) voidsetProcessData(ProcessData processData) voidMethods inherited from class AbstractBaseView
_draw, attach, createWrapperContainer, getEventBus, getHeaderDescription, getMediumIcon, getViewComponent, setCenterContent, setEventBus, setHeader, setHeaderIcon, setHeaderIcon, setTitleMethods inherited from class CustomComponent
getComponentCount, getCompositionRoot, getState, getState, iterator, setCompositionRootMethods inherited from class AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined, writeDesignMethods inherited from class AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerMethods inherited from interface Component
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesignMethods inherited from interface Connector
getConnectorIdMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefinedMethods inherited from interface TaskExecutionFormView
getEventBusMethods inherited from interface View
getViewComponent
-
Constructor Details
-
TaskExecutionFormViewImpl
public TaskExecutionFormViewImpl()
-
-
Method Details
-
getCustomTitle
- Specified by:
getCustomTitlein interfaceTaskExecutionFormView
-
setCustomTitle
- Specified by:
setCustomTitlein interfaceTaskExecutionFormView
-
getProcessData
- Specified by:
getProcessDatain interfaceTaskExecutionFormView
-
setProcessData
- Specified by:
setProcessDatain interfaceTaskExecutionFormView
-
getTitle
- Specified by:
getTitlein interfaceView
-
render
Description copied from interface:BaseFormViewInicializa e renderiza os componentes do formulario- Specified by:
renderin interfaceBaseFormView<Form>- Parameters:
form-
-
render
Description copied from interface:BaseFormViewInicializa e renderiza os componentes do formulario, combase nas regras de renderizacao- Specified by:
renderin interfaceBaseFormView<Form>- Parameters:
form-rules-
-
displayFinishedForm
- Specified by:
displayFinishedFormin interfaceTaskExecutionFormView
-
displayFinishedForm
- Specified by:
displayFinishedFormin interfaceTaskExecutionFormView
-
selectedTabChange
public void selectedTabChange(TabSheet.SelectedTabChangeEvent event) - Specified by:
selectedTabChangein interfaceTabSheet.SelectedTabChangeListener
-
getFieldById
Description copied from interface:BaseFormViewObtem uma referencia de um campo via ID- Specified by:
getFieldByIdin interfaceBaseFormView<Form>- Parameters:
id-- Returns:
-
getLabelDescriptors
Description copied from interface:BaseFormViewObtem uma relacao de todos os descritores de Labels- Specified by:
getLabelDescriptorsin interfaceBaseFormView<Form>- Returns:
-
getLabelByDescriptor
Description copied from interface:BaseFormViewObtem uma referencia a um descritor de labels via ID- Specified by:
getLabelByDescriptorin interfaceBaseFormView<Form>- Parameters:
descriptor-- Returns:
-
getForm
Description copied from interface:BaseFormViewRetorna uma instancia com o tipo do formulario disposto nesta view- Specified by:
getFormin interfaceBaseFormView<Form>- Returns:
-
getLabelById
Description copied from interface:BaseFormViewObtem uma referencia ao Label via ID- Specified by:
getLabelByIdin interfaceBaseFormView<Form>- Parameters:
id-- Returns:
-
getLayoutContainerById
Description copied from interface:BaseFormViewObtem uma referencia ao Wrapper de Layout via ID- Specified by:
getLayoutContainerByIdin interfaceBaseFormView<Form>- Parameters:
id-- Returns:
-
getLayoutContainers
Description copied from interface:BaseFormViewRetorna uma colecao de todos os wrappers de layout- Specified by:
getLayoutContainersin interfaceBaseFormView<Form>- Returns:
-
getSubFormControllers
- Specified by:
getSubFormControllersin interfaceFormView
-
getWidgetControllers
Description copied from interface:BaseFormViewObtem uma colecao de todos os Widgets (via controladores) disponiveis no form- Specified by:
getWidgetControllersin interfaceBaseFormView<Form>- Returns:
-
getWidgetControllerById
Description copied from interface:BaseFormViewObtem uma referencia ao controlador de widget via ID- Specified by:
getWidgetControllerByIdin interfaceBaseFormView<Form>- Parameters:
id-- Returns:
-
setTimeDebuggerHelper
- Specified by:
setTimeDebuggerHelperin interfaceBaseFormView<Form>
-
setHeaderDescription
- Specified by:
setHeaderDescriptionin interfaceTaskExecutionFormView- Overrides:
setHeaderDescriptionin classAbstractBaseView
-
getContentLayout
protected Component getContentLayout()- Specified by:
getContentLayoutin classAbstractBaseView
-
displayStatus
public void displayStatus(ProcessoStatusTempo status) - Specified by:
displayStatusin interfaceTaskExecutionFormView
-
getButtonRollback
public Button getButtonRollback()- Specified by:
getButtonRollbackin interfaceTaskExecutionFormView
-
getButtonSave
public Button getButtonSave()- Specified by:
getButtonSavein interfaceTaskExecutionFormView
-
getButtonSaveAndCompleteTask
public Button getButtonSaveAndCompleteTask()- Specified by:
getButtonSaveAndCompleteTaskin interfaceTaskExecutionFormView
-
getButtonCancel
public Button getButtonCancel()- Specified by:
getButtonCancelin interfaceTaskExecutionFormView
-
getSavedByLabel
public Label getSavedByLabel()- Specified by:
getSavedByLabelin interfaceTaskExecutionFormView
-
getMoreOptionsMenuBar
public MenuBar getMoreOptionsMenuBar()- Specified by:
getMoreOptionsMenuBarin interfaceTaskExecutionFormView
-
getButtonUpdateHistoricTask
public Button getButtonUpdateHistoricTask()- Specified by:
getButtonUpdateHistoricTaskin interfaceTaskExecutionFormView
-
getButtonTaskChangeLog
public Button getButtonTaskChangeLog()- Specified by:
getButtonTaskChangeLogin interfaceTaskExecutionFormView
-
getButtonAttachments
public MenuBar.MenuItem getButtonAttachments()- Specified by:
getButtonAttachmentsin interfaceTaskExecutionFormView
-
getButtonNotifications
public MenuBar.MenuItem getButtonNotifications()- Specified by:
getButtonNotificationsin interfaceTaskExecutionFormView
-
getButtonNotes
public MenuBar.MenuItem getButtonNotes()- Specified by:
getButtonNotesin interfaceTaskExecutionFormView
-
getMoreOptionsItem
public MenuBar.MenuItem getMoreOptionsItem()- Specified by:
getMoreOptionsItemin interfaceTaskExecutionFormView
-
getButtonReports
public MenuBar.MenuItem getButtonReports()- Specified by:
getButtonReportsin interfaceTaskExecutionFormView
-
getNotesPresenter
- Specified by:
getNotesPresenterin interfaceTaskExecutionFormView
-
getAttachmentsPresenter
- Specified by:
getAttachmentsPresenterin interfaceTaskExecutionFormView
-
getCustomButton
- Specified by:
getCustomButtonin interfaceTaskExecutionFormView
-