info.magnolia.ui.workbench.tree
Class TreeViewImpl

java.lang.Object
  extended by info.magnolia.ui.workbench.list.ListViewImpl
      extended by info.magnolia.ui.workbench.tree.TreeViewImpl
All Implemented Interfaces:
View, ContentView, ListView, TreeView, Serializable

public class TreeViewImpl
extends ListViewImpl
implements TreeView

Vaadin UI component that displays a tree.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.ui.workbench.tree.TreeView
TreeView.Listener
 
Constructor Summary
TreeViewImpl()
           
TreeViewImpl(com.vaadin.ui.TreeTable tree)
           
 
Method Summary
 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)
           
 
Methods inherited from class info.magnolia.ui.workbench.list.ListViewImpl
addColumn, addColumn, addColumn, bindHandlers, onShortcutKey, setColumnFormatter, setContainer, setListener, setMultiselect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.ui.workbench.list.ListView
addColumn, addColumn, addColumn, setColumnFormatter, setContainer
 
Methods inherited from interface info.magnolia.ui.workbench.ContentView
onShortcutKey, setListener, setMultiselect
 

Constructor Detail

TreeViewImpl

public TreeViewImpl()

TreeViewImpl

public TreeViewImpl(com.vaadin.ui.TreeTable tree)
Method Detail

setActionManager

public void setActionManager(com.vaadin.event.Action.Container shortcutActionManager)
Specified by:
setActionManager in interface TreeView

setEditable

public void setEditable(boolean editable)
Specified by:
setEditable in interface TreeView

setEditableColumns

public void setEditableColumns(Object... propertyIds)
Specified by:
setEditableColumns in interface TreeView

setDragAndDropHandler

public void setDragAndDropHandler(com.vaadin.event.dd.DropHandler dropHandler)
Specified by:
setDragAndDropHandler in interface TreeView

select

public void select(List<String> itemIds)
Description copied from interface: ContentView
Selects the items with given IDs in the content view.

Specified by:
select in interface ContentView
Overrides:
select in class ListViewImpl
Parameters:
itemIds - IDs

expand

public void expand(String itemId)
Description copied from interface: ContentView
Expands an item if the view supports it.

Specified by:
expand in interface ContentView
Overrides:
expand in class ListViewImpl
Parameters:
itemId - ID

getListener

protected TreeView.Listener getListener()
Overrides:
getListener in class ListViewImpl

asVaadinComponent

public com.vaadin.ui.TreeTable asVaadinComponent()
Description copied from interface: View
Returns the Vaadin component managed by this view.

Specified by:
asVaadinComponent in interface View
Overrides:
asVaadinComponent in class ListViewImpl


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.