public interface SpenSettingViewInterface
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_COLOR_PICKER
Action type definitions : Color picker
|
static int |
ACTION_ERASER
Action type definitions : Eraser
|
static int |
ACTION_GESTURE
Action type definitions : Finger gesture
|
static int |
ACTION_NONE
Action type definitions : None
|
static int |
ACTION_RECOGNITION
Action type definitions : Recognition
|
static int |
ACTION_SELECTION
Action type definitions : Object selection
|
static int |
ACTION_STROKE
Action type definitions : Stroke
|
static int |
ACTION_STROKE_REMOVER
Action type definitions : Stroke remover
|
static int |
ACTION_TEXT
Action type definitions : Text
|
static int |
TOOL_ERASER
Tool type definitions: Eraser
|
static int |
TOOL_FINGER
Tool type definitions: Finger
|
static int |
TOOL_MOUSE
Tool type definitions: Mouse
|
static int |
TOOL_MULTI_TOUCH
Tool type definitions: Multi-touch
|
static int |
TOOL_PEN_BUTTON
Tool type definitions: Pressed Pen-button
|
static int |
TOOL_SPEN
Tool type definitions: Pen
|
static int |
TOOL_UNKNOWN
Tool type definitions: Unknown
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeControl()
Exits the Base Control.
|
int |
getCanvasHeight()
Get the current canvas width.
|
int |
getCanvasWidth()
Get the current canvas height.
|
int |
getToolTypeAction(int toolType)
Get the action of the specified tool type.
|
void |
setToolTypeAction(int toolType,
int action)
Set the specified action for the specified tool type.
|
static final int TOOL_UNKNOWN
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int TOOL_FINGER
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int TOOL_SPEN
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int TOOL_MOUSE
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int TOOL_ERASER
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int TOOL_MULTI_TOUCH
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int TOOL_PEN_BUTTON
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_NONE
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_GESTURE
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_STROKE
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_ERASER
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_STROKE_REMOVER
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_COLOR_PICKER
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_SELECTION
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_TEXT
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesstatic final int ACTION_RECOGNITION
setToolTypeAction(int,int),
getToolTypeAction(int),
Constant Field Valuesvoid setToolTypeAction(int toolType,
int action)
toolType - toolType of motion event TOOL_UNKNOWN, TOOL_FINGER, TOOL_SPEN,
TOOL_MOUSE, TOOL_ERASERaction - action of tool ACTION_NONE, ACTION_GESTURE, ACTION_STROKE,
ACTION_ERASER, ACTION_STROKE_REMOVER, ACTION_COLOR_PICKER,
ACTION_SELECTIONint getToolTypeAction(int toolType)
toolType - toolType of motion event TOOL_UNKNOWN, TOOL_FINGER, TOOL_SPEN,
TOOL_MOUSE, TOOL_ERASERACTION_NONE, ACTION_GESTURE, ACTION_STROKE,
ACTION_ERASER, ACTION_STROKE_REMOVER, ACTION_COLOR_PICKER,
ACTION_SELECTIONint getCanvasWidth()
int getCanvasHeight()
void closeControl()