|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.sciapp.table.locked.LockedTableModelEvent
public class LockedTableModelEvent
An event used to notify listeners that a locked table model has changed, such as a locked row/column was added/removed from the table.
| Field Summary | |
|---|---|
protected int |
amount
The number of locked rows/columns at the specified direction. |
protected int |
direction
The direction - one of LockedTableModel's directions: TOP, BOTTOM, LEFT or RIGHT. |
protected int |
previousAmount
The previous number of locked rows/columns at the specified direction. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
LockedTableModelEvent(LockedTableModel source,
int direction,
int amount)
Constructs a LockedTableModelEvent. |
|
LockedTableModelEvent(LockedTableModel source,
int direction,
int amount,
int previousAmount)
Constructs a LockedTableModelEvent. |
|
| Method Summary | |
|---|---|
int |
getAmount()
Returns the number of locked rows/columns at the specified direction. |
int |
getDirection()
Returns the side that the locked row or column belongs to. |
int |
getPreviousAmount()
Returns the previous number of locked rows/columns at the specified direction. |
| 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 |
|---|
protected int direction
protected int amount
protected int previousAmount
| Constructor Detail |
|---|
public LockedTableModelEvent(LockedTableModel source,
int direction,
int amount)
public LockedTableModelEvent(LockedTableModel source,
int direction,
int amount,
int previousAmount)
| Method Detail |
|---|
public int getAmount()
public int getDirection()
public int getPreviousAmount()
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||