Event classes and listener interfaces

Event Classes
Event Classes

Commonly used Methods:
1.Button:Public void addActionListener(ActionListener a){}
2.MenuItem:Public void addActionListener(ActionListener a){}
3.Text Field:Public void addTextListener(TextListener a){}
4.Text Area:Public void addTextListener(TextListener a){}
5.Check box:Public void addItemListener(ItemListener a){}
6.choice:Public void addItemListener(ItemListener a){}
7.List:Public void addActionListener(ActionListener a){}

Translate »