Package org.jsignal.ui
Class Node
java.lang.Object
org.jsignal.ui.NodePropHelper
org.jsignal.ui.Node
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jsignal.ui.NodePropHelper
NodePropHelper.Builder
Nested classes/interfaces inherited from interface org.jsignal.ui.Nodes
Nodes.CacheMany, Nodes.CacheOne
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Event>
voidbubble
(T event) static Node
createRoot
(Supplier<Element> constructComponent) <T extends Event>
voidfire
(T event) io.github.humbleui.skija.Matrix33
getId()
getTags()
io.github.humbleui.skija.Matrix33
long
getYoga()
boolean
hasListener
(EventType type) void
listen
(Iterable<EventListener<?>> addListeners) void
listen
(EventListener<?>... addListeners) protected void
onBuild
(Node.Transitive transitive) pick
(io.github.humbleui.types.Point point) void
void
void
setPaintCacheStrategy
(PaintCacheStrategy paintCacheStrategy) void
void
visitParents
(Consumer<Node> visitor) void
visitParentsWithShortcut
(Function<Node, Boolean> visitor) Methods inherited from class org.jsignal.ui.NodePropHelper
builder, toBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jsignal.ui.Nodes
getNodeList, resolve
-
Field Details
-
defaultPaintCacheStrategy
-
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
onBuild
-
getNodeListSupplier
- Specified by:
getNodeListSupplier
in interfaceNodes
-
getPaintCacheStrategy
-
setPaintCacheStrategy
-
setId
-
getId
-
getTags
-
runLayouter
public void runLayouter() -
getLayoutConfig
-
pick
- Parameters:
point
- must be relative to the node
-
getLayout
-
getTransform
public io.github.humbleui.skija.Matrix33 getTransform() -
getFullTransform
public io.github.humbleui.skija.Matrix33 getFullTransform() -
getParent
-
getParents
-
getChildren
-
getYoga
public long getYoga() -
updateLayout
public void updateLayout() -
visitParents
-
visitParentsWithShortcut
-
listen
-
listen
-
hasListener
-
fire
-
bubble
-
findById
-
findByTag
-
createRoot
-