info.magnolia.ui.workbench
Interface ContentView

All Superinterfaces:
Serializable, View
All Known Subinterfaces:
ListView, SearchView, ThumbnailView, TreeView
All Known Implementing Classes:
ListViewImpl, SearchViewImpl, ThumbnailViewImpl, TreeViewImpl

public interface ContentView
extends View

UI component that displays content in one of the supported view types (list, tree etc).


Nested Class Summary
static interface ContentView.Listener
          Listener for the ContentView.
 
Method Summary
 void expand(String itemId)
          Expands an item if the view supports it.
 void onShortcutKey(int keyCode, int[] modifierKeys)
           
 void select(List<String> itemIds)
          Selects the items with given IDs in the content view.
 void setListener(ContentView.Listener listener)
           
 void setMultiselect(boolean multiselect)
          Decides whether the user can select multiple items.
 
Methods inherited from interface info.magnolia.ui.api.view.View
asVaadinComponent
 

Method Detail

setListener

void setListener(ContentView.Listener listener)

select

void select(List<String> itemIds)
Selects the items with given IDs in the content view.

Parameters:
itemIds - IDs

expand

void expand(String itemId)
Expands an item if the view supports it.

Parameters:
itemId - ID

onShortcutKey

void onShortcutKey(int keyCode,
                   int[] modifierKeys)

setMultiselect

void setMultiselect(boolean multiselect)
Decides whether the user can select multiple items.



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