Class CadastroExpedienteViewImpl
Object
AbstractClientConnector
AbstractComponent
CustomComponent
AbstractBaseView
AbstractDefaultFormView
AbstractDefaultFormCrudView<Expediente>
AbstractTabbedFormView<Expediente>
CadastroExpedienteViewImpl
- All Implemented Interfaces:
DefaultFormView<Expediente>,FormView<Expediente>,View,CadastroExpedienteView,ContextClickEvent.ContextClickNotifier,MethodEventSource,SerializableEventListener,ClientConnector,Sizeable,Connector,Component,HasComponents,TabSheet.SelectedTabChangeListener,Serializable,Iterable<Component>,EventListener
@Component
@Scope("prototype")
public class CadastroExpedienteViewImpl
extends AbstractTabbedFormView<Expediente>
implements CadastroExpedienteView
- 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 TypeMethodDescriptionvoidCheckBoxTextAreaComboBoxButtonTableMaskedTextFieldMaskedTextFieldTextFieldgetTitle()booleanbooleanisValid()voidprotected voidsetForms()voidsetReadOnly(boolean isReadOnly) voidupdateViewFromModel(Expediente 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, 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, 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
-
CadastroExpedienteViewImpl
public CadastroExpedienteViewImpl()
-
-
Method Details
-
updateViewFromModel
public void updateViewFromModel(Expediente model) - Specified by:
updateViewFromModelin interfaceFormView<Expediente>
-
commitModelChanges
public void commitModelChanges()- Specified by:
commitModelChangesin interfaceFormView<Expediente>
-
setReadOnly
public void setReadOnly(boolean isReadOnly) - Specified by:
setReadOnlyin interfaceCadastroExpedienteView- Overrides:
setReadOnlyin classAbstractComponent
-
isReadOnly
public boolean isReadOnly()- Overrides:
isReadOnlyin classAbstractComponent
-
rollbackModelChanges
public void rollbackModelChanges()- Specified by:
rollbackModelChangesin interfaceFormView<Expediente>
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceFormView<Expediente>
-
getTitle
- Specified by:
getTitlein interfaceView
-
setForms
protected void setForms()- Specified by:
setFormsin classAbstractTabbedFormView<Expediente>
-
getNomeField
public TextField getNomeField()- Specified by:
getNomeFieldin interfaceCadastroExpedienteView
-
getDescricaoField
public TextArea getDescricaoField()- Specified by:
getDescricaoFieldin interfaceCadastroExpedienteView
-
getAtivoField
public CheckBox getAtivoField()- Specified by:
getAtivoFieldin interfaceCadastroExpedienteView
-
getDiaSemanaField
public ComboBox getDiaSemanaField()- Specified by:
getDiaSemanaFieldin interfaceCadastroExpedienteView
-
getHoraInicioField
public MaskedTextField getHoraInicioField()- Specified by:
getHoraInicioFieldin interfaceCadastroExpedienteView
-
getHoraFimField
public MaskedTextField getHoraFimField()- Specified by:
getHoraFimFieldin interfaceCadastroExpedienteView
-
getFaixaAddButton
public Button getFaixaAddButton()- Specified by:
getFaixaAddButtonin interfaceCadastroExpedienteView
-
getFaixasTable
public Table getFaixasTable()- Specified by:
getFaixasTablein interfaceCadastroExpedienteView
-