yu.ac.bg.etf.javaqx.qswing.events
Class TableModelEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byyu.ac.bg.etf.javaqx.qswing.events.TableModelEvent
All Implemented Interfaces:
java.io.Serializable

public class TableModelEvent
extends java.util.EventObject

Table Model Event.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)
See Also:
Serialized Form

Field Summary
static int ALL_COLUMNS
          All columns.
protected  int column
           
static int DELETE
          Delete event type.
protected  int firstRow
           
static int HEADER_ROW
          Header row.
static int INSERT
          Insert event type.
protected  int lastRow
           
protected  int type
           
static int UPDATE
          Update event type.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TableModelEvent(TableModel source)
          Constructs new TableModelEvent object.
TableModelEvent(TableModel source, int row)
          Constructs new TableModelEvent object.
TableModelEvent(TableModel source, int firstRow, int lastRow)
          Constructs new TableModelEvent object.
TableModelEvent(TableModel source, int firstRow, int lastRow, int column)
          Constructs new TableModelEvent object.
TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type)
          Constructs new TableModelEvent object.
 
Method Summary
 int getColumn()
          Returns column.
 int getFirstRow()
          Returns first row.
 int getLastRow()
          Returns last row.
 int getType()
          Returns type.
 
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

ALL_COLUMNS

public static final int ALL_COLUMNS
All columns.

See Also:
Constant Field Values

HEADER_ROW

public static final int HEADER_ROW
Header row.

See Also:
Constant Field Values

DELETE

public static final int DELETE
Delete event type.

See Also:
Constant Field Values

UPDATE

public static final int UPDATE
Update event type.

See Also:
Constant Field Values

INSERT

public static final int INSERT
Insert event type.

See Also:
Constant Field Values

type

protected int type

column

protected int column

firstRow

protected int firstRow

lastRow

protected int lastRow
Constructor Detail

TableModelEvent

public TableModelEvent(TableModel source,
                       int firstRow,
                       int lastRow,
                       int column,
                       int type)
Constructs new TableModelEvent object.

Parameters:
source - the source
firstRow - the first row
lastRow - the last row
column - the column.
type - the type

TableModelEvent

public TableModelEvent(TableModel source,
                       int firstRow,
                       int lastRow,
                       int column)
Constructs new TableModelEvent object.

Parameters:
source - the source
firstRow - the first row
lastRow - the last row
column - the column.

TableModelEvent

public TableModelEvent(TableModel source,
                       int firstRow,
                       int lastRow)
Constructs new TableModelEvent object.

Parameters:
source - the source
firstRow - the first row
lastRow - the last row

TableModelEvent

public TableModelEvent(TableModel source,
                       int row)
Constructs new TableModelEvent object.

Parameters:
source - the source
row - the row

TableModelEvent

public TableModelEvent(TableModel source)
Constructs new TableModelEvent object.

Parameters:
source - the source
Method Detail

getColumn

public int getColumn()
Returns column.

Returns:
column

getFirstRow

public int getFirstRow()
Returns first row.

Returns:
first row

getLastRow

public int getLastRow()
Returns last row.

Returns:
last row

getType

public int getType()
Returns type.

Returns:
type.


Copyright © 2007 ETF and contributors. All Rights Reserved.