Class CadastroQueryViewImpl
Object
AbstractClientConnector
AbstractComponent
CustomComponent
AbstractBaseView
AbstractDefaultFormView
AbstractDefaultFormCrudView<Query>
AbstractTabbedFormView<Query>
CadastroQueryViewImpl
- All Implemented Interfaces:
DefaultFormView<Query>,FormView<Query>,View,CadastroQueryView,ContextClickEvent.ContextClickNotifier,MethodEventSource,SerializableEventListener,ClientConnector,Sizeable,Connector,Component,HasComponents,TabSheet.SelectedTabChangeListener,Serializable,Iterable<Component>,EventListener
@Component
@Scope("prototype")
public class CadastroQueryViewImpl
extends AbstractTabbedFormView<Query>
implements CadastroQueryView
- 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 TypeMethodDescriptionvoidComboBoxgetTitle()booleanisValid()TextFieldvoidprotected voidsetForms()TextFieldTextAreasqlField()ButtonvoidupdateViewFromModel(Query 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
-
CadastroQueryViewImpl
public CadastroQueryViewImpl()
-
-
Method Details
-
setForms
protected void setForms()- Specified by:
setFormsin classAbstractTabbedFormView<Query>
-
updateViewFromModel
public void updateViewFromModel(Query model) - Specified by:
updateViewFromModelin interfaceFormView<Query>
-
commitModelChanges
public void commitModelChanges()- Specified by:
commitModelChangesin interfaceFormView<Query>
-
rollbackModelChanges
public void rollbackModelChanges()- Specified by:
rollbackModelChangesin interfaceFormView<Query>
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceFormView<Query>
-
getTitle
- Specified by:
getTitlein interfaceView
-
testQueryButton
public Button testQueryButton()- Specified by:
testQueryButtonin interfaceCadastroQueryView
-
siglaField
public TextField siglaField()- Specified by:
siglaFieldin interfaceCadastroQueryView
-
nomeField
public TextField nomeField()- Specified by:
nomeFieldin interfaceCadastroQueryView
-
sqlField
public TextArea sqlField()- Specified by:
sqlFieldin interfaceCadastroQueryView
-
conexaoField
public ComboBox conexaoField()- Specified by:
conexaoFieldin interfaceCadastroQueryView
-