|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
tico.board.events.ProjectChangeEvent
public class ProjectChangeEvent
A semantic event which indicates that a change on a project occured. This
event is generated by a TProject
when the change occurs.
The event is passed to every every ProjectChangeListener
object
that registered to receive such events using the component's
addProjectChangeListener
method.
The object that implements the ProjectChangeListener
interface gets
this ProjectChangeEvent
when the event occurs.
Field Summary | |
---|---|
static int |
BOARD_ADDED
A board has been added. |
static int |
BOARD_MODIFIED
A board has been modified. |
static int |
BOARD_REMOVED
A board has been removed. |
static int |
INITIAL_BOARD_CHANGED
Change in the TProject initial board. |
static int |
NAME_CHANGED
Change in the TProject name. |
Constructor Summary | |
---|---|
ProjectChangeEvent(java.lang.Object source,
TBoard changedBoard,
int change)
Constructs an ProjectChangeEvent object. |
Method Summary | |
---|---|
int |
getChange()
Returns the change. |
TBoard |
getChangedBoard()
Returns the changed board. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int BOARD_MODIFIED
public static int BOARD_ADDED
public static int BOARD_REMOVED
public static int NAME_CHANGED
TProject
name. This implies that no
TBoard
suffers a change, so the changeBoard
will be null.
public static int INITIAL_BOARD_CHANGED
TProject
initial board. This implies that no
TBoard
suffers a change, so the changeBoard
will be null.
Constructor Detail |
---|
public ProjectChangeEvent(java.lang.Object source, TBoard changedBoard, int change)
ProjectChangeEvent
object.
source
- The object that originated the eventchangedBoard
- The board
received the changechange
- The change
. This value must be NAME_CHANGED,
BOARD_REMOVED, BOARD_ADDED or BOARD_MODIFIEDMethod Detail |
---|
public TBoard getChangedBoard()
public int getChange()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |