public class SmartiesPuck extends Object
Modifier and Type | Field and Description |
---|---|
Object |
app_data
the "clipboard", uses this object to store what ever you want with your pucks.
|
int |
color
the puck color as a RGB int (e.g., 0xFF00A0), see
Smarties.sendPuckColor(fr.lri.smarties.libserver.SmartiesPuck, java.lang.String, int) to change the default. |
int |
cursor_type
the icon to be drawn in the puck on the mobile client.
|
int |
id
Unique identifier (positive or zero).
|
int |
move_state
used internaly (only ?)
|
static int |
SMARTIESPUCK_CURSORTYPE_ARROW |
static int |
SMARTIESPUCK_CURSORTYPE_CIRCLE |
static int |
SMARTIESPUCK_CURSORTYPE_CROSS |
static int |
SMARTIESPUCK_CURSORTYPE_MOVE |
static int |
SMARTIESPUCK_CURSORTYPE_NONE |
static int |
SMARTIESPUCK_CURSORTYPE_POINT |
static int |
SMARTIESPUCK_CURSORTYPE_SELECT |
static int |
SMARTIESPUCK_CURSORTYPE_TEXT |
boolean |
stored
is the puck stored
|
float |
x
x relative position of the puck in the interval [0,1], uses
Smarties.movePuck(int, float, float) to change the position of a puck. |
float |
y
y relative position of the puck in the interval [0,1],
uses
Smarties.movePuck(int, float, float) to change the position of a puck. |
Modifier and Type | Method and Description |
---|---|
int |
getMoveState() |
SmartiesDevice |
getSelectedByDevice() |
SmartiesDevice |
getSharingPolicyDevice() |
boolean |
isDeleted() |
boolean |
isStored() |
public static final int SMARTIESPUCK_CURSORTYPE_NONE
public static final int SMARTIESPUCK_CURSORTYPE_CROSS
public static final int SMARTIESPUCK_CURSORTYPE_ARROW
public static final int SMARTIESPUCK_CURSORTYPE_POINT
public static final int SMARTIESPUCK_CURSORTYPE_SELECT
public static final int SMARTIESPUCK_CURSORTYPE_TEXT
public static final int SMARTIESPUCK_CURSORTYPE_CIRCLE
public static final int SMARTIESPUCK_CURSORTYPE_MOVE
public int id
public float x
Smarties.movePuck(int, float, float)
to change the position of a puck.public float y
Smarties.movePuck(int, float, float)
to change the position of a puck.public int cursor_type
Smarties.sendPuckCursorType(fr.lri.smarties.libserver.SmartiesPuck, java.lang.String, int)
to change it.public int color
Smarties.sendPuckColor(fr.lri.smarties.libserver.SmartiesPuck, java.lang.String, int)
to change the default.public int move_state
public boolean stored
public Object app_data
public int getMoveState()
public boolean isStored()
public boolean isDeleted()
public SmartiesDevice getSelectedByDevice()
public SmartiesDevice getSharingPolicyDevice()
Copyright © 2017. All rights reserved.