Public Types | |
NORTH | |
enum | ImageLocation { NORTH, SOUTH, EAST, WEST, NORTH_EAST, NORTH_WEST, SOUTH_EAST, SOUTH_WEST } |
Public Member Functions | |
DisplayChannel (Device device) | |
void | showInk () |
void | displayImage (File imgFile, double maxWidthAsPercentageOfDisplay, double maxHeightAsPercentageOfDisplay, ImageLocation where) |
This class needs to know whether it's local or remote, and it will handle the display accordingly. If it is remote, it will ask the associated action receiver to create a display object, etc.
TODO: Alternatively, we can implement a remote Display channel that runs in Apollo/Flash! That means, we can have really nice vector graphics that can scale to the display size!
This software is distributed under the BSD License.
Definition at line 30 of file DisplayChannel.java.
enum ImageLocation |
Definition at line 36 of file DisplayChannel.java.
DisplayChannel | ( | Device | device | ) |
void displayImage | ( | File | imgFile, | |
double | maxWidthAsPercentageOfDisplay, | |||
double | maxHeightAsPercentageOfDisplay, | |||
ImageLocation | where | |||
) |