Class UserPropertyField<T>
Object
AbstractClientConnector
AbstractComponent
AbstractLegacyComponent
AbstractField<T>
CustomField<T>
FieldWrapper<T>
UserPropertyField<T>
- Type Parameters:
T-
- All Implemented Interfaces:
ExecutionContextAware,ExecutionContextField<T>,ListenerField<T>,Action.ShortcutNotifier,ContextClickEvent.ContextClickNotifier,MethodEventSource,SerializableEventListener,ClientConnector,Sizeable,Connector,Component,Component.Focusable,HasComponents,Buffered,BufferedValidatable,Property<T>,Property.Editor,Property.ReadOnlyStatusChangeListener,Property.ReadOnlyStatusChangeNotifier,Property.ValueChangeListener,Property.ValueChangeNotifier,Property.Viewer,Validatable,Field<T>,Serializable,Iterable<Component>,EventListener
public class UserPropertyField<T>
extends FieldWrapper<T>
implements ExecutionContextField<T>, ListenerField<T>
Field utilizado para representar propriedades do usuario
- Author:
- eduardo
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractField
AbstractField.FocusShortcut, AbstractField.ReadOnlyStatusChangeEventNested classes/interfaces inherited from interface Buffered
Buffered.SourceExceptionNested 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 Field
Field.ValueChangeEventNested classes/interfaces inherited from interface HasComponents
HasComponents.ComponentAttachDetachNotifier, HasComponents.ComponentAttachEvent, HasComponents.ComponentAttachListener, HasComponents.ComponentDetachEvent, HasComponents.ComponentDetachListenerNested classes/interfaces inherited from interface Property
Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeEvent, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.Transactional<T>, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.ViewerNested classes/interfaces inherited from interface Sizeable
Sizeable.Unit -
Field Summary
Fields 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 TypeMethodDescriptionColeta o contexto de execucao deste campoInforma ao sistema a lista de campos que o componente deseja ouvir.voidFornece a referencia ao campo concreto para ouvir alteracoesvoidsetExecutionContext(ExecutionContext context) Configura o contexto de execuco do campovoidsetListenFieldId(String listenFieldId) voidsetReference(UserReference reference) voidsetUsuarioService(UsuarioService usuarioService) Methods inherited from class FieldWrapper
addStyleName, addValidator, addValueChangeListener, clear, commit, discard, focus, getDescription, getErrorHandler, getHeight, getHeightUnits, getPrimaryStyleName, getPropertyDataSource, getRequiredError, getStyleName, getTabIndex, getType, getValidators, getValue, getWidth, getWidthUnits, getWrappedField, initContent, isBuffered, isEmpty, isEnabled, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isRequired, isValid, isVisible, removeExtension, removeStyleName, removeValidator, removeValueChangeListener, setBuffered, setEnabled, setErrorHandler, setHeight, setHeight, setHeightUndefined, setInvalidAllowed, setInvalidCommitted, setPrimaryStyleName, setPropertyDataSource, setReadOnly, setRequired, setRequiredError, setSizeFull, setSizeUndefined, setStyleName, setTabIndex, setValue, setVisible, setWidth, setWidth, setWidthUndefined, validate, valueChangeMethods inherited from class CustomField
attach, getContent, iterator, setFocusDelegateMethods inherited from class AbstractField
addListener, addListener, addReadOnlyStatusChangeListener, beforeClientResponse, detach, fireReadOnlyStatusChange, fireValueChange, getConversionError, getConversionError, getConvertedValue, getConverter, getCurrentBufferedSourceException, getCustomAttributes, getErrorMessage, getInternalValue, getModelType, getState, getState, isValidationVisible, readDesign, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeReadOnlyStatusChangeListener, setConversionError, setConvertedValue, setConverter, setConverter, setCurrentBufferedSourceException, setInternalValue, setLocale, setValidationVisible, setValue, setValue, shouldHideErrors, validate, writeDesignMethods inherited from class AbstractLegacyComponent
getExplicitImmediateValue, isImmediate, setImmediateMethods inherited from class AbstractComponent
addContextClickListener, addListener, addShortcutListener, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getIcon, getId, getLocale, getParent, isCaptionAsHtml, isConnectorEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, removeContextClickListener, removeListener, removeShortcutListener, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setHeightFull, setIcon, setId, setParent, setRequiredIndicatorVisible, setResponsive, setWidthFullMethods inherited from class AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setResource, updateDiffstateMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Action.ShortcutNotifier
addShortcutListener, removeShortcutListenerMethods inherited from interface Buffered
commit, discard, isBuffered, isModified, setBufferedMethods inherited from interface BufferedValidatable
isInvalidCommitted, setInvalidCommittedMethods 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, attach, 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 Component.Focusable
focus, getTabIndex, setTabIndexMethods inherited from interface Connector
getConnectorIdMethods inherited from interface Field
clear, getRequiredError, isEmpty, isRequired, setRequired, setRequiredErrorMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface Property
getType, getValue, isReadOnly, setReadOnly, setValueMethods inherited from interface Property.ValueChangeListener
valueChangeMethods inherited from interface Property.ValueChangeNotifier
addListener, addValueChangeListener, removeListener, removeValueChangeListenerMethods inherited from interface Property.Viewer
getPropertyDataSource, setPropertyDataSourceMethods inherited from interface Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefinedMethods inherited from interface Validatable
addValidator, getValidators, isInvalidAllowed, isValid, removeAllValidators, removeValidator, setInvalidAllowed, validate
-
Constructor Details
-
UserPropertyField
-
-
Method Details
-
setExecutionContext
Description copied from interface:ExecutionContextAwareConfigura o contexto de execuco do campo- Specified by:
setExecutionContextin interfaceExecutionContextAware- Parameters:
context-
-
getExecutionContext
Description copied from interface:ExecutionContextAwareColeta o contexto de execucao deste campo- Specified by:
getExecutionContextin interfaceExecutionContextAware- Returns:
-
getReference
-
setReference
-
setUsuarioService
-
setListenFieldId
-
listen
Description copied from interface:ListenerFieldFornece a referencia ao campo concreto para ouvir alteracoes- Specified by:
listenin interfaceListenerField<T>- Parameters:
fieldKey-field-
-
getListenFields
Description copied from interface:ListenerFieldInforma ao sistema a lista de campos que o componente deseja ouvir. Apos coletar essa informacao, o consumidor da fabrica de componentes deve localizar os campos necessarios, e invocar o metodo "listen".- Specified by:
getListenFieldsin interfaceListenerField<T>- Returns:
-