Modifier and Type | Field and Description |
---|---|
SmartiesDevice |
SmartiesEvent.device
the device that sent this event.
|
Modifier and Type | Method and Description |
---|---|
SmartiesDevice |
Smarties.getDevice(String ip)
Return the
SmartiesDevice with IP address ip or null if there is
no device with such an IP address. |
SmartiesDevice |
SmartiesPuck.getSelectedByDevice() |
SmartiesDevice |
SmartiesPuck.getSharingPolicyDevice() |
Modifier and Type | Method and Description |
---|---|
Map<String,SmartiesDevice> |
Smarties.getDevicesMapping()
Return a map from the IP addresses to the
SmartiesDevice 's. |
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).
|
void |
Smarties.sendNotification(int soundType,
int soundDuration,
int vibration,
String str,
SmartiesDevice dev)
Send a notification to the device dev or to all the devices if dev is null.
|
void |
Smarties.sendWidgetCheckedItems(int wid,
Vector<Boolean> checked_items,
SmartiesDevice dev)
Send/change the checked values of the widget (e.g., multi-choice popup) with identifier wid for
the device dev, or for all the devices if dev is null (if dev is null the change is
persistent, i.e., affect the widget for novel connection).
|
void |
Smarties.sendWidgetFontSize(int wid,
int size,
SmartiesDevice dev)
Send/change the font size for the widget with identifier wid for device dev,
or for all the devices if dev is null (if dev is null the change is persistent,
i.e., affect the widget for novel connection).
|
void |
Smarties.sendWidgetItem(int wid,
int item,
SmartiesDevice dev)
Send/change the selected item of the widget with identifier wid for
the device dev, or for all the devices if dev is null (if dev is null the
change is persistent, i.e., affect the widget for novel connection).
|
void |
Smarties.sendWidgetLabel(int wid,
String str,
SmartiesDevice dev)
Send/change the label of the widget with identifier wid for device dev,
or for all the devices if dev is null (if dev is null the change is persistent,
i.e., affect the widget for novel connection).
|
void |
Smarties.sendWidgetOnState(int wid,
boolean onstate,
SmartiesDevice dev)
Send/change the on/off value of the widget (e.g., a toggle button) with identifier wid for
the device dev, or for all the devices if dev is null (if dev is null the change is
persistent, i.e., affect the widget for novel connection).
|
void |
Smarties.sendWidgetState(int wid,
int state,
SmartiesDevice dev)
Send/change the state (enabled/disabled/hidden) of the widget with identifier wid for
the device dev, or for all the devices if dev is null (if dev is null the change is
persistent, i.e., affect the widget for novel connection).
|
void |
Smarties.sendWidgetValue(int wid,
int value,
SmartiesDevice dev)
Send/change the value of the widget (e.g., a slider) with identifier wid for
the device dev, or for all the devices if dev is null.
|
void |
Smarties.setAccelerationParameters(float maxCDgainFactor,
float minCDgainMM,
SmartiesDevice dev)
Set the acceleration parameters for indirect one finger touch for the device dev
(or all connected device if dev is null).
|
void |
Smarties.setHideLockedPucks(boolean v,
SmartiesDevice dev)
Instruct the device dev (or all connected device if dev is null) to hide or not the locked
pucks.
|
void |
Smarties.setRawTouchEventsConf(boolean v,
SmartiesDevice dev)
Disable/Enable the multi-touch raw events for the device dev or for all
the devices if dev is null.
|
void |
Smarties.setSmartiesTouchEventsConf(boolean v,
SmartiesDevice dev)
Disable/Enable the multi-touch "high-level" Smarties events for the device dev or for all
the devices if dev is null.
|
void |
Smarties.showKeyboard(int id,
SmartiesDevice d)
Ask the
SmartiesDevice dev to map a keyboard. |
void |
Smarties.showKeyboard(int id,
SmartiesDevice d,
int num_keys)
Ask the
SmartiesDevice dev to map a keyboard and to unmap it
after a certain number of keys has been typed. |
Copyright © 2017. All rights reserved.