csheets.ext.test.ui
Class TestUIExtension

java.lang.Object
  extended by csheets.ui.ext.UIExtension
      extended by csheets.ext.test.ui.TestUIExtension

public class TestUIExtension
extends UIExtension

The user interface extension for tests.

Author:
Einar Pehrson

Field Summary
 
Fields inherited from class csheets.ui.ext.UIExtension
extension, props, uiController
 
Constructor Summary
TestUIExtension(TestExtension extension, UIController uiController)
          Creates a new user interface extension for tests.
 
Method Summary
 CellDecorator getCellDecorator()
          Returns a cell decorator that visualizes test cases for cells.
 Icon getIcon()
          Returns an icon to display with the extension's name.
 JComponent getSideBar()
          Returns a side bar that provides editing of test cases and test case parameters.
 JToolBar getToolBar()
          Returns a toolbar that visualizes cell and spreadsheet testedness.
 
Methods inherited from class csheets.ui.ext.UIExtension
getEnabledProperty, getExtension, getMenu, getTableDecorator, setEnabledProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUIExtension

public TestUIExtension(TestExtension extension,
                       UIController uiController)
Creates a new user interface extension for tests.

Parameters:
extension - the extension for which components are provided
uiController - the user interface controller
Method Detail

getIcon

public Icon getIcon()
Returns an icon to display with the extension's name.

Overrides:
getIcon in class UIExtension
Returns:
an icon with a testing pad

getCellDecorator

public CellDecorator getCellDecorator()
Returns a cell decorator that visualizes test cases for cells.

Overrides:
getCellDecorator in class UIExtension
Returns:
decorator for testable cells

getToolBar

public JToolBar getToolBar()
Returns a toolbar that visualizes cell and spreadsheet testedness.

Overrides:
getToolBar in class UIExtension
Returns:
a JToolBar component

getSideBar

public JComponent getSideBar()
Returns a side bar that provides editing of test cases and test case parameters.

Overrides:
getSideBar in class UIExtension
Returns:
a side bar