public class TreeViewImpl extends ListViewImpl implements TreeView
TreeView.Listener
Constructor and Description |
---|
TreeViewImpl() |
TreeViewImpl(com.vaadin.ui.TreeTable tree) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.TreeTable |
asVaadinComponent()
Returns the Vaadin component managed by this view.
|
void |
expand(String itemId)
Expands an item if the view supports it.
|
protected TreeView.Listener |
getListener() |
void |
select(List<String> itemIds)
Selects the items with given IDs in the content view.
|
void |
setActionManager(com.vaadin.event.Action.Container shortcutActionManager) |
void |
setDragAndDropHandler(com.vaadin.event.dd.DropHandler dropHandler) |
void |
setEditable(boolean editable) |
void |
setEditableColumns(Object... propertyIds) |
addColumn, addColumn, addColumn, bindHandlers, clearColumns, onShortcutKey, setColumnFormatter, setContainer, setListener, setMultiselect
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addColumn, addColumn, addColumn, setColumnFormatter, setContainer
onShortcutKey, setListener, setMultiselect
public TreeViewImpl()
public TreeViewImpl(com.vaadin.ui.TreeTable tree)
public void setActionManager(com.vaadin.event.Action.Container shortcutActionManager)
setActionManager
in interface TreeView
public void setEditable(boolean editable)
setEditable
in interface TreeView
public void setEditableColumns(Object... propertyIds)
setEditableColumns
in interface TreeView
public void setDragAndDropHandler(com.vaadin.event.dd.DropHandler dropHandler)
setDragAndDropHandler
in interface TreeView
public void select(List<String> itemIds)
ContentView
select
in interface ContentView
select
in class ListViewImpl
itemIds
- IDspublic void expand(String itemId)
ContentView
expand
in interface ContentView
expand
in class ListViewImpl
itemId
- IDprotected TreeView.Listener getListener()
getListener
in class ListViewImpl
public com.vaadin.ui.TreeTable asVaadinComponent()
View
asVaadinComponent
in interface View
asVaadinComponent
in class ListViewImpl
Copyright © 2015 Magnolia International Ltd.. All rights reserved.