|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentCG<COMPONENT_TYPE extends SComponent>
| Method Summary | |
|---|---|
void |
componentChanged(COMPONENT_TYPE c)
Notify the CG that the state of the according component has changed. |
Update |
getComponentUpdate(COMPONENT_TYPE component)
Returns an update for the complete component. |
void |
installCG(COMPONENT_TYPE c)
Installs the CG. |
void |
uninstallCG(COMPONENT_TYPE c)
Uninstalls the CG. |
void |
write(Device device,
COMPONENT_TYPE component)
Writes the given component to the Device. |
| Method Detail |
|---|
void installCG(COMPONENT_TYPE c)
Note: Be very careful here since this method is called from the SComponent constructor! Don't call any methods which rely on something that will be constructed in a subconstructor later!
void uninstallCG(COMPONENT_TYPE c)
void componentChanged(COMPONENT_TYPE c)
c - The 'dirty' component.
void write(Device device,
COMPONENT_TYPE component)
throws IOException
This renders the component according to this pluggable look and feel; it reads the properties of the component and genereates the HTML, XML or whatever representation that is written to the Device.
This method should be called from the write method in SComponent or a subclass. It delegates
device - the output device.component - the component to be rendered.
IOExceptionUpdate getComponentUpdate(COMPONENT_TYPE component)
component - the component to be updated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||