Modifier and Type | Field and Description |
---|---|
SmartiesPuck |
SmartiesEvent.p
the puck associated to this event (the selected puck),
or null if there is no associated puck.
|
Modifier and Type | Method and Description |
---|---|
SmartiesPuck |
Smarties.createPuck(SmartiesDevice d,
float x,
float y,
boolean select)
Create a puck at position x,y that is become selected on device d (if not null and select is true).
|
SmartiesPuck |
Smarties.getPuck(int id)
Return the
SmartiesPuck with identifier id or null if there is
no puck with such an identifier. |
Modifier and Type | Method and Description |
---|---|
Map<Integer,SmartiesPuck> |
Smarties.getPuckMapping()
Return a map from the identifiers to the
SmartiesPuck 's. |
Modifier and Type | Method and Description |
---|---|
void |
Smarties.deletePuck(SmartiesPuck p)
Definitively delete the
SmartiesPuck p. |
void |
Smarties.movePuck(SmartiesPuck p,
float x,
float y)
Move the
SmartiesPuck p. |
void |
Smarties.sendPuckColor(SmartiesPuck p,
String ip,
int color)
Send (and set) to the device with IP adress ip, or to all the devices if ip is null,
the color for the puck p (in hexadecimal, e.g.
|
void |
Smarties.sendPuckCursorType(SmartiesPuck p,
String ip,
int cursor_type)
Send (and set) to the device with IP adress ip, or to all the devices if ip is null,
the cursor type of the puck p.
|
Copyright © 2017. All rights reserved.