Interface INamedContainer
- All Superinterfaces:
IContainer,INamedWidget,IWidget,IWritable,Serializable
INamedContainer
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd the specified widget to the container.voidAdd the specified widget to the container.voidAdd the specified widget after the refWidgetvoidaddAll(INamedContainer container) addAllvoidAdd the specified widget to the container in the first place.voidAdd the specified widget to the container in the last place.voidclear()Removes all widgets from the container.getintget Index of the widgetintget Index of the widget by keyReturns the widgets contained within the container as a list.voidRemove the specified widget from the container.intsize()sizeMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.runtime.IContainer
getLayout, setLayoutMethods inherited from interface com.axemble.vdp.ui.framework.widgets.INamedWidget
getNameMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.IWidget
addActionListener, addChangeListener, afterInit, getCtrlTemplate, getCtrlTemplateWriter, getParam, getParentBlock, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysname, hasActionListeners, hasChangeListeners, isHidden, refresh, refreshWidgets, removeActionListener, removeActionListeners, removeChangeListener, removeChangeListeners, render, renderMobile, setHidden, setParentBlock, setSysname
-
Method Details
-
add
Add the specified widget to the container.- Parameters:
widget- the widget to add to the container.
-
addAll
addAll- Parameters:
container- the container to add to the container.
-
addAfter
Add the specified widget after the refWidget- Parameters:
newWidget- the widget to add to the container.refWidget- the reference widget
-
add
Add the specified widget to the container.- Parameters:
widget- the widget to add to the container.pos- the position
-
addLast
Add the specified widget to the container in the last place.- Parameters:
widget- the widget to add to the container.
-
addFirst
Add the specified widget to the container in the first place.- Parameters:
widget- the widget to add to the container.
-
remove
Remove the specified widget from the container.- Parameters:
widget- the widget to remove from the container.
-
clear
void clear()Removes all widgets from the container. -
getIndex
get Index of the widget- Parameters:
widget- the widget- Returns:
- the index of the widget
-
getIndex
get Index of the widget by key- Parameters:
key- the key- Returns:
- the index of the widget
-
getWidgets
Returns the widgets contained within the container as a list.- Specified by:
getWidgetsin interfaceIContainer- Returns:
- List the widgets contained within the container.
-
get
get- Parameters:
key- the key- Returns:
- the widget
-
size
int size()size- Returns:
- the number of widgets in the container.
-