FileDocCategorySizeDatePackage
AnswerEvent.javaAPI DocExample1086Sat Jan 24 10:44:38 GMT 2004je3.beans

AnswerEvent

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 intgetID()

 return id;