java.lang.Object
javafx.scene.template.Template<T>
@DefaultProperty("content") @TemplateContentProperty("content") public class Template<T> extends Object
-
Constructor Summary
Constructors Constructor Description Template() -
Method Summary
Modifier and Type Method Description static <T> Template<T>find(Node node, Object item)Tries to find a template in the scene graph that matches the specified item.TemplateContent<T>getContent()static <T> TemplateContent<T>getContent(Template<T> template, boolean editing)TemplateContent<T>getEditingContent()Predicate<Object>getSelector()static <T> booleanmatch(Template<T> template, Object item)Determines whether the template matches the specified item.voidsetContent(TemplateContent<T> content)voidsetEditingContent(TemplateContent<T> editingContent)voidsetSelector(Predicate<Object> selector)
-
Constructor Details
-
Template
public Template()
-
-
Method Details
-
getContent
-
setContent
-
getEditingContent
-
setEditingContent
-
getSelector
-
setSelector
-
find
Tries to find a template in the scene graph that matches the specified item. -
match
Determines whether the template matches the specified item. -
getContent
-