|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseEvent
com.extjs.gxt.ui.client.event.DomEvent
com.extjs.gxt.ui.client.event.ComponentEvent
com.extjs.gxt.ui.client.event.BoxComponentEvent
com.extjs.gxt.ui.client.event.GridEvent<M>
public class GridEvent<M extends ModelData>
Grid event type.
Grid
Field Summary | |
---|---|
protected M |
model
|
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent |
---|
event |
Constructor Summary | |
---|---|
GridEvent(Grid<M> grid)
|
|
GridEvent(Grid<M> grid,
com.google.gwt.user.client.Event event)
|
Method Summary | |
---|---|
int |
getColIndex()
Returns the column index. |
Grid<M> |
getGrid()
Returns the source grid. |
Menu |
getMenu()
Returns the menu. |
M |
getModel()
Returns the model. |
java.lang.String |
getProperty()
Returns the property name. |
Record |
getRecord()
Returns the record. |
int |
getRowIndex()
Returns the row index. |
int |
getScrollLeft()
Returns the scroll left value. |
int |
getScrollTop()
Returns the scroll top value. |
SortInfo |
getSortInfo()
Returns the sort info. |
java.lang.Object |
getStartValue()
Returns the start value. |
java.lang.Object |
getValue()
Returns the value. |
int |
getWidth()
Returns the width. |
void |
setColIndex(int colIndex)
Sets the column index. |
void |
setGrid(Grid<M> grid)
Sets the source grid. |
void |
setMenu(Menu menu)
Sets the menu. |
void |
setModel(M model)
Sets the model. |
void |
setProperty(java.lang.String property)
Sets the property name. |
void |
setRecord(Record record)
Sets the record. |
void |
setRowIndex(int rowIndex)
Sets the row index. |
void |
setScrollLeft(int scrollLeft)
Sets the scroll left value. |
void |
setScrollTop(int scrollTop)
Sets the scroll top value. |
void |
setSortInfo(SortInfo sortInfo)
Sets the sort info. |
void |
setStartValue(java.lang.Object startValue)
Sets the start value. |
void |
setValue(java.lang.Object value)
Sets the value. |
void |
setWidth(int width)
Sets the width. |
Methods inherited from class com.extjs.gxt.ui.client.event.BoxComponentEvent |
---|
getBoxComponent, getHeight, getSize, getX, getY, setBoxComponent, setHeight, setSize, setX, setY |
Methods inherited from class com.extjs.gxt.ui.client.event.ComponentEvent |
---|
getComponent, getState, setComponent, setState |
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent |
---|
cancelBubble, getClientX, getClientY, getEvent, getEventTypeInt, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, setEvent, stopEvent, within, within |
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent |
---|
getSource, getType, isCancelled, setCancelled, setSource, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected M extends ModelData model
Constructor Detail |
---|
public GridEvent(Grid<M> grid)
public GridEvent(Grid<M> grid, com.google.gwt.user.client.Event event)
Method Detail |
---|
public int getColIndex()
public Grid<M> getGrid()
public Menu getMenu()
public M getModel()
public java.lang.String getProperty()
public Record getRecord()
public int getRowIndex()
public int getScrollLeft()
public int getScrollTop()
public SortInfo getSortInfo()
public java.lang.Object getStartValue()
public java.lang.Object getValue()
public int getWidth()
getWidth
in class BoxComponentEvent
public void setColIndex(int colIndex)
colIndex
- the column indexpublic void setGrid(Grid<M> grid)
grid
- the source gridpublic void setMenu(Menu menu)
menu
- the menupublic void setModel(M model)
model
- the modelpublic void setProperty(java.lang.String property)
property
- the property namepublic void setRecord(Record record)
record
- the recordpublic void setRowIndex(int rowIndex)
rowIndex
- the row indexpublic void setScrollLeft(int scrollLeft)
scrollLeft
- the scroll left valuepublic void setScrollTop(int scrollTop)
scrollTop
- the scroll top valuepublic void setSortInfo(SortInfo sortInfo)
sortInfo
- the sort infopublic void setStartValue(java.lang.Object startValue)
startValue
- the start valuepublic void setValue(java.lang.Object value)
value
- the valuepublic void setWidth(int width)
setWidth
in class BoxComponentEvent
width
- the width
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |