Package tripleplay.ui
Class Container.Mutable<T extends Container.Mutable<T>>
java.lang.Object
tripleplay.ui.Element<T>
tripleplay.ui.Container<T>
tripleplay.ui.Container.Mutable<T>
A container that allows mutation (adding and removal) of its children.
-
Nested Class Summary
Nested classes/interfaces inherited from class tripleplay.ui.Container
Container.Mutable<T extends Container.Mutable<T>>
Nested classes/interfaces inherited from class tripleplay.ui.Element
Element.Take
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
Removes and destroys the specified child.abstract void
Removes and destroys all children from this container.abstract void
destroyAt
(int index) Removes and destroys the child at the specified index.abstract void
Removes the specified child from this container.abstract void
Removes all children from this container.abstract void
removeAt
(int index) Removes the child at the specified index from this container.Methods inherited from class tripleplay.ui.Container
childAt, childCount, iterator, removeFromParent, stylesheet
Methods inherited from class tripleplay.ui.Element
addStyles, addStyles, bindEnabled, bindVisible, bounds, constraint, enabledSlot, hierarchyChanged, isAdded, isEnabled, isShowing, isVisible, location, parent, setConstraint, setEnabled, setStyles, setStyles, setVisible, size, styles, visibleSlot, x, y
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Mutable
public Mutable()
-
-
Method Details
-
remove
Removes the specified child from this container. -
removeAt
public abstract void removeAt(int index) Removes the child at the specified index from this container. -
removeAll
public abstract void removeAll()Removes all children from this container. -
destroy
Removes and destroys the specified child. -
destroyAt
public abstract void destroyAt(int index) Removes and destroys the child at the specified index. -
destroyAll
public abstract void destroyAll()Removes and destroys all children from this container.
-