Module io.github.mmm.ui.api.core
Interface UiMutableComposite<C extends UiWidget>
-
- Type Parameters:
C
- type of thechild widgets
.
- All Superinterfaces:
AttributeReadEnabled
,AttributeReadId
,AttributeReadValid
,AttributeReadVisible
,AttributeWriteEnabled
,AttributeWriteId
,AttributeWriteReadOnly
,AttributeWriteTooltip
,AttributeWriteVisible
,EventSource<UiEvent,UiEventListener>
,UiComposite<C>
,UiRemovableComposite<C>
,UiWidget
- All Known Subinterfaces:
UiAbstractButtonContainer
,UiAbstractCompositeInput<C,V>
,UiAbstractSplitPanel
,UiAbstractWindow
,UiButtonPanel
,UiChildWindow
,UiCollapsibleComposite<C>
,UiCollapsiblePanel
,UiCompositeInput<V>
,UiFormGroup<V>
,UiFormPanel<V>
,UiGridRow
,UiHorizontalInput<V>
,UiHorizontalPanel
,UiHorizontalSplitPanel
,UiMainWindow
,UiMutablePanel
,UiPopup
,UiResponsiveColumnPanel
,UiSwitchComposite<C>
,UiTabPanel
,UiValuedComposite<C,V>
,UiVerticalInput<V>
,UiVerticalPanel
,UiVerticalSplitPanel
,UiWindow
- All Known Implementing Classes:
FxAbstractWindow
,FxButtonPanel
,FxChildWindow
,FxCollapsiblePanel
,FxCompositeInput
,FxFailureComposite
,FxFormGroup
,FxFormGroup
,FxFormPanel
,FxFormPanel
,FxGridRow
,FxHorizontalInput
,FxHorizontalPanel
,FxHorizontalPanel
,FxMainWindow
,FxMutableComposite
,FxMutableCompositePane
,FxMutablePanel
,FxPopup
,FxValuedComposite
,FxVerticalPanel
,FxWindow
,TestAbstractWindow
,TestButtonPanel
,TestChildWindow
,TestCollapsibleComposite
,TestCollapsiblePanel
,TestFailureComposite
,TestFormGroup
,TestFormPanel
,TestGridPanel
,TestGridRow
,TestMainWindow
,TestMutableComposite
,TestMutablePanel
,TestPopup
,TestValuedComposite
,TestVerticalPanel
,TestWindow
,TvmButtonPanel
,TvmGridPanel
,TvmGridRow
,TvmHorizontalPanel
,TvmMutableComposite
,TvmMutablePanel
,TvmValuedComposite
,TvmVerticalPanel
,UiCustomCompositeInput
,UiCustomEditorButtonPanel
,UiCustomFormPanel
,UiCustomHorizontalInput
,UiCustomMutableComposite
,UiCustomMutablePanel
,UiCustomValuedComposite
,UiCustomVerticalPanel
public interface UiMutableComposite<C extends UiWidget> extends UiRemovableComposite<C>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
addChild(C child)
Adds the givenchild
to the end of thechild-list
.void
addChild(C child, int index)
Inserts the givenchild
at the givenindex
.-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadId
getId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setId
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTooltip
getTooltip, setTooltip
-
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
-
Methods inherited from interface io.github.mmm.ui.api.widget.composite.UiComposite
getChild, getChild, getChildCount, getChildIndex, getDescendant, getModificationTimestamp, getPropagation, isModified, isValid, reset, setFocused
-
Methods inherited from interface io.github.mmm.ui.api.widget.composite.UiRemovableComposite
removeChild, removeChild
-
Methods inherited from interface io.github.mmm.ui.api.widget.UiWidget
cast, dispose, getParent, getReadOnlyFixed, getStyles, isDisposed, isEnabled, isEnabled, isFocused, isReadOnly, isVisible, isVisible, setEnabled, setEnabled, setReadOnly, setReadOnlyFixed, setVisible, setVisible, validate, validate, validate, validateDown, validateUp
-
-
-
-
Method Detail
-
addChild
default void addChild(C child)
Adds the givenchild
to the end of thechild-list
. For vertical layouts this will be the bottom and for horizontal layouts this will be the right.- Parameters:
child
- is theUiWidget
to add as child of this composite.- See Also:
List.add(Object)
-
addChild
void addChild(C child, int index)
Inserts the givenchild
at the givenindex
.- Parameters:
child
- is theUiWidget
to add as child of this composite.index
- is theindex
of the new child. It has to be in the range from0
toUiComposite.getChildCount()
.- See Also:
addChild(UiWidget)
,List.add(int, Object)
-
-