public class TreeViewImpl extends ListViewImpl implements TreeView
TreeView.Listener
Constructor and Description |
---|
TreeViewImpl() |
Modifier and Type | Method and Description |
---|---|
com.vaadin.v7.ui.TreeTable |
asVaadinComponent()
Returns the Vaadin component managed by this view.
|
protected com.vaadin.v7.ui.TreeTable |
createTable(com.vaadin.v7.data.Container container) |
void |
editFirstCell() |
void |
editPreviousCell(Object itemId,
Object propertyId) |
void |
expand(Object itemId)
Expands an item if the view supports it.
|
protected TreeView.Listener |
getListener() |
protected void |
initializeTable(com.vaadin.v7.ui.Table table) |
void |
select(List<Object> 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... editablePropertyIds) |
void |
setSortable(boolean sortable) |
addColumn, addColumn, addColumn, bindHandlers, clearColumns, onShortcutKey, setColumnFormatter, setContainer, setListener, setMultiselect
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addColumn, addColumn, addColumn, clearColumns, setColumnFormatter, setContainer
onShortcutKey, setListener, setMultiselect
protected com.vaadin.v7.ui.TreeTable createTable(com.vaadin.v7.data.Container container)
createTable
in class ListViewImpl
protected void initializeTable(com.vaadin.v7.ui.Table table)
initializeTable
in class ListViewImpl
public void select(List<Object> itemIds)
ContentView
select
in interface ContentView
select
in class ListViewImpl
itemIds
- IDspublic void expand(Object itemId)
ContentView
expand
in interface ContentView
expand
in class ListViewImpl
itemId
- IDprotected TreeView.Listener getListener()
getListener
in class ListViewImpl
public com.vaadin.v7.ui.TreeTable asVaadinComponent()
View
asVaadinComponent
in interface View
asVaadinComponent
in class ListViewImpl
public void setEditable(boolean editable)
setEditable
in interface TreeView
public void setEditableColumns(Object... editablePropertyIds)
setEditableColumns
in interface TreeView
public void setDragAndDropHandler(com.vaadin.event.dd.DropHandler dropHandler)
setDragAndDropHandler
in interface TreeView
public void setActionManager(com.vaadin.event.Action.Container shortcutActionManager)
setActionManager
in interface TreeView
public void setSortable(boolean sortable)
public void editFirstCell()
Copyright © 2018 Magnolia International Ltd.. All rights reserved.