Class AbstractComponentFacade<T extends Component>
java.lang.Object
ch.tocco.nice2.netui.api.bind.form.facades.AbstractComponentFacade<T>
- All Implemented Interfaces:
ActionHolderFacade,ComponentFacade<T>,Serializable
- Direct Known Subclasses:
AbstractDataComponentFacade,ActionFacade,ActionSeparatorFacade,ColumnFacade,DescriptionFieldFacade,GenericComponentFacade,LocationFieldFacade
@Deprecated
public abstract class AbstractComponentFacade<T extends Component>
extends Object
implements ComponentFacade<T>, ActionHolderFacade
Deprecated.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AbstractComponentFacade> Deprecated.protected List<ComponentFacade> Deprecated.protected ComponentDeprecated.protected StringDeprecated.protected FacadeHandlerContextDeprecated.protected Component.DisplayTypeDeprecated.protected StringDeprecated.Deprecated.This map is intended to only pass extjs-specific settings to the client, while keeping 'generic' ui attributes as real java-bean.protected StringDeprecated.protected StringDeprecated.protected TypeManagerDeprecated.protected LabeledComponent.UseLabelDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAction(AbstractComponentFacade actionFacade) Deprecated.voidaddChild(ComponentFacade facade) Deprecated.Default implementation of addChild method.protected voidfigureOutLabel(LabeledComponent labeledComponent) Deprecated.Deprecated.Get all children of this facadeDeprecated.Deprecated.Deprecated.Deprecated.Get ext-properties if existinggetLabel()Deprecated.getName()Deprecated.Get the component's nameDeprecated.Deprecated.Don't rename to 'get', don't make it marshallable!voidsetComponent(Component component) Deprecated.voidsetComponentType(String componentType) Deprecated.voidsetDisplayType(Component.DisplayType displayType) Deprecated.voidsetEventHandler(String eventHandler) Deprecated.voidDeprecated.voidsetTypeManager(TypeManager typeManager) Deprecated.Deprecated.To override by concrete implementations to set up the facadevoidsetUseLabel(LabeledComponent.UseLabel useLabel) Deprecated.
-
Field Details
-
typeManager
Deprecated. -
component
Deprecated. -
children
Deprecated. -
actions
Deprecated. -
extProps
Deprecated.This map is intended to only pass extjs-specific settings to the client, while keeping 'generic' ui attributes as real java-bean. This helps to not clutter classes with dozens of exotic extjs attributes. It may be that the map contains things that should really be java-bean attributes atm. -
displayType
Deprecated. -
name
Deprecated. -
componentType
Deprecated. -
label
Deprecated. -
useLabel
Deprecated. -
ctx
Deprecated. -
eventHandler
Deprecated.
-
-
Constructor Details
-
AbstractComponentFacade
protected AbstractComponentFacade()Deprecated.
-
-
Method Details
-
addChild
Deprecated.Default implementation of addChild method. Can be overridden.- Specified by:
addChildin interfaceComponentFacade<T extends Component>- Parameters:
facade- the child facade
-
setTypeManager
Deprecated.- Specified by:
setTypeManagerin interfaceComponentFacade<T extends Component>
-
getChildren
Deprecated.Get all children of this facade- Returns:
- the children facades as array for better usage in client
-
setLabel
Deprecated. -
getLabel
Deprecated. -
setUseLabel
Deprecated. -
getUseLabel
Deprecated. -
figureOutLabel
Deprecated. -
setComponentType
Deprecated. -
getComponentType
Deprecated.- Specified by:
getComponentTypein interfaceComponentFacade<T extends Component>
-
setEventHandler
Deprecated. -
getEventHandler
Deprecated. -
setUp
Deprecated.To override by concrete implementations to set up the facade- Specified by:
setUpin interfaceComponentFacade<T extends Component>- Parameters:
ctx- the context
-
getName
Deprecated.Get the component's name- Returns:
- the name
-
getExtProps
Deprecated.Get ext-properties if existing- Returns:
- all ext-properties defined in component
-
getDisplayType
Deprecated. -
setDisplayType
Deprecated. -
addAction
Deprecated.- Specified by:
addActionin interfaceActionHolderFacade
-
setComponent
Deprecated.- Specified by:
setComponentin interfaceComponentFacade<T extends Component>
-
readUnderlyingComponent
Deprecated.Description copied from interface:ComponentFacadeDon't rename to 'get', don't make it marshallable!- Specified by:
readUnderlyingComponentin interfaceComponentFacade<T extends Component>- Returns:
- The component this facade wraps.
-