|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Container
Method Summary | |
---|---|
RenderSpace |
getAllocatedSpace(com.google.gwt.user.client.ui.Widget child)
Returns the size currently allocated for the child component. |
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. |
boolean |
requestLayout(Set<Paintable> children)
Called when a child components size has been updated in the rendering phase. |
void |
updateCaption(Paintable component,
UIDL uidl)
Update child components caption, description and error message. |
Methods inherited from interface com.vaadin.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.boolean requestLayout(Set<Paintable> children)
children
- Set of child widgets whose size have changed
RenderSpace getAllocatedSpace(com.google.gwt.user.client.ui.Widget child)
child
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |