wheel.components
Interface IBuildableComponent

All Superinterfaces:
IContainer
All Known Implementing Classes:
CheckboxGroup, ErrorPage, Form, MockPage, RadioGroup, Select, SelectModelFormElement, StandaloneComponent

public interface IBuildableComponent
extends IContainer

Defines the contract for components that have a build-phase. Not that this interface extends IContainer which implies that buildable components must be able to contain other components.

Author:
Henri Frilund

Method Summary
 boolean _isBuilt()
           
 void _setBuilt(boolean built)
           
 void buildComponent()
          Builds the component preparing it for rendering.
 void postBuild()
          Called after buildComponent().
 void preBuild()
          Called before buildComponent().
 

Method Detail

buildComponent

void buildComponent()
Builds the component preparing it for rendering.


preBuild

void preBuild()
Called before buildComponent().


postBuild

void postBuild()
Called after buildComponent(). Useful for cleaning up resources after buildComponent() and possibly doing some modifications on the component tree before rendering.


_isBuilt

boolean _isBuilt()

_setBuilt

void _setBuilt(boolean built)


Copyright © 2007-2008. All Rights Reserved.