|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.data.RpcDataProviderExtension.DetailComponentManager
public static final class RpcDataProviderExtension.DetailComponentManager
A class that makes detail component related internal communication
possible between RpcDataProviderExtension
and grid.
Constructor Summary | |
---|---|
RpcDataProviderExtension.DetailComponentManager()
|
Method Summary | |
---|---|
void |
createDetails(java.lang.Object itemId,
int rowIndex)
Creates a details component by the request of the client side, with the help of the user-defined Grid.DetailsGenerator . |
void |
destroyDetails(java.lang.Object itemId)
Destroys correctly a details component, by the request of the client side. |
java.util.Set<com.vaadin.shared.ui.grid.DetailsConnectorChange> |
getAndResetConnectorChanges()
Gets information on how the connectors have changed. |
java.util.Collection<Component> |
getComponents()
Gets all details components that are currently attached to the grid. |
void |
refresh(java.lang.Object itemId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RpcDataProviderExtension.DetailComponentManager()
Method Detail |
---|
public void createDetails(java.lang.Object itemId, int rowIndex) throws java.lang.IllegalStateException
Grid.DetailsGenerator
.
Also keeps internal bookkeeping up to date.
itemId
- the item id for which to create the details component.
Assumed not null
and that a component is not
currently present for this item previouslyrowIndex
- the row index for itemId
java.lang.IllegalStateException
- if the current details generator provides a component
that was manually attached, or if the same instance has
already been providedpublic void destroyDetails(java.lang.Object itemId)
Also keeps internal bookkeeping up to date.
itemId
- the item id for which to destroy the details componentpublic java.util.Collection<Component> getComponents()
Used internally by the Grid object.
public java.util.Set<com.vaadin.shared.ui.grid.DetailsConnectorChange> getAndResetConnectorChanges()
This method only returns the changes that have been made between two calls of this method. I.e. Calling this method once will reset the state for the next state.
Used internally by the Grid object.
public void refresh(java.lang.Object itemId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |