it.tidalwave.ui.vaadin
Class IndexedContainerSupport
java.lang.Object
it.tidalwave.ui.vaadin.IndexedContainerSupport
- All Implemented Interfaces:
- com.vaadin.data.Container, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.Ordered, java.io.Serializable
- Direct Known Subclasses:
- ReadOnlyPresentationModelContainer
public abstract class IndexedContainerSupport
- extends java.lang.Object
- implements com.vaadin.data.Container.Indexed
- Version:
- $Id: IndexedContainerSupport.java,v d460c8cb3874 2011/07/14 14:24:33 fabrizio $
- Author:
- Fabrizio Giudici, based on LazyQyeryFinder by Tommi S.E. Laukkanen
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.vaadin.data.Container |
com.vaadin.data.Container.Editor, com.vaadin.data.Container.Filter, com.vaadin.data.Container.Filterable, com.vaadin.data.Container.Hierarchical, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeEvent, com.vaadin.data.Container.ItemSetChangeListener, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.PropertySetChangeEvent, com.vaadin.data.Container.PropertySetChangeListener, com.vaadin.data.Container.PropertySetChangeNotifier, com.vaadin.data.Container.SimpleFilterable, com.vaadin.data.Container.Sortable, com.vaadin.data.Container.Viewer |
|
Field Summary |
protected java.lang.Class<?> |
beanType
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.vaadin.data.Container |
getItem, size |
beanType
protected final java.lang.Class<?> beanType
IndexedContainerSupport
public IndexedContainerSupport(@Nonnull
java.lang.Class<?> beanType)
addContainerProperty
public boolean addContainerProperty(java.lang.Object propertyId,
java.lang.Class<?> type,
java.lang.Object defaultValue)
-
- Specified by:
addContainerProperty in interface com.vaadin.data.Container
removeContainerProperty
public boolean removeContainerProperty(java.lang.Object propertyId)
-
- Specified by:
removeContainerProperty in interface com.vaadin.data.Container
getContainerPropertyIds
public final java.util.Collection<?> getContainerPropertyIds()
-
- Specified by:
getContainerPropertyIds in interface com.vaadin.data.Container
getType
public final java.lang.Class<?> getType(java.lang.Object propertyId)
-
- Specified by:
getType in interface com.vaadin.data.Container
getItemIds
public final java.util.Collection<?> getItemIds()
-
- Specified by:
getItemIds in interface com.vaadin.data.Container
getContainerProperty
public final com.vaadin.data.Property getContainerProperty(java.lang.Object itemId,
java.lang.Object propertyId)
-
- Specified by:
getContainerProperty in interface com.vaadin.data.Container
getIdByIndex
public final java.lang.Object getIdByIndex(int index)
-
- Specified by:
getIdByIndex in interface com.vaadin.data.Container.Indexed
indexOfId
public final int indexOfId(java.lang.Object itemId)
-
- Specified by:
indexOfId in interface com.vaadin.data.Container.Indexed
containsId
public final boolean containsId(java.lang.Object itemId)
-
- Specified by:
containsId in interface com.vaadin.data.Container
isFirstId
public final boolean isFirstId(java.lang.Object itemId)
-
- Specified by:
isFirstId in interface com.vaadin.data.Container.Ordered
isLastId
public final boolean isLastId(java.lang.Object itemId)
-
- Specified by:
isLastId in interface com.vaadin.data.Container.Ordered
firstItemId
public final java.lang.Object firstItemId()
-
- Specified by:
firstItemId in interface com.vaadin.data.Container.Ordered
lastItemId
public final java.lang.Object lastItemId()
-
- Specified by:
lastItemId in interface com.vaadin.data.Container.Ordered
nextItemId
public final java.lang.Object nextItemId(java.lang.Object itemId)
-
- Specified by:
nextItemId in interface com.vaadin.data.Container.Ordered
prevItemId
public final java.lang.Object prevItemId(java.lang.Object itemId)
-
- Specified by:
prevItemId in interface com.vaadin.data.Container.Ordered
addItemAt
public final java.lang.Object addItemAt(int index)
-
- Specified by:
addItemAt in interface com.vaadin.data.Container.Indexed
addItemAfter
public final java.lang.Object addItemAfter(java.lang.Object previousItemId)
-
- Specified by:
addItemAfter in interface com.vaadin.data.Container.Ordered
addItemAt
public final com.vaadin.data.Item addItemAt(int index,
java.lang.Object newItemId)
-
- Specified by:
addItemAt in interface com.vaadin.data.Container.Indexed
addItemAfter
public final com.vaadin.data.Item addItemAfter(java.lang.Object previousItemId,
java.lang.Object newItemId)
-
- Specified by:
addItemAfter in interface com.vaadin.data.Container.Ordered
addItem
public final com.vaadin.data.Item addItem(java.lang.Object itemId)
-
- Specified by:
addItem in interface com.vaadin.data.Container
addItem
public final java.lang.Object addItem()
-
- Specified by:
addItem in interface com.vaadin.data.Container
removeItem
public final boolean removeItem(java.lang.Object itemId)
-
- Specified by:
removeItem in interface com.vaadin.data.Container
removeAllItems
public final boolean removeAllItems()
-
- Specified by:
removeAllItems in interface com.vaadin.data.Container
Copyright © 2011 Tidalwave s.a.s.. All Rights Reserved.