|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.jidesoft.grid.SpanModelEvent
public class SpanModelEvent
Field Summary | |
---|---|
protected CellSpan |
_cellSpan
|
protected int |
_type
|
static int |
ADD
Identifies the addition of a new span. |
static int |
REMOVE
Identifies the removal of a span. |
static int |
UPDATE
Identifies the update of a span. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SpanModelEvent(SpanModel source)
All spans in the table has changed, listeners should discard any state that was based on the cell span and re-query the SpanModel to get the new cell span and repaint the whole table. |
|
SpanModelEvent(SpanModel source,
CellSpan cellSpan,
int type)
|
Method Summary | |
---|---|
CellSpan |
getCellSpan()
Gets the cell span. |
int |
getType()
Returns the type of event - one of: INSERT, UPDATE and DELETE. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ADD
public static final int REMOVE
public static final int UPDATE
protected int _type
protected CellSpan _cellSpan
Constructor Detail |
---|
public SpanModelEvent(SpanModel source)
SpanModel
to get the new cell span and repaint the whole table. The JTable
will repaint the entire visible region on receiving this event, querying the model for the cell spans that are
visible. The structure of the table, i.e., the column names, types and order have not changed.
source
- the sourcepublic SpanModelEvent(SpanModel source, CellSpan cellSpan, int type)
Method Detail |
---|
public CellSpan getCellSpan()
public int getType()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |