Class symantec.itools.db.beans.sqleditor.ResultChangeEvent
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.db.beans.sqleditor.ResultChangeEvent
Object
|
+----EventObject
|
+----symantec.itools.db.beans.sqleditor.ResultChangeEvent
- public class ResultChangeEvent
- extends EventObject
This event will be used for communication between the QueryPanel
and the SQLEditor
- Version:
- 1.0 06/15/97
- Author:
- Hristo Tonev
-
COMMAND_ADD
- A command to the listeners to add the result
-
COMMAND_REMOVE
- A command to the listeners to remove the result
-
COMMAND_REMOVE_ALL
- A command to the listeners to remove all old results
-
COMMAND_SHOW_RESULTS
- A command to the listeners to repaint itself
-
TYPE_EXCEPTION
- Exception during the statement execution
-
TYPE_RESULT
- A regular results
-
symantec.itools.db.beans.sqleditor.ResultChangeEvent(Object, JPanel, int, int)
-
-
getCommand()
-
-
getPanel()
-
-
getType()
-
COMMAND_ADD
public static final int COMMAND_ADD
- A command to the listeners to add the result
COMMAND_REMOVE
public static final int COMMAND_REMOVE
- A command to the listeners to remove the result
COMMAND_REMOVE_ALL
public static final int COMMAND_REMOVE_ALL
- A command to the listeners to remove all old results
COMMAND_SHOW_RESULTS
public static final int COMMAND_SHOW_RESULTS
- A command to the listeners to repaint itself
TYPE_EXCEPTION
public static final int TYPE_EXCEPTION
- Exception during the statement execution
TYPE_RESULT
public static final int TYPE_RESULT
- A regular results
ResultChangeEvent
public ResultChangeEvent(Object source,
JPanel panel,
int type,
int command)
-
- Parameters:
- source - The bean that fired the event.
- panel - The new JPanels
- type - The type of the new result - regular result or error
- command - The command to the listeners
getCommand
public int getCommand()
getPanel
public com.sun.java.swing.JPanel getPanel()
getType
public int getType()
All Packages Class Hierarchy This Package Previous Next Index