@RemoteServiceRelativePath(value="NumberNetService")
public interface NumberNetService
extends com.google.gwt.user.client.rpc.RemoteService
Modifier and Type | Interface and Description |
---|---|
static class |
NumberNetService.Util
Utility class for simplifying access to the instance of async service.
|
Modifier and Type | Method and Description |
---|---|
void |
addExpectedTable(java.lang.String name)
Adds the expected table.
|
void |
addNameToTable(java.lang.String name,
java.lang.String table)
Adds the name to table.
|
java.util.List<Participant> |
getAllParticipants()
Gets the all participants.
|
java.util.List<java.lang.Double> |
getAllTargetsThatHaveOneOrMoreExpressions()
Gets the all targets that have one or more expressions.
|
java.util.Map<CalculatorKey,java.lang.Boolean> |
getCalculatorAllKeyStatesForTable(java.lang.String tableName)
Gets the calculator all key states for table.
|
boolean |
getCalculatorKeyStateForTable(java.lang.String tableName,
CalculatorKey key)
Gets the calculator key state for table.
|
java.util.List<java.lang.String> |
getExpectedTables()
Gets the expected tables.
|
java.util.List<Expression> |
getExpressionsForPerson(java.lang.String person)
Gets the expressions for person.
|
java.util.List<Expression> |
getExpressionsForTable(java.lang.String table)
Gets the expressions for table.
|
java.util.List<Expression> |
getExpressionsForTarget(double target)
Gets the expressions for target.
|
java.util.List<Participant> |
getNamesForTable(java.lang.String table)
Gets the names for table.
|
java.util.List<TableTarget> |
getTableTargets()
Gets the table targets.
|
void |
projectTable(java.lang.String table,
java.lang.String projector)
Project table.
|
void |
removeFromTable(java.lang.String name,
java.lang.String table)
Removes the from table.
|
void |
rotateTableContentAndTargets(java.util.List<TableTarget> to)
Rotate table content and targets.
|
void |
setCalculatorKeyStateForAllTables(CalculatorKey key,
boolean state)
Sets the calculator key state for all tables.
|
void |
setCalculatorKeyStateForTable(java.lang.String tableName,
CalculatorKey key,
boolean state)
Sets the calculator key state for table.
|
void |
setCalculatorVisibility(boolean visible)
Sets the calculator visibility.
|
void |
setCorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
Sets the correct expressions visible for all tables.
|
void |
setGraphingModeEnabled(boolean graphingModeOn)
Sets the graphing mode enabled.
|
void |
setIncorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
Sets the incorrect expressions visible for all tables.
|
void |
setOthersCorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
Sets the others correct expressions visible for all tables.
|
void |
setOthersIncorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
Sets the others incorrect expressions visible for all tables.
|
void |
setProjectorDisplayMode(java.lang.String projector,
ProjectionDisplayMode mode)
Sets the projector display mode.
|
void |
setScoresVisibleForAllTables(boolean shouldBeVisible)
Sets the scores visible for all tables.
|
void |
setTableInputEnabled(boolean enabled)
Sets the table input enabled.
|
void |
setTableTargets(java.util.List<TableTarget> targets)
Sets the table targets.
|
void |
setUnifyRotationModeEnabled(java.lang.String projector,
boolean enabled)
Sets the unify rotation mode enabled.
|
void |
updatePositionInformationFromProjector(java.lang.String projector)
Update position information from projector.
|
void addExpectedTable(java.lang.String name)
name
- the namevoid addNameToTable(java.lang.String name, java.lang.String table)
name
- the nametable
- the tablejava.util.List<Participant> getAllParticipants()
java.util.List<java.lang.Double> getAllTargetsThatHaveOneOrMoreExpressions()
java.util.Map<CalculatorKey,java.lang.Boolean> getCalculatorAllKeyStatesForTable(java.lang.String tableName)
tableName
- the table nameboolean getCalculatorKeyStateForTable(java.lang.String tableName, CalculatorKey key)
tableName
- the table namekey
- the keyjava.util.List<java.lang.String> getExpectedTables()
java.util.List<Expression> getExpressionsForPerson(java.lang.String person)
person
- the personjava.util.List<Expression> getExpressionsForTable(java.lang.String table)
table
- the tablejava.util.List<Expression> getExpressionsForTarget(double target)
target
- the targetjava.util.List<Participant> getNamesForTable(java.lang.String table)
table
- the tablejava.util.List<TableTarget> getTableTargets()
void projectTable(java.lang.String table, java.lang.String projector)
table
- the tableprojector
- the projectorvoid removeFromTable(java.lang.String name, java.lang.String table)
name
- the nametable
- the tablevoid rotateTableContentAndTargets(java.util.List<TableTarget> to)
to
- the tovoid setCalculatorKeyStateForAllTables(CalculatorKey key, boolean state)
key
- the keystate
- the statevoid setCalculatorKeyStateForTable(java.lang.String tableName, CalculatorKey key, boolean state)
tableName
- the table namekey
- the keystate
- the statevoid setCalculatorVisibility(boolean visible)
visible
- the new calculator visibilityvoid setCorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
shouldBeVisible
- the new correct expressions visible for all tablesvoid setGraphingModeEnabled(boolean graphingModeOn)
graphingModeOn
- the new graphing mode enabledvoid setIncorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
shouldBeVisible
- the new incorrect expressions visible for all
tablesvoid setOthersCorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
shouldBeVisible
- the new others correct expressions visible for all
tablesvoid setOthersIncorrectExpressionsVisibleForAllTables(boolean shouldBeVisible)
shouldBeVisible
- the new others incorrect expressions visible for
all tablesvoid setProjectorDisplayMode(java.lang.String projector, ProjectionDisplayMode mode)
projector
- the projectormode
- the modevoid setScoresVisibleForAllTables(boolean shouldBeVisible)
shouldBeVisible
- the new scores visible for all tablesvoid setTableInputEnabled(boolean enabled)
enabled
- the new table input enabledvoid setTableTargets(java.util.List<TableTarget> targets)
targets
- the new table targetsvoid setUnifyRotationModeEnabled(java.lang.String projector, boolean enabled)
projector
- the projectorenabled
- the enabledvoid updatePositionInformationFromProjector(java.lang.String projector)
projector
- the projector