|
|||||||||
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.ColumnModelEvent
public class ColumnModelEvent
ColumnModel event.
ColumnModel
Constructor Summary | |
---|---|
ColumnModelEvent(ColumnModel cm)
Creates a new column model event. |
|
ColumnModelEvent(ColumnModel cm,
int colIndex)
Creates a new column model event. |
Method Summary | |
---|---|
int |
getColIndex()
Returns the column's index. |
ColumnModel |
getColumnModel()
Returns the source column model. |
java.lang.String |
getHeader()
Returns the column's header text. |
int |
getWidth()
Returns the column width. |
boolean |
isHidden()
Returns true if the column is hidden. |
void |
setColIndex(int colIndex)
Sets the column's index. |
void |
setHeader(java.lang.String header)
Sets the column header text. |
void |
setHidden(boolean hidden)
Sets the column's hidden state. |
void |
setWidth(int width)
|
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 |
Constructor Detail |
---|
public ColumnModelEvent(ColumnModel cm)
cm
- the column model eventpublic ColumnModelEvent(ColumnModel cm, int colIndex)
cm
- the source column modelcolIndex
- the column indexMethod Detail |
---|
public int getColIndex()
public ColumnModel getColumnModel()
public java.lang.String getHeader()
public int getWidth()
public boolean isHidden()
public void setColIndex(int colIndex)
colIndex
- the column indexpublic void setHeader(java.lang.String header)
header
- the header textpublic void setHidden(boolean hidden)
hidden
- true if hiddenpublic void setWidth(int width)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |