Class MultiSelectableFolderContent
- java.lang.Object
-
- org.apache.wicket.examples.tree.content.Content
-
- org.apache.wicket.examples.tree.content.MultiSelectableFolderContent
-
- All Implemented Interfaces:
Serializable,IDetachable,IClusterable
public class MultiSelectableFolderContent extends Content
- Author:
- Sven Meier
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiSelectableFolderContent(ITreeProvider<Foo> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddetach()protected booleanisSelected(Foo foo)ComponentnewContentComponent(String id, AbstractTree<Foo> tree, IModel<Foo> model)Create new content.protected voidtoggle(Foo foo, AbstractTree<Foo> tree, Optional<AjaxRequestTarget> target)
-
-
-
Constructor Detail
-
MultiSelectableFolderContent
public MultiSelectableFolderContent(ITreeProvider<Foo> provider)
-
-
Method Detail
-
detach
public void detach()
- Specified by:
detachin interfaceIDetachable- Overrides:
detachin classContent
-
isSelected
protected boolean isSelected(Foo foo)
-
toggle
protected void toggle(Foo foo, AbstractTree<Foo> tree, Optional<AjaxRequestTarget> target)
-
newContentComponent
public Component newContentComponent(String id, AbstractTree<Foo> tree, IModel<Foo> model)
Description copied from class:ContentCreate new content.- Specified by:
newContentComponentin classContent
-
-