org.cruxframework.crux.widgets.client.grid
Class RowDetailsManager
java.lang.Object
org.cruxframework.crux.widgets.client.grid.RowDetailsManager
public class RowDetailsManager
- extends Object
Manages the logic for create, index and destroy the widgets
used as row's details.
- Author:
- Gesse Dafe
|
Method Summary |
com.google.gwt.user.client.ui.Widget |
createWidget(DataRow row)
Creates the widget to be used as a row detail |
boolean |
isDetailLoaded(org.cruxframework.crux.core.client.datasource.DataSourceRecord<?> record)
|
void |
reset()
Clears the index of loaded details and destroys the related widgets. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowDetailsManager
public RowDetailsManager(RowDetailWidgetCreator rowDetailWidgetCreator)
- Parameters:
rowDetailsDefinition -
reset
public void reset()
- Clears the index of loaded details and destroys the related widgets.
createWidget
public com.google.gwt.user.client.ui.Widget createWidget(DataRow row)
- Creates the widget to be used as a row detail
- Returns:
isDetailLoaded
public boolean isDetailLoaded(org.cruxframework.crux.core.client.datasource.DataSourceRecord<?> record)
- Returns:
true if the details related to this record have already being loaded.
Copyright © 2015. All rights reserved.