com.groiss.gui
Interface Container
- All Superinterfaces:
- Cloneable, Component, Serializable
- All Known Implementing Classes:
- AbstractContainer, Button, DivComponent, FieldSet, FormContainer, Label, TabbedDialog, TableContainer, Tabs, XHTMLPage
public interface Container
- extends Component
the container is an composite component of a view
see the composite pattern [GoF95] for any details
| Methods inherited from interface com.groiss.gui.Component |
clone, getActionListener, getAttribute, getBrowserMode, getContent, getId, getLabel, getName, getParent, getParentElement, getRoot, getStyle, getViewMode, init, init, removeAttribute, setActionListener, setAttribute, setBrowserMode, setContent, setId, setLabel, setName, setParent, setParentElement, setStyle, setViewMode, show, show, toString |
add
Component add(Component c)
- Parameters:
c - - the component
- Returns:
- - the replaced component or null
remove
Component remove(String id)
- Parameters:
id - - the id of the component
- Returns:
- - the removed component with the given id or null
substitute
Component substitute(String id,
Component c)
- Parameters:
id - - the id of the component which should be substitutedc - - the new component
- Returns:
- - the substituted component or null, if no component with the given id was found
get
<T extends Component> T get(String id)
- Parameters:
id - - the id of the component
- Returns:
- - the component with the given id or null
getByName
<T extends Component> T getByName(String name)
- Parameters:
name - the name of the component
- Returns:
- the component with the given id or null
getAll
Collection getAll()
- Returns:
- - all direct components of the container
getAll
Collection getAll(String name)
- Returns:
- - all direct components of the container with the given name
getAllDeep
Collection getAllDeep()
- Returns:
- - all components of the container recursively
@enterprise 8.0.10078 Copyright © 2001-2011 Groiss Informatics GmbH. All Rights Reserved.