public class KeyOperationManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<KeyOperation> |
operations |
| Constructor and Description |
|---|
KeyOperationManager() |
KeyOperationManager(java.util.List<KeyOperation> operations) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(KeyOperation operation) |
void |
addOperationIgnoreWorkingMode(KeyOperation operation) |
void |
addOperations(java.util.List<KeyOperation> newOperations) |
private void |
checkAndRemove(KeyOperation ko) |
private void |
checkAndRemove(KeyOperation ko,
boolean ignoreWorkingMode) |
private void |
checkAndRemoveIgnoreWorkingMode(KeyOperation ko) |
void |
clear() |
private boolean |
exists(KeyOperation operation) |
KeyOperation |
findOperation(int[] input) |
KeyOperation |
findOperation(Key key) |
private KeyOperation |
findOtherOperations(int[] input)
If we cant find an operation in Key we its either a char we haven't mapped
or possibly a block that contains several identical chars.
|
java.util.List<KeyOperation> |
getOperations() |
private final java.util.List<KeyOperation> operations
public KeyOperationManager()
public KeyOperationManager(java.util.List<KeyOperation> operations)
public java.util.List<KeyOperation> getOperations()
public void clear()
public void addOperations(java.util.List<KeyOperation> newOperations)
public void addOperation(KeyOperation operation)
public void addOperationIgnoreWorkingMode(KeyOperation operation)
private boolean exists(KeyOperation operation)
private void checkAndRemoveIgnoreWorkingMode(KeyOperation ko)
private void checkAndRemove(KeyOperation ko)
private void checkAndRemove(KeyOperation ko, boolean ignoreWorkingMode)
public KeyOperation findOperation(Key key)
public KeyOperation findOperation(int[] input)
private KeyOperation findOtherOperations(int[] input)
input - input