public interface IContainer extends IComponent, IContainerObservable, IRecursiveContainerObservable, IContainerCommon
| Modifier and Type | Method and Description |
|---|---|
<WIDGET_TYPE extends IControl> |
add(ICustomWidgetCreator<WIDGET_TYPE> creator)
Creates and adds an control to this container
|
<WIDGET_TYPE extends IControl> |
add(ICustomWidgetCreator<WIDGET_TYPE> creator,
java.lang.Object layoutConstraints)
Creates and adds an control to this container
|
<WIDGET_TYPE extends IControl> |
add(int index,
ICustomWidgetCreator<WIDGET_TYPE> creator)
Creates and adds an control to this container
|
<WIDGET_TYPE extends IControl> |
add(int index,
ICustomWidgetCreator<WIDGET_TYPE> creator,
java.lang.Object layoutConstraints)
Creates and adds an control to this container
|
<WIDGET_TYPE extends IControl> |
add(int index,
IWidgetDescriptor<? extends WIDGET_TYPE> descriptor)
Creates and adds an control to this container.
|
<WIDGET_TYPE extends IControl> |
add(int index,
IWidgetDescriptor<? extends WIDGET_TYPE> descriptor,
java.lang.Object layoutConstraints)
Creates and adds an control to this container.
|
<WIDGET_TYPE extends IControl> |
add(IWidgetDescriptor<? extends WIDGET_TYPE> descriptor)
Creates and adds an control to this container.
|
<WIDGET_TYPE extends IControl> |
add(IWidgetDescriptor<? extends WIDGET_TYPE> descriptor,
java.lang.Object layoutConstraints)
Creates and adds an control to this container.
|
void |
addContainerRegistry(IContainerRegistry registry)
Adds a container registry recursively.
|
java.util.List<IControl> |
getChildren()
Gets the containers children
|
void |
layout()
Layouts the container
|
void |
layoutLater()
Layouts the container later in the event queue.
|
boolean |
remove(IControl control)
Removes a control from this container.
|
void |
removeContainerRegistry(IContainerRegistry registry)
Removes a container registry
|
<LAYOUT_TYPE extends ILayouter> |
setLayout(ILayoutFactory<LAYOUT_TYPE> layoutFactory)
Sets the layouter for this container defined by a layout factory
|
void |
setTabOrder(java.util.Collection<? extends IControl> tabOrder)
Sets the tab order of the container's controls.
|
void |
setTabOrder(IControl... controls)
Sets the tab order of the container's controls.
|
createPopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreendispose, getParent, getRoot, isDisposedaddDisposeListener, removeDisposeListeneraddShowingStateListener, removeShowingStateListeneraddContainerListener, removeContainerListeneraddComponentListenerRecursive, addFocusListenerRecursive, addKeyListenerRecursive, addMouseListenerRecursive, addPopupDetectionListenerRecursive, removeComponentListenerRecursive, removeFocusListenerRecursive, removeKeyListenerRecursive, removeMouseListenerRecursive, removePopupDetectionListenerRecursivecomputeDecoratedSize, getClientArea, layoutBegin, layoutEnd, removeAll, setLayoutgetBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisiblegetUiReference, isEnabled, setEnabledaddComponentListener, removeComponentListeneraddFocusListener, removeFocusListeneraddKeyListener, removeKeyListeneraddMouseListener, removeMouseListeneraddMouseMotionListener, removeMouseMotionListeneraddPopupDetectionListener, removePopupDetectionListener<LAYOUT_TYPE extends ILayouter> LAYOUT_TYPE setLayout(ILayoutFactory<LAYOUT_TYPE> layoutFactory)
layoutFactory - The layout to setvoid layout()
void layoutLater()
void addContainerRegistry(IContainerRegistry registry)
registry - The registry to addvoid removeContainerRegistry(IContainerRegistry registry)
registry - The registry to removejava.util.List<IControl> getChildren()
boolean remove(IControl control)
control - The control to remove<WIDGET_TYPE extends IControl> WIDGET_TYPE add(int index, IWidgetDescriptor<? extends WIDGET_TYPE> descriptor, java.lang.Object layoutConstraints)
WIDGET_TYPE - The type of the widget that is created, added and returnedindex - The index at which the control should be added in the containerdescriptor - The descriptor that describes the control to addlayoutConstraints - The layout constraints / data for the added control<WIDGET_TYPE extends IControl> WIDGET_TYPE add(int index, IWidgetDescriptor<? extends WIDGET_TYPE> descriptor)
WIDGET_TYPE - The type of the widget that is created, added and returnedindex - The index at which the control should be added in the containerdescriptor - The descriptor that describes the control to add<WIDGET_TYPE extends IControl> WIDGET_TYPE add(int index, ICustomWidgetCreator<WIDGET_TYPE> creator, java.lang.Object layoutConstraints)
WIDGET_TYPE - The type of the widget that is created, added and returnedindex - The index at which the control should be added in the containercreator - The creator that creates the controllayoutConstraints - The layout constraints / data for the added control<WIDGET_TYPE extends IControl> WIDGET_TYPE add(int index, ICustomWidgetCreator<WIDGET_TYPE> creator)
WIDGET_TYPE - The type of the widget that is created, added and returnedindex - The index at which the control should be added in the containercreator - The creator that creates the control<WIDGET_TYPE extends IControl> WIDGET_TYPE add(IWidgetDescriptor<? extends WIDGET_TYPE> descriptor, java.lang.Object layoutConstraints)
WIDGET_TYPE - The type of the widget that is created, added and returneddescriptor - The descriptor that describes the control to addlayoutConstraints - The layout constraints / data for the added control<WIDGET_TYPE extends IControl> WIDGET_TYPE add(ICustomWidgetCreator<WIDGET_TYPE> creator, java.lang.Object layoutConstraints)
WIDGET_TYPE - The type of the widget that is created, added and returnedcreator - The creator that creates the controllayoutConstraints - The layout constraints / data for the added control<WIDGET_TYPE extends IControl> WIDGET_TYPE add(IWidgetDescriptor<? extends WIDGET_TYPE> descriptor)
WIDGET_TYPE - The type of the widget that is created, added and returneddescriptor - The descriptor that describes the control to add<WIDGET_TYPE extends IControl> WIDGET_TYPE add(ICustomWidgetCreator<WIDGET_TYPE> creator)
WIDGET_TYPE - The type of the widget that is created, added and returnedcreator - The creator that creates the controlvoid setTabOrder(java.util.Collection<? extends IControl> tabOrder)
tabOrder - the tab order to set or null to set the default tab behavior.void setTabOrder(IControl... controls)
tabOrder - the tab order to set or null to set the default tab behavior.Siehe auch Jowidgets Nutzerhandbuch