Interface MutableContainer
-
- All Superinterfaces:
Container
,NamingContextable
,Serializable
,WComponent
,WebComponent
- All Known Implementing Classes:
AbstractMutableContainer
,AbstractTransientDataContainer
,DefaultTransientDataContainer
,ProfileContainer
,WAjaxPollingRegion
,WApplication
,WBeanContainer
,WCardManager
,WColumn
,WContainer
,WDataRenderer
,WDataTableRowRenderer
,WDecoratedLabel
,WFieldSet
,WInvisibleContainer
,WLabel
,WMessages
,WNamingContext
,WPanel
,WTableRowRenderer
public interface MutableContainer extends NamingContextable
The interface for Containers which can have content added/removed.- Since:
- 1.0.0
- Author:
- Yiannis Paschalidis
-
-
Field Summary
-
Fields inherited from interface com.github.bordertech.wcomponents.WComponent
DEFAULT_APPLICATION_ID, DEFAULT_INTERNAL_ID, DEFAULT_NO_ID, ID_CONTEXT_SEPERATOR, ID_FRAMEWORK_ASSIGNED_SEPERATOR, ID_VALIDATION_PATTERN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(WComponent component)
Adds the given component as a "shared" child of this component.void
remove(WComponent aChild)
Removes the given component from this components "shared" list of children.void
removeAll()
Removes all the "shared" children from this component.-
Methods inherited from interface com.github.bordertech.wcomponents.Container
getChildAt, getChildCount, getChildren, getIndexOfChild
-
Methods inherited from interface com.github.bordertech.wcomponents.NamingContextable
getNamingContextId, isNamingContext
-
Methods inherited from interface com.github.bordertech.wcomponents.WComponent
addHtmlClass, addHtmlClass, forward, getAccessibleText, getAttribute, getBaseUrl, getEnvironment, getHeaders, getHtmlClass, getHtmlClasses, getId, getIdName, getInternalId, getLabel, getName, getParent, getTabIndex, getTag, getToolTip, handleRequest, hasTabIndex, invokeLater, isDefaultState, isHidden, isInitialised, isLocked, isTracking, isTrackingEnabled, isValidate, isVisible, paint, preparePaint, removeAttribute, removeHtmlClass, removeHtmlClass, reset, serviceRequest, setAccessibleText, setAttribute, setEnvironment, setFocussed, setHtmlClass, setHtmlClass, setIdName, setInitialised, setLocked, setTag, setToolTip, setTrackingEnabled, setValidate, setVisible, showErrorIndicators, showWarningIndicators, tidyUpUIContextForTree, validate
-
-
-
-
Method Detail
-
add
void add(WComponent component)
Adds the given component as a "shared" child of this component.- Parameters:
component
- the component to add.
-
remove
void remove(WComponent aChild)
Removes the given component from this components "shared" list of children.- Parameters:
aChild
- the child component to remove
-
removeAll
void removeAll()
Removes all the "shared" children from this component.
-
-