Package com.simsilica.lemur.style
Class StyleTree
java.lang.Object
com.simsilica.lemur.style.StyleTree
Used internally by the Styles API to track the style
definition hierarchy in tail-first form.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
accumulateAttributes
(StyleTree.Node node, String[] parts, int index, boolean followWildCards, Attributes results) protected void
debug()
protected void
dump
(StyleTree.Node node, String indent) protected StyleTree.Node
findChild
(StyleTree.Node node, String[] parts, boolean create) getAttributes
(ElementId elementId) protected StyleTree.Node
getRoot()
getSelector
(ElementId id, boolean create) getSelector
(ElementId parent, ElementId child, boolean create) static void
-
Constructor Details
-
StyleTree
-
-
Method Details
-
getRoot
-
getSelector
-
getSelector
-
getAttributes
-
accumulateAttributes
protected void accumulateAttributes(StyleTree.Node node, String[] parts, int index, boolean followWildCards, Attributes results) -
findChild
-
dump
-
debug
protected void debug() -
main
-