junit.swingui
Class TestSelector.TestCellRenderer

DefaultListCellRenderer
   |
   +--junit.swingui.TestSelector.TestCellRenderer
Enclosing Class:
TestSelector

static class TestSelector.TestCellRenderer
extends DefaultListCellRenderer

Field Summary
fLeafIcon
          
fSuiteIcon
          
Constructor Summary
TestCellRenderer()
           
 
Method Summary
public static StringdisplayString(String className)
          
public ComponentgetListCellRendererComponent(JList list, Object value, int modelIndex, boolean isSelected, boolean cellHasFocus)
          
public static booleanmatchesKey(String s, char ch)
          
private static inttypeIndex(String s)
          
Field Detail

fLeafIcon

Icon fLeafIcon
References to the field:
junit/swingui/TestSelector.java 31
junit/swingui/TestSelector.java 44

fSuiteIcon

Icon fSuiteIcon
References to the field:
junit/swingui/TestSelector.java 32
junit/swingui/TestSelector.java 42
Constructor Detail

TestCellRenderer

public  TestCellRenderer()
Call sites to the constructor:
junit/swingui/TestSelector.java 100
Method Detail

displayString

public static String displayString(String className)
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestSelector.java 39
junit/swingui/TestSelector.java 226

Locals in the method:
className Line 51, Line 53, Line 54, Line 54
typeIndex Line 52, Line 54, Line 54

getListCellRendererComponent

public Component getListCellRendererComponent(JList list, Object value, int modelIndex, boolean isSelected, boolean cellHasFocus)

Locals in the method:
cellHasFocus Line 38
displayString Line 41, Line 46
list Line 38
isSelected Line 38
modelIndex Line 38
value Line 38, Line 39
c Line 47

matchesKey

public static boolean matchesKey(String s, char ch)

Locals in the method:
s Line 58, Line 58
ch Line 58

typeIndex

private static int typeIndex(String s)
Click to Locals in the Method
Call sites to the method:
junit/swingui/TestSelector.java 58

Locals in the method:
i Line 65, Line 66
s Line 62
typeIndex Line 64, Line 65