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
Modifier and TypeFieldDescriptionprotected List
<AbstractComponentFacade> Deprecated.protected List
<ComponentFacade> Deprecated.protected Component
Deprecated.protected String
Deprecated.protected FacadeHandlerContext
Deprecated.protected Component.DisplayType
Deprecated.protected String
Deprecated.Deprecated.This map is intended to only pass extjs-specific settings to the client, while keeping 'generic' ui attributes as real java-bean.protected String
Deprecated.protected String
Deprecated.protected TypeManager
Deprecated.protected LabeledComponent.UseLabel
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAction
(AbstractComponentFacade actionFacade) Deprecated.void
addChild
(ComponentFacade facade) Deprecated.Default implementation of addChild method.protected void
figureOutLabel
(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!void
setComponent
(Component component) Deprecated.void
setComponentType
(String componentType) Deprecated.void
setDisplayType
(Component.DisplayType displayType) Deprecated.void
setEventHandler
(String eventHandler) Deprecated.void
Deprecated.void
setTypeManager
(TypeManager typeManager) Deprecated.Deprecated.To override by concrete implementations to set up the facadevoid
setUseLabel
(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:
addChild
in interfaceComponentFacade<T extends Component>
- Parameters:
facade
- the child facade
-
setTypeManager
Deprecated.- Specified by:
setTypeManager
in 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:
getComponentType
in interfaceComponentFacade<T extends Component>
-
setEventHandler
Deprecated. -
getEventHandler
Deprecated. -
setUp
Deprecated.To override by concrete implementations to set up the facade- Specified by:
setUp
in 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:
addAction
in interfaceActionHolderFacade
-
setComponent
Deprecated.- Specified by:
setComponent
in interfaceComponentFacade<T extends Component>
-
readUnderlyingComponent
Deprecated.Description copied from interface:ComponentFacade
Don't rename to 'get', don't make it marshallable!- Specified by:
readUnderlyingComponent
in interfaceComponentFacade<T extends Component>
- Returns:
- The component this facade wraps.
-