Package io.guise.framework.component
Class TreeControl.TextModelTreeNodeRepresentationStrategy
- java.lang.Object
-
- io.guise.framework.component.TreeControl.AbstractTreeNodeRepresentationStrategy<TextModel>
-
- io.guise.framework.component.TreeControl.TextModelTreeNodeRepresentationStrategy
-
- All Implemented Interfaces:
TreeControl.TreeNodeRepresentationStrategy<TextModel>
- Enclosing class:
- TreeControl
public static class TreeControl.TextModelTreeNodeRepresentationStrategy extends TreeControl.AbstractTreeNodeRepresentationStrategy<TextModel>
- Author:
- Garret Wilson
- See Also:
Message
-
-
Constructor Summary
Constructors Constructor Description TextModelTreeNodeRepresentationStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <N extends TextModel>
TextBoxcreateComponent(TreeControl treeControl, TreeModel model, TreeNodeModel<N> treeNode, boolean editable, boolean selected, boolean focused)
Creates a component to represent the given tree node.
-
-
-
Method Detail
-
createComponent
public <N extends TextModel> TextBox createComponent(TreeControl treeControl, TreeModel model, TreeNodeModel<N> treeNode, boolean editable, boolean selected, boolean focused)
Description copied from interface:TreeControl.TreeNodeRepresentationStrategy
Creates a component to represent the given tree node.- Type Parameters:
N
- The type of value contained in the node.- Parameters:
treeControl
- The component containing the model.model
- The model containing the value.treeNode
- The node containing the value.editable
- Whether values in this column are editable.selected
-true
if the value is selected.focused
-true
if the value has the focus.- Returns:
- A new component to represent the given value.
-
-