TokenStorage as restore token record
with its associated screen boundaries.
It helps in serialization/deserialization of screen boundaries
to/from string format.
The screen boundary is represented as _x_y_width_height
and can be repeated several times.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final List | |
| private static final int | |
| private static final int | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static TokenItem | |
| public String |
| allowedScreensBounds | back to summary |
|---|---|
| pack-priv final List<Rectangle> allowedScreensBounds | |
| MAX_SIZE | back to summary |
|---|---|
| private static final int MAX_SIZE | |
| MIN_SIZE | back to summary |
|---|---|
| private static final int MIN_SIZE | |
| token | back to summary |
|---|---|
| pack-priv final String token | |
| TokenItem | back to summary |
|---|---|
| public TokenItem(String token, int[] allowedScreenBounds) | |
| dump | back to summary |
|---|---|
| public String dump() | |
| hasAllScreensOfSameSize | back to summary |
|---|---|
| public boolean hasAllScreensOfSameSize(List<Dimension> screenSizes) | |
| hasAllScreensWithExactMatch | back to summary |
|---|---|
| public boolean hasAllScreensWithExactMatch(List<Rectangle> bounds) | |
| hasValidBounds | back to summary |
|---|---|
| public boolean hasValidBounds() | |
| parse | back to summary |
|---|---|
| public static TokenItem parse(String token, Object input) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |