|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.BoxComponent
com.extjs.gxt.ui.client.widget.grid.Grid<M>
com.extjs.gxt.ui.client.widget.grid.EditorGrid<M>
com.sibvisions.rad.ui.gwt.client.widget.grid.GVxGrid<M>
M - the ModelData implementationpublic class GVxGrid<M extends TableRow>
The GVxGrid is a EditorGrid which interacts with a remote service to retrieve data and
column configuration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.grid.EditorGrid |
|---|
EditorGrid.ClicksToEdit |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.extjs.gxt.ui.client.widget.grid.Grid |
|---|
cm, editSupport, sm, store, stringProvider, view, viewReady |
| Fields inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
adjustSize, cacheSizes, ensureVisibilityOnSizing, height, lastSize, layer, shim, width |
| Fields inherited from class com.extjs.gxt.ui.client.widget.Component |
|---|
afterRender, attachables, baseStyle, disabled, disabledStyle, disableTextSelection, dummy, focusable, hidden, maskMessage, maskMessageStyleName, monitorWindowResize, rendered, resizeHandler, setElementRender, stateId, swallowEvents, toolTip, windowResizeDelay, windowResizeTask |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
GVxGrid()
Creates a new instance of GVxGrid with default settings. |
|
| Method Summary | |
|---|---|
void |
cancel()
Rejects all changes. |
void |
delete()
Deletes the current selection. |
EditorSupport<M> |
getEditSupport()
|
List<ColumnMetaData> |
getMetaData()
Gets the column meta data for this grid. |
void |
insert()
Forces the current data operation to finish and starts inserting after the operation is finished. |
boolean |
isLoaded()
Returns whether this grid is loaded with data. |
boolean |
isReadOnly()
Gets whether the grid is read only. |
boolean |
isSendRowChanged()
Gets whether the row changed event will be sent to the server. |
El |
mask(String pMessage,
String pMessageStyleName)
|
void |
onAfterRenderView()
|
void |
onRender(Element pParent,
int pIndex)
|
void |
reconfigure(ListStore<M> pStore,
ColumnModel pModel)
|
void |
reload(int pRow,
boolean pReloadData)
Reloads table data. |
void |
setAutoResize(boolean pAutoResize)
Sets the table columns to automatic resize. |
void |
setMetaData(List<ColumnMetaData> pColumns)
Sets the column meta data for this grid. |
void |
setReadOnly(boolean pReadOnly)
Sets the grid read only. |
void |
setSendRowChanged(boolean pSend)
Sets whether to send row changed events to the server. |
void |
startEditing(int pRow,
int pColumn)
|
void |
unmask()
|
| Methods inherited from class com.extjs.gxt.ui.client.widget.grid.EditorGrid |
|---|
getActiveEditor, getClicksToEdit, isEditing, onDoubleClick, setClicksToEdit, stopEditing, stopEditing |
| Methods inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
adjustPosition, adjustSize, getBounds, getHeight, getHeight, getPosition, getPositionEl, getResizeEl, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, hideShadow, hideShim, hideUnders, isAutoHeight, isAutoWidth, isDeferHeight, isShim, onHide, onPosition, onShow, onUnload, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShadowOffset, setShadowPosition, setShim, setSize, setSize, setWidth, setWidth, sync, syncSize |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, setLayoutData |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, setElement, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GVxGrid()
GVxGrid with default settings.
| Method Detail |
|---|
public void onRender(Element pParent,
int pIndex)
onRender in class EditorGrid<M extends TableRow>public void onAfterRenderView()
onAfterRenderView in class Grid<M extends TableRow>
public void reconfigure(ListStore<M> pStore,
ColumnModel pModel)
reconfigure in class EditorGrid<M extends TableRow>public EditorSupport<M> getEditSupport()
getEditSupport in class Grid<M extends TableRow>
public void startEditing(int pRow,
int pColumn)
startEditing in class EditorGrid<M extends TableRow>
public El mask(String pMessage,
String pMessageStyleName)
mask in class Componentpublic void unmask()
unmask in class Componentpublic void setMetaData(List<ColumnMetaData> pColumns)
pColumns - the column meta datapublic List<ColumnMetaData> getMetaData()
public void insert()
public void cancel()
public void delete()
public void setAutoResize(boolean pAutoResize)
pAutoResize - true to enable auto resize, false otherwise
public void reload(int pRow,
boolean pReloadData)
pRow - the row to reload or -1 to reload the whole table.pReloadData - true to reload the data on server before sending it to the clientpublic void setReadOnly(boolean pReadOnly)
pReadOnly - true for read only, false otherwisepublic boolean isReadOnly()
true for read only, false otherwisepublic void setSendRowChanged(boolean pSend)
pSend - true to send the event to the server, false to ignore the eventpublic boolean isSendRowChanged()
true if the event will be sent, false otherwisepublic boolean isLoaded()
true if the grid is loaded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||