Home | Trees | Indices | Help |
|
---|
|
object --+ | util.IEventListener --+ | terminal.paintable.IPaintable --+ | object --+ | | | terminal.variable_owner.IVariableOwner --+ | object --+ | | | terminal.sizeable.ISizeable --+ | component.IComponent --+ | object --+ | | | event.method_event_source.IMethodEventSource --+ | abstract_component.AbstractComponent --+ | object --+ | | | util.IEventListener --+ | | | terminal.paintable.IPaintable --+ | | | object --+ | | | | | terminal.variable_owner.IVariableOwner --+ | | | object --+ | | | | | terminal.sizeable.ISizeable --+ | | | component.IComponent --+ | | | component_container.IComponentContainer --+ | abstract_component_container.AbstractComponentContainer --+ | CustomComponent
Custom component provides simple implementation of Component interface for creation of new UI components by composition of existing components.
The component is used by inheriting the CustomComponent class and setting composite root inside the Custom component. The composite root itself can contain more components, but their interfaces are hidden from the users.
Version: 1.1.2
|
|||
CLIENT_WIDGET = None hash(x) |
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Constructs a new custom component. The component is implemented by wrapping the methods of the composition root component given as parameter. The composition root must not be null and can not be changed after the composition.
|
Returns the composition root.
|
Sets the compositions root. The composition root must be set to non-null value before the component can be used. The composition root can only be set once.
|
Paints any needed component-specific things to the given UIDL stream. The more general paint method handles all general attributes common to all components, and it calls this method to paint any component-specific attributes to the UIDL stream.
|
Gets the component type. The component type is textual type of the component. This is included in the UIDL as component tag attribute.
Deprecated: not more useful as the whole tag system has been removed |
Sets the component type. The component type is textual type of the component. This is included in the UIDL as component tag attribute.
Deprecated: not more useful as the whole tag system has been removed |
Gets an iterator to the collection of contained components. Using this iterator it is possible to step through all components contained in this container.
|
Gets the number of contained components. Consistent with the iterator returned by getComponentIterator.
|
This method is not supported by CustomComponent.
See Also:
|
This method is not supported by CustomComponent. Use CustomComponent.setCompositionRoot to set CustomComponents "child".
See Also: AbstractComponentContainer.addComponent |
This method is not supported by CustomComponent.
|
This method is not supported by CustomComponent. |
This method is not supported by CustomComponent.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jun 10 22:40:25 2015 | http://epydoc.sourceforge.net |