|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.ext.assertion.ui.AssertionController
public class AssertionController
A controller for updating the user-specified assertion of a cell.
| Constructor Summary | |
|---|---|
AssertionController(UIController uiController)
Creates a new assertion controller. |
|
| Method Summary | |
|---|---|
static Color |
getAssertionResultColor(Assertion.Result result)
Assigns a color to the given assertion result. |
boolean |
setAssertion(AssertableCell cell,
String assertionString)
Attempts to create a new assertion from the given string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssertionController(UIController uiController)
uiController - the user interface controller| Method Detail |
|---|
public boolean setAssertion(AssertableCell cell,
String assertionString)
cell - the cell for which the assertion should be setassertionString - the assertion, as entered by the user
public static Color getAssertionResultColor(Assertion.Result result)
result - the assertion result for which a color is wanted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||