|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Container
| Method Summary | |
|---|---|
boolean |
hasChildComponent(com.google.gwt.user.client.ui.Widget component)
Is a given component child of this layout. |
void |
replaceChildComponent(com.google.gwt.user.client.ui.Widget oldComponent,
com.google.gwt.user.client.ui.Widget newComponent)
Replace child of this layout with another component. |
void |
updateCaption(Paintable component,
UIDL uidl)
Update child components caption, description and error message. |
| Methods inherited from interface com.itmill.toolkit.terminal.gwt.client.Paintable |
|---|
updateFromUIDL |
| Method Detail |
|---|
void replaceChildComponent(com.google.gwt.user.client.ui.Widget oldComponent,
com.google.gwt.user.client.ui.Widget newComponent)
oldComponent - Child to be replacednewComponent - Child that replaces the oldComponentboolean hasChildComponent(com.google.gwt.user.client.ui.Widget component)
component - Component to test.
void updateCaption(Paintable component,
UIDL uidl)
Each component is responsible for maintaining its caption, description and error message. In most cases components doesn't want to do that and those elements reside outside of the component. Because of this layouts must provide service for it's childen to show those elements for them.
component - Child component for which service is requested.uidl - UIDL of the child component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||