Class symantec.itools.db.beans.sqleditor.ResultChangeSupport
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.db.beans.sqleditor.ResultChangeSupport
Object
|
+----symantec.itools.db.beans.sqleditor.ResultChangeSupport
- public class ResultChangeSupport
- extends Object
-
symantec.itools.db.beans.sqleditor.ResultChangeSupport(Object)
-
-
addResultChangeListener(ResultChangeListener)
- Add a PropertyChangeListener to the listener list.
-
fireResultChange(JPanel, int, int)
- Report a result from a query changed.
-
removeResultChangeListener(ResultChangeListener)
- Remove a ResultChangeListener from the listener list.
ResultChangeSupport
public ResultChangeSupport(Object sourceBean)
-
- Parameters:
- sourceBean - The bean to be given as the source for any events.
addResultChangeListener
public synchronized void addResultChangeListener(ResultChangeListener listener)
- Add a PropertyChangeListener to the listener list.
- Parameters:
- listener - The PropertyChangeListener to be added
fireResultChange
public void fireResultChange(JPanel panel,
int type,
int command)
- Report a result from a query changed.
- Parameters:
- panel - The new JPanel
- type - The type of the new result - regular result or error
- command - The command to the listeners
removeResultChangeListener
public synchronized void removeResultChangeListener(ResultChangeListener listener)
- Remove a ResultChangeListener from the listener list.
- Parameters:
- listener - The ResultChangeListener to be removed
All Packages Class Hierarchy This Package Previous Next Index