Package br.com.davinti.vitruvio.ui.panel
Class UploadPanelViewImpl
Object
AbstractClientConnector
AbstractComponent
CustomComponent
AbstractBaseView
AbstractDefaultFormView
AbstractDefaultFormCrudView<Painel>
AbstractTabbedFormView<Painel>
UploadPanelViewImpl
- All Implemented Interfaces:
DefaultFormView<Painel>,FormView<Painel>,View,UploadPanelView,ContextClickEvent.ContextClickNotifier,MethodEventSource,SerializableEventListener,ClientConnector,Sizeable,Connector,Component,HasComponents,TabSheet.SelectedTabChangeListener,Serializable,Iterable<Component>,EventListener
@Component
@Scope("prototype")
public class UploadPanelViewImpl
extends AbstractTabbedFormView<Painel>
implements UploadPanelView
- 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.Unit -
Field Summary
Fields inherited from class AbstractTabbedFormView
_formContainerFields 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 TypeMethodDescriptionvoidComboBoxButtonButtonButtonButtonCheckBoxMenuBar.MenuItemMenuBarTextFieldTextFieldUploadButtonButtonTextFieldTextFieldUploadUploadTextFieldButtonTextFieldButtonTextFieldUploadgetTitle()booleanisValid()voidprotected voidsetForms()voidupdateViewFromModel(Painel model) Methods inherited from class AbstractTabbedFormView
addFormComponent, getButtonClose, getButtonDelete, getButtonNew, getButtonSave, getButtonSearch, getButtonUndo, getContentLayout, isFormComponentEnabled, removeFormComponent, selectedTabChange, setFormComponentEnabled, setFormComponentVisibleMethods inherited from class AbstractDefaultFormCrudView
_draw, getFormState, setFormStateMethods inherited from class AbstractDefaultFormView
addButtonLeftSide, addButtonLeftSide, addButtonLeftSideAtLastPosition, addButtonRightSide, addButtonRightSide, addButtonRightSideAtLastPosition, createPasswordField, createTextArea, createTextArea, createTextField, createTextFieldMethods inherited from class AbstractBaseView
attach, createWrapperContainer, getEventBus, getFooterLayout, getHeaderDescription, getMediumIcon, getViewComponent, setCenterContent, setEventBus, setHeader, setHeaderDescription, 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 DefaultFormView
getButtonDelete, getButtonNew, getButtonSearch, getButtonUndo, setHeaderDescriptionMethods inherited from interface FormView
getButtonClose, getButtonSave, getEventBus, getFormState, setEventBus, setFormStateMethods 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 View
getViewComponent
-
Constructor Details
-
UploadPanelViewImpl
public UploadPanelViewImpl()
-
-
Method Details
-
getTitle
- Specified by:
getTitlein interfaceView
-
updateViewFromModel
public void updateViewFromModel(Painel model) - Specified by:
updateViewFromModelin interfaceFormView<Painel>
-
commitModelChanges
public void commitModelChanges()- Specified by:
commitModelChangesin interfaceFormView<Painel>
-
rollbackModelChanges
public void rollbackModelChanges()- Specified by:
rollbackModelChangesin interfaceFormView<Painel>
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceFormView<Painel>
-
setForms
protected void setForms()- Specified by:
setFormsin classAbstractTabbedFormView<Painel>
-
getPanelUpload
public Upload getPanelUpload()- Specified by:
getPanelUploadin interfaceUploadPanelView
-
getImageUpload
public Upload getImageUpload()- Specified by:
getImageUploadin interfaceUploadPanelView
-
getPanelFileNameField
public TextField getPanelFileNameField()- Specified by:
getPanelFileNameFieldin interfaceUploadPanelView
-
getImageFileNameField
public TextField getImageFileNameField()- Specified by:
getImageFileNameFieldin interfaceUploadPanelView
-
getPanelSiglaField
public TextField getPanelSiglaField()- Specified by:
getPanelSiglaFieldin interfaceUploadPanelView
-
getOrderField
public TextField getOrderField()- Specified by:
getOrderFieldin interfaceUploadPanelView
-
getExibitionTimeField
public TextField getExibitionTimeField()- Specified by:
getExibitionTimeFieldin interfaceUploadPanelView
-
getDisplayInPresentationField
public CheckBox getDisplayInPresentationField()- Specified by:
getDisplayInPresentationFieldin interfaceUploadPanelView
-
getPanelDownloadButton
public Button getPanelDownloadButton()- Specified by:
getPanelDownloadButtonin interfaceUploadPanelView
-
getMobilePanelUpload
public Upload getMobilePanelUpload()- Specified by:
getMobilePanelUploadin interfaceUploadPanelView
-
getMobilePanelFileNameField
public TextField getMobilePanelFileNameField()- Specified by:
getMobilePanelFileNameFieldin interfaceUploadPanelView
-
getMobilePanelDownloadButton
public Button getMobilePanelDownloadButton()- Specified by:
getMobilePanelDownloadButtonin interfaceUploadPanelView
-
getPanelSetDefaultStateButton
public Button getPanelSetDefaultStateButton()- Specified by:
getPanelSetDefaultStateButtonin interfaceUploadPanelView
-
getDiscardPanelStateButton
public Button getDiscardPanelStateButton()- Specified by:
getDiscardPanelStateButtonin interfaceUploadPanelView
-
getDiscardPanelButton
public Button getDiscardPanelButton()- Specified by:
getDiscardPanelButtonin interfaceUploadPanelView
-
getDiscardMobilePanelButton
public Button getDiscardMobilePanelButton()- Specified by:
getDiscardMobilePanelButtonin interfaceUploadPanelView
-
getEditorOptions
public MenuBar getEditorOptions()- Specified by:
getEditorOptionsin interfaceUploadPanelView
-
getEditorItem
public MenuBar.MenuItem getEditorItem()- Specified by:
getEditorItemin interfaceUploadPanelView
-
getCategoryField
public ComboBox getCategoryField()- Specified by:
getCategoryFieldin interfaceUploadPanelView
-
getMobilePanelUploadAlt
public Upload getMobilePanelUploadAlt()- Specified by:
getMobilePanelUploadAltin interfaceUploadPanelView
-
getMobilePanelFileNameFieldAlt
public TextField getMobilePanelFileNameFieldAlt()- Specified by:
getMobilePanelFileNameFieldAltin interfaceUploadPanelView
-
getMobilePanelDownloadButtonAlt
public Button getMobilePanelDownloadButtonAlt()- Specified by:
getMobilePanelDownloadButtonAltin interfaceUploadPanelView
-
getDiscardMobilePanelButtonAlt
public Button getDiscardMobilePanelButtonAlt()- Specified by:
getDiscardMobilePanelButtonAltin interfaceUploadPanelView
-