Package eu.simuline.testhelpers
Class GUIRunner.TestListCellRenderer
- java.lang.Object
-
- eu.simuline.testhelpers.GUIRunner.TestListCellRenderer
-
- All Implemented Interfaces:
Serializable,ListCellRenderer<TestCase>
- Enclosing class:
- GUIRunner
static class GUIRunner.TestListCellRenderer extends Object implements ListCellRenderer<TestCase>, Serializable
A special renderer object consisting of a label and a location within java code for an item in a failure list.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classGUIRunner.TestListCellRenderer.XLabelA special kind of label which fires only change in the text and which allows to set details: selection and focus.
-
Field Summary
Fields Modifier and Type Field Description private static StringBORDER_DESCprotected static BorderNO_FOCUS_BORDERprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description TestListCellRenderer()Constructs a special renderer object consisting of a label and a location within java code for an item in a failure list.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentgetListCellRendererComponent(JList<? extends TestCase> list, TestCase testCase, int index, boolean isSelected, boolean cellHasFocus)private StringthrwToString(Throwable thrw)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
BORDER_DESC
private static final String BORDER_DESC
- See Also:
- Constant Field Values
-
NO_FOCUS_BORDER
protected static final Border NO_FOCUS_BORDER
-
-
Method Detail
-
getListCellRendererComponent
public Component getListCellRendererComponent(JList<? extends TestCase> list, TestCase testCase, int index, boolean isSelected, boolean cellHasFocus)
- Specified by:
getListCellRendererComponentin interfaceListCellRenderer<TestCase>
-
-