public class TableScoresUI
extends java.lang.Object
Constructor and Description |
---|
TableScoresUI(java.lang.String table)
Instantiates a new table scores ui.
|
Modifier and Type | Method and Description |
---|---|
void |
buildUI(IContainer root,
IContentFactory contentFactory)
Builds the ui.
|
void |
setBracketUseCount(int count)
Sets the bracket use count.
|
void |
setCorrectExpressionCount(int correctExpressionCount)
Sets the correct expression count.
|
void |
setIncorrectExpressionCount(int incorrectExpressionCount)
Sets the incorrect expression count.
|
void |
setMoreThanOneOperatorCount(int moreThanOneOperatorCount)
Sets the more than one operator count.
|
void |
setUsedAllOperators(boolean hasUsedAllOperators)
Sets the used all operators.
|
public TableScoresUI(java.lang.String table)
table
- the tablepublic void buildUI(IContainer root, IContentFactory contentFactory) throws ContentTypeNotBoundException
root
- the rootcontentFactory
- the content factoryContentTypeNotBoundException
- the content type not bound exceptionpublic void setBracketUseCount(int count)
count
- the new bracket use countpublic void setCorrectExpressionCount(int correctExpressionCount)
correctExpressionCount
- the new correct expression countpublic void setIncorrectExpressionCount(int incorrectExpressionCount)
incorrectExpressionCount
- the new incorrect expression countpublic void setMoreThanOneOperatorCount(int moreThanOneOperatorCount)
moreThanOneOperatorCount
- the new more than one operator countpublic void setUsedAllOperators(boolean hasUsedAllOperators)
hasUsedAllOperators
- the new used all operators