junit.swingui
Class TestSelector

JDialog
   |
   +--junit.swingui.TestSelector

class TestSelector
extends JDialog

Inner Class Summary
protected classTestSelector.DoubleClickListener
          
protected classTestSelector.KeySelectListener
          
private classTestSelector.ParallelSwapper
          
static classTestSelector.TestCellRenderer
          
Field Summary
private fCancel
          
private fDescription
          
private fList
          
private fOk
          
private fScrolledList
          
private fSelectedItem
          
Constructor Summary
TestSelector(Frame parent, TestCollector testCollector)
           
 
Method Summary
private voidaddListeners()
          
public voidcheckEnableOK(ListSelectionEvent e)
          
private VectorcreateTestList(TestCollector collector)
          
private voiddefineLayout()
          
public StringgetSelectedItem()
          
public booleanisEmpty()
          
public voidkeySelectTestClass(char ch)
          
public voidokSelected()
          
Field Detail

fCancel

private JButton fCancel
References to the field:
junit/swingui/TestSelector.java 103
junit/swingui/TestSelector.java 114
junit/swingui/TestSelector.java 184

fDescription

private JLabel fDescription
References to the field:
junit/swingui/TestSelector.java 104
junit/swingui/TestSelector.java 159

fList

private JList fList
References to the field:
junit/swingui/TestSelector.java 98
junit/swingui/TestSelector.java 99
junit/swingui/TestSelector.java 100
junit/swingui/TestSelector.java 101
junit/swingui/TestSelector.java 130
junit/swingui/TestSelector.java 131
junit/swingui/TestSelector.java 132
junit/swingui/TestSelector.java 188
junit/swingui/TestSelector.java 192
junit/swingui/TestSelector.java 197
junit/swingui/TestSelector.java 201
junit/swingui/TestSelector.java 207
junit/swingui/TestSelector.java 208

fOk

private JButton fOk
References to the field:
junit/swingui/TestSelector.java 105
junit/swingui/TestSelector.java 106
junit/swingui/TestSelector.java 107
junit/swingui/TestSelector.java 122
junit/swingui/TestSelector.java 176
junit/swingui/TestSelector.java 188

fScrolledList

private JScrollPane fScrolledList
References to the field:
junit/swingui/TestSelector.java 101
junit/swingui/TestSelector.java 169

fSelectedItem

private String fSelectedItem
References to the field:
junit/swingui/TestSelector.java 192
junit/swingui/TestSelector.java 216
Constructor Detail

TestSelector

public  TestSelector(Frame parent, TestCollector testCollector)
Locals in the constructor:
testCollector: Line 94
parent: Line 85, Line 88, Line 93, Line 96
list: Line 94, Line 98
Method Detail

addListeners

private void addListeners()
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestSelector.java 110

Locals in the method:
e
e
e Line 135
e

checkEnableOK

public void checkEnableOK(ListSelectionEvent e)
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestSelector.java 135

Locals in the method:
e

createTestList

private Vector createTestList(TestCollector collector)
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestSelector.java 94

Locals in the method:
collector Line 220
displayVector Line 226, Line 229, Line 229
each Line 223, Line 224
s Line 225, Line 226
v Line 222, Line 225, Line 228, Line 229, Line 230

defineLayout

private void defineLayout()
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestSelector.java 109

Locals in the method:
cancelConstraints Line 180, Line 180, Line 181, Line 181, Line 182, Line 183, Line 184
labelConstraints Line 152, Line 152, Line 153, Line 153, Line 154, Line 155, Line 156, Line 157, Line 158, Line 159
listConstraints Line 162, Line 162, Line 163, Line 163, Line 164, Line 165, Line 166, Line 167, Line 168, Line 169
okConstraints Line 172, Line 172, Line 173, Line 173, Line 174, Line 175, Line 176

getSelectedItem

public String getSelectedItem()
Call sites to the method:
junit/swingui/TestRunner.java 475

isEmpty

public boolean isEmpty()
Call sites to the method:
junit/swingui/TestRunner.java 470

keySelectTestClass

public void keySelectTestClass(char ch)

Locals in the method:
ch Line 202, Line 206
model Line 204, Line 205
i Line 204, Line 204, Line 205, Line 207, Line 208
s Line 206

okSelected

public void okSelected()
Call sites to the method:
junit/swingui/TestSelector.java 73
junit/swingui/TestSelector.java 125