File
Doc
Category
Size
Date
Package
AnswerEvent.java
API Doc
Example
1086
Sat Jan 24 10:44:38 GMT 2004
je3.beans
AnswerEvent
java.lang.Object
java.util.EventObject
public class AnswerEvent extends EventObject
The YesNoPanel class fires an event of this type when the user clicks one of its buttons. The id field specifies which button the user pressed.
Fields Summary
public static final int
YES
public static final int
NO
public static final int
CANCEL
protected int
id
Constructors Summary
public AnswerEvent
(
Object
source,
int
id)
// Which button was pressed? super(source); this.id = id;
Methods Summary
public
int
getID
()
return id;
Java Code Source