Interface INamedContainer
- All Superinterfaces:
IContainer
,INamedWidget
,IWidget
,IWritable
,Serializable
INamedContainer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add the specified widget to the container.void
Add the specified widget to the container.void
Add the specified widget after the refWidgetvoid
addAll
(INamedContainer container) addAllvoid
Add the specified widget to the container in the first place.void
Add the specified widget to the container in the last place.void
clear()
Removes all widgets from the container.getint
get Index of the widgetint
get Index of the widget by keyReturns the widgets contained within the container as a list.void
Remove the specified widget from the container.int
size()
sizeMethods inherited from interface com.axemble.vdoc.sdk.interfaces.ui.runtime.IContainer
getLayout, setLayout
Methods inherited from interface com.axemble.vdp.ui.framework.widgets.INamedWidget
getName
Methods 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:
getWidgets
in 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.
-