Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

QueryPanel Class Reference

Inheritance diagram for QueryPanel:
[legend]
Collaboration diagram for QueryPanel:
[legend]
List of all members.

Public Methods

 QueryPanel ()
 QueryPanel (java.awt.LayoutManager layout)
 QueryPanel (java.awt.LayoutManager layout, boolean isDoubleBuffered)
 QueryPanel (boolean isDoubleBuffered)
void actionPerformed (java.awt.event.ActionEvent e)
javax swing JComboBox getQueryKindComboBox ()
void mouseClicked (java.awt.event.MouseEvent e)
void mouseEntered (java.awt.event.MouseEvent e)
void mouseExited (java.awt.event.MouseEvent e)
void mousePressed (java.awt.event.MouseEvent e)
void mouseReleased (java.awt.event.MouseEvent e)
void queryKindComboBox_ActionEvents ()
void queryResultTree_MouseClicked (java.awt.event.MouseEvent mouseEvent)
void queryResultTree_TreeSelectionEvents ()
void valueChanged (javax.swing.event.TreeSelectionEvent e)

Static Public Methods

void main (java.lang.String[] args)

Private Methods

void connEtoC1 ()
void connEtoC2 ()
void connEtoC3 (java.awt.event.MouseEvent arg1)
DefaultMutableTreeNode cuttingTreeWRT (DefaultMutableTreeNode root, SliceTraceNode sliceTraceNode)
DefaultMutableTreeNode getBackwardSliceTraceFrom (SliceTraceNode stn)
DefaultMutableTreeNode getDependencyPathTreeStartFrom (Object startingNode)
DefaultMutableTreeNode getForwardSliceTraceFrom (SliceTraceNode stn)
DefaultMutableTreeNode getIfDependencyPathTree ()
DefaultMutableTreeNode getIfDependencyPathTreeForNode (Object startingNode)
javax swing JLabel getQueryKindLabel ()
javax swing JScrollPane getQueryResultScrollPane ()
javax swing JTree getQueryResultTree ()
void handleException (java.lang.Throwable exception)
void initConnections () throws java.lang.Exception
void initialize ()
void setDependFrame (Dependencies df)
boolean sliceTraceContains (DefaultMutableTreeNode root, SliceTraceNode sliceTraceNode)
boolean traceRootIs (DefaultMutableTreeNode root, SliceTraceNode stn)

Static Private Methods

void getBuilderData ()

Private Attributes

boolean setQueryIndexByProgram = false
Dependencies dependFrame = null
DefaultMutableTreeNode currentQueryResultTreeRoot = null
String queries [] = {"none", "Slice trace from current stmt", "All conditionals in the slice", "All conditionals influence current node"}
JComboBox ivjQueryKindComboBox = null
JLabel ivjQueryKindLabel = null
JScrollPane ivjQueryResultScrollPane = null
JTree ivjQueryResultTree = null

Static Private Attributes

final int NO_QUERY = 0
final int SLICE_TRACE = 1
final int ALL_CONDITIONALS = 2
final int CONDITIONALS_TO_CURRENT_STMT = 3

Detailed Description

Insert the type's description here. Creation date: (00-12-1 15:47:32) @author:

Definition at line 21 of file QueryPanel.java.


Constructor & Destructor Documentation

QueryPanel::QueryPanel   [inline]
 

QueryPanel constructor comment.

Definition at line 37 of file QueryPanel.java.

QueryPanel::QueryPanel java.awt.LayoutManager   layout [inline]
 

QueryPanel constructor comment.

Parameters:
layout   java.awt.LayoutManager

Definition at line 45 of file QueryPanel.java.

QueryPanel::QueryPanel java.awt.LayoutManager   layout,
boolean   isDoubleBuffered
[inline]
 

QueryPanel constructor comment.

Parameters:
layout   java.awt.LayoutManager
isDoubleBuffered   boolean

Definition at line 53 of file QueryPanel.java.

QueryPanel::QueryPanel boolean   isDoubleBuffered [inline]
 

QueryPanel constructor comment.

Parameters:
isDoubleBuffered   boolean

Definition at line 60 of file QueryPanel.java.


Member Function Documentation

void QueryPanel::actionPerformed java.awt.event.ActionEvent   e [inline]
 

Method to handle events for the ActionListener interface.

Parameters:
e   java.awt.event.ActionEvent

Definition at line 68 of file QueryPanel.java.

void QueryPanel::connEtoC1   [inline, private]
 

connEtoC1: (QueryKindComboBox.action. --> QueryPanel.queryKindComboBox_ActionEvents()V)

Definition at line 80 of file QueryPanel.java.

void QueryPanel::connEtoC2   [inline, private]
 

connEtoC2: (QueryResultTree.treeSelection. --> QueryPanel.queryResultTree_TreeSelectionEvents()V)

Definition at line 98 of file QueryPanel.java.

void QueryPanel::connEtoC3 java.awt.event.MouseEvent   arg1 [inline, private]
 

connEtoC3: (QueryResultTree.mouse.mouseClicked(java.awt.event.MouseEvent) --> QueryPanel.queryResultTree_MouseClicked(Ljava.awt.event.MouseEvent;)V)

Parameters:
arg1   java.awt.event.MouseEvent

Definition at line 116 of file QueryPanel.java.

DefaultMutableTreeNode QueryPanel::cuttingTreeWRT DefaultMutableTreeNode   root,
SliceTraceNode   sliceTraceNode
[inline, private]
 

Insert the method's description here. Creation date: (00-7-12 22:06:25)

Returns:
javax.swing.tree.DefaultMutableTreeNode
Parameters:
root   javax.swing.tree.DefaultMutableTreeNode
sliceTraceNode   edu.ksu.cis.bandera.pdgslicer.SliceTraceNode

Definition at line 136 of file QueryPanel.java.

javax swing JComboBox QueryPanel::getQueryKindComboBox   [inline]
 

Return the QueryKindComboBox property value.

Returns:
javax.swing.JComboBox

Definition at line 350 of file QueryPanel.java.

javax swing JLabel QueryPanel::getQueryKindLabel   [inline, private]
 

Return the QueryKindLabel property value.

Returns:
javax.swing.JLabel

Definition at line 372 of file QueryPanel.java.

javax swing JScrollPane QueryPanel::getQueryResultScrollPane   [inline, private]
 

Return the QueryResultScrollPane property value.

Returns:
javax.swing.JScrollPane

Definition at line 394 of file QueryPanel.java.

javax swing JTree QueryPanel::getQueryResultTree   [inline, private]
 

Return the QueryResultTree property value.

Returns:
javax.swing.JTree

Definition at line 415 of file QueryPanel.java.

void QueryPanel::handleException java.lang.Throwable   exception [inline, private]
 

Called whenever the part throws an exception.

Parameters:
exception   java.lang.Throwable

Definition at line 461 of file QueryPanel.java.

void QueryPanel::initConnections   [inline, private]
 

Initializes connections

Exceptions:
java   .lang.Exception The exception description.

Definition at line 472 of file QueryPanel.java.

void QueryPanel::initialize   [inline, private]
 

Initialize the class.

Definition at line 483 of file QueryPanel.java.

void QueryPanel::main java.lang.String   args[] [inline, static]
 

main entrypoint - starts the part when it is run as an application

Parameters:
args   java.lang.String[]

Definition at line 522 of file QueryPanel.java.

void QueryPanel::mouseClicked java.awt.event.MouseEvent   e [inline]
 

Method to handle events for the MouseListener interface.

Parameters:
e   java.awt.event.MouseEvent

Definition at line 545 of file QueryPanel.java.

void QueryPanel::mouseEntered java.awt.event.MouseEvent   e [inline]
 

Method to handle events for the MouseListener interface.

Parameters:
e   java.awt.event.MouseEvent

Definition at line 558 of file QueryPanel.java.

void QueryPanel::mouseExited java.awt.event.MouseEvent   e [inline]
 

Method to handle events for the MouseListener interface.

Parameters:
e   java.awt.event.MouseEvent

Definition at line 569 of file QueryPanel.java.

void QueryPanel::mousePressed java.awt.event.MouseEvent   e [inline]
 

Method to handle events for the MouseListener interface.

Parameters:
e   java.awt.event.MouseEvent

Definition at line 580 of file QueryPanel.java.

void QueryPanel::mouseReleased java.awt.event.MouseEvent   e [inline]
 

Method to handle events for the MouseListener interface.

Parameters:
e   java.awt.event.MouseEvent

Definition at line 591 of file QueryPanel.java.

void QueryPanel::queryKindComboBox_ActionEvents   [inline]
 

Comment

Definition at line 600 of file QueryPanel.java.

void QueryPanel::queryResultTree_MouseClicked java.awt.event.MouseEvent   mouseEvent [inline]
 

Comment

Definition at line 635 of file QueryPanel.java.

void QueryPanel::queryResultTree_TreeSelectionEvents   [inline]
 

Comment

Definition at line 660 of file QueryPanel.java.

void QueryPanel::setDependFrame Dependencies   df [inline, private]
 

Insert the method's description here. Creation date: (00-12-1 16:21:27)

Parameters:
df   edu.ksu.cis.bandera.pdgslicer.dependency.Dependencies

Definition at line 680 of file QueryPanel.java.

boolean QueryPanel::sliceTraceContains DefaultMutableTreeNode   root,
SliceTraceNode   sliceTraceNode
[inline, private]
 

Insert the method's description here. Creation date: (00-7-12 21:23:54)

Returns:
boolean
Parameters:
sliceTraceNode   edu.ksu.cis.bandera.pdgslicer.SliceTraceNode

Definition at line 689 of file QueryPanel.java.

boolean QueryPanel::traceRootIs DefaultMutableTreeNode   root,
SliceTraceNode   stn
[inline, private]
 

Insert the method's description here. Creation date: (00-7-12 23:13:14)

Returns:
boolean
Parameters:
root   javax.swing.tree.DefaultMutableTreeNode
stn   edu.ksu.cis.bandera.pdgslicer.SliceTraceNode

Definition at line 705 of file QueryPanel.java.

void QueryPanel::valueChanged javax.swing.event.TreeSelectionEvent   e [inline]
 

Method to handle events for the TreeSelectionListener interface.

Parameters:
e   javax.swing.event.TreeSelectionEvent

Definition at line 717 of file QueryPanel.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:21:00 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001