csheets.ext.assertion.ui
Class AssertionUIExtension

java.lang.Object
  extended by csheets.ui.ext.UIExtension
      extended by csheets.ext.assertion.ui.AssertionUIExtension

public class AssertionUIExtension
extends UIExtension

The user interface extension for assertions.

Author:
Einar Pehrson

Field Summary
 
Fields inherited from class csheets.ui.ext.UIExtension
extension, props, uiController
 
Constructor Summary
AssertionUIExtension(AssertionExtension extension, UIController uiController)
          Creates a new user interface extension for assertions.
 
Method Summary
 CellDecorator getCellDecorator()
          Returns a cell decorator that visualizes assertions on cells.
 Icon getIcon()
          Returns an icon to display with the extension's name.
 JComponent getSideBar()
          Returns a side bar that provides editing of assertions.
 JToolBar getToolBar()
          Returns a toolbar that visualizes assertions on cells.
 
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

AssertionUIExtension

public AssertionUIExtension(AssertionExtension extension,
                            UIController uiController)
Creates a new user interface extension for assertions.

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 an interval

getCellDecorator

public CellDecorator getCellDecorator()
Returns a cell decorator that visualizes assertions on cells.

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

getToolBar

public JToolBar getToolBar()
Returns a toolbar that visualizes assertions on cells.

Overrides:
getToolBar in class UIExtension
Returns:
a JToolBar component

getSideBar

public JComponent getSideBar()
Returns a side bar that provides editing of assertions.

Overrides:
getSideBar in class UIExtension
Returns:
a side bar