|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.controllers.ActionControl
public abstract class ActionControl
Abstract class to process events by the application controller. Component application controllers inherit properties of this class and process events, which belong to them.
Field Summary | |
---|---|
protected java.util.EventObject |
event
|
Constructor Summary | |
---|---|
ActionControl()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
A method, which is called, if some event happens |
void |
invokeMethod(java.lang.String action)
Calls a method, which name is given as a parameter |
void |
itemStateChanged(java.awt.event.ItemEvent evt)
A method, which is called, if some checkbox is changed |
void |
stateChanged(javax.swing.event.ChangeEvent evt)
A method, which is called, if a value of some spinner is changed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.EventObject event
Constructor Detail |
---|
public ActionControl()
Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
evt
- object of the eventpublic void itemStateChanged(java.awt.event.ItemEvent evt)
itemStateChanged
in interface java.awt.event.ItemListener
evt
- object of the eventpublic void stateChanged(javax.swing.event.ChangeEvent evt)
stateChanged
in interface javax.swing.event.ChangeListener
evt
- object of the eventpublic void invokeMethod(java.lang.String action)
action
- name of the method
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |