Class TrackElement
java.lang.Object
dev.pfaff.altargui.improv.Element
dev.pfaff.altargui.improv.elements.AbstractMultiChildElement
dev.pfaff.altargui.improv.elements.TrackElement
-
Field Summary
Fields inherited from class dev.pfaff.altargui.improv.Element
EMPTY_ARRAY, STACK_WALKER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onMountChild
(int index, Element child, boolean moved) protected void
Override this to invalidate parts of your layout when the "available" variables change.protected void
onUnmountChild
(int index, Element child) protected void
onUpdateChildCount
(int count) void
Methods inherited from class dev.pfaff.altargui.improv.elements.AbstractMultiChildElement
childCount, forEachChild, getChild, onDispose, setChildSupplier
Methods inherited from class dev.pfaff.altargui.improv.Element
allocation, context, ensureMounted, equals, hashCode, mutateLayoutImmediately, onMount, onUnmount, parent, queueLayout, setAvailable
-
Constructor Details
-
TrackElement
-
-
Method Details
-
setAxis
-
onMountChild
- Overrides:
onMountChild
in classAbstractMultiChildElement
-
onUnmountChild
- Overrides:
onUnmountChild
in classAbstractMultiChildElement
-
onUpdateChildCount
protected void onUpdateChildCount(int count) Description copied from class:AbstractMultiChildElement
Called afterAbstractMultiChildElement.onMountChild(int, Element, boolean)
andAbstractMultiChildElement.onUnmountChild(int, Element)
.- Overrides:
onUpdateChildCount
in classAbstractMultiChildElement
- Parameters:
count
- the number of child elements
-
onSetAvailable
protected void onSetAvailable()Description copied from class:Element
Override this to invalidate parts of your layout when the "available" variables change. Note that any changes in this method should be queued, not executed immediately.- Overrides:
onSetAvailable
in classElement
-