public class AppContainerChildrenImpl<C extends AppComponent> extends net.thevpc.common.props.impl.WritableListImpl<C> implements AppContainerChildren<C>
| Constructor and Description |
|---|
AppContainerChildrenImpl(String name,
Class<? extends C> componentType,
AppContainer base) |
| Modifier and Type | Method and Description |
|---|---|
AppComponent |
add(AppComponent component,
net.thevpc.common.props.Path relativePath) |
C |
add(C component,
String name) |
C |
add(int index,
C component,
String name) |
AppComponent |
addFolder(net.thevpc.common.props.Path relativePath) |
protected boolean |
addImpl(int index,
C child) |
List<AppComponent> |
addMulti(AppComponent component,
net.thevpc.common.props.Path relativePath,
net.thevpc.common.props.Path... all)
add a component with the very same model to multiple locations
|
AppComponent |
addSeparator() |
AppComponent |
addSeparator(net.thevpc.common.props.Path relativePath) |
AppContainer |
ensureParentExists(net.thevpc.common.props.Path relativePath) |
protected void |
firePropertyUpdated(net.thevpc.common.props.PropertyEvent e) |
AppComponent |
get(net.thevpc.common.props.Path relativePath) |
C |
get(String pathName) |
Class |
getComponentType() |
int |
indexOf(String pathName) |
AppComponent |
remove(net.thevpc.common.props.Path relativePath) |
AppComponent |
remove(String name) |
protected C |
removeAtImpl(int index) |
void |
set(C component,
String name) |
getImpl, indexOfImpl, setImpl, sizeImpladd, add, addCollection, canAddImpl, canRemoveImpl, canSetImpl, clear, contains, findAll, findAllIndexes, findFirst, findFirst, findFirst, findFirstIndex, findFirstIndex, findFirstIndex, get, get0, isEmpty, isWritable, iterator, readOnly, remove, removeAll, removeAt, removeCollection, set, set, set0, setCollection, size, toList, toStringadjusters, createReadOnly, currentPath, get, model, vetoscreateListeners, events, fullPropertyName, parentProperty, propagateEvents, propertyName, propertyType, userObjectsclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, addCollection, clear, isEmpty, remove, removeAll, removeAll, removeAt, removeCollection, removeFirst, removeLast, set, set, setAll, setCollection, vetoscontains, findAll, findAllIndexes, findFirst, findFirst, findFirst, findFirstIndex, findFirstIndex, findFirstIndex, findFirstIndexOf, first, get, get, last, readOnly, size, stream, toListforEach, iterator, spliteratorbind, bind, bind, bind, bindSource, bindTo, getOrCompute, setAndBind, setAndBindConvert, setUsing, setUsingNonNullbindConvert, bindTarget, doNonNull, getOr, getOrDefault, getRequired, isNotNull, isNull, mapBooleanValue, mapDoubleValue, mapEqualsValue, mapFloatValue, mapIntValue, mapLongValue, mapNotEqualsValue, mapStringValue, mapValue, mapValue, unbind, withValueevents, getChildProperty, isWritable, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, userObjects, with, withpublic AppContainerChildrenImpl(String name, Class<? extends C> componentType, AppContainer base)
public Class getComponentType()
protected boolean addImpl(int index,
C child)
addImpl in class net.thevpc.common.props.impl.WritableListImpl<C extends AppComponent>protected C removeAtImpl(int index)
removeAtImpl in class net.thevpc.common.props.impl.WritableListImpl<C extends AppComponent>public int indexOf(String pathName)
indexOf in interface AppContainerChildren<C extends AppComponent>public C get(String pathName)
get in interface AppContainerChildren<C extends AppComponent>public AppComponent get(net.thevpc.common.props.Path relativePath)
get in interface AppContainerChildren<C extends AppComponent>public AppContainer ensureParentExists(net.thevpc.common.props.Path relativePath)
public AppComponent add(AppComponent component, net.thevpc.common.props.Path relativePath)
add in interface AppContainerChildren<C extends AppComponent>public C add(C component, String name)
add in interface AppContainerChildren<C extends AppComponent>protected void firePropertyUpdated(net.thevpc.common.props.PropertyEvent e)
firePropertyUpdated in class net.thevpc.common.props.impl.WritableListBase<C extends AppComponent>public C add(int index, C component, String name)
add in interface AppContainerChildren<C extends AppComponent>public AppComponent remove(String name)
remove in interface AppContainerChildren<C extends AppComponent>public AppComponent remove(net.thevpc.common.props.Path relativePath)
remove in interface AppContainerChildren<C extends AppComponent>public AppComponent addFolder(net.thevpc.common.props.Path relativePath)
addFolder in interface AppContainerChildren<C extends AppComponent>public List<AppComponent> addMulti(AppComponent component, net.thevpc.common.props.Path relativePath, net.thevpc.common.props.Path... all)
AppContainerChildrenaddMulti in interface AppContainerChildren<C extends AppComponent>component - componentrelativePath - firstPathall - all other pathspublic AppComponent addSeparator(net.thevpc.common.props.Path relativePath)
addSeparator in interface AppContainerChildren<C extends AppComponent>public AppComponent addSeparator()
addSeparator in interface AppContainerChildren<C extends AppComponent>Copyright © 2021 vpc open source initiative. All rights reserved.