public class SpenSettingSelectionLayout extends RelativeLayout
| Modifier and Type | Class and Description |
|---|---|
static interface |
SpenSettingSelectionLayout.ActionListener
Deprecated.
|
static interface |
SpenSettingSelectionLayout.ViewListener
Listeners to inform View visibility changed
|
| Modifier and Type | Field and Description |
|---|---|
static int |
VIEW_MODE_NORMAL
Deprecated.
|
static int |
VIEW_MODE_TITLE
Deprecated.
|
| Constructor and Description |
|---|
SpenSettingSelectionLayout(Context context,
String customImagePath,
RelativeLayout relativeLayout)
Selection Setting Layout does not support (RTL) Right To Left mirroring, therefore, please set layout
direction View.LAYOUT_DIRECTION_LTR for its parent view so that SDK can have normal display and operation.
Creates an SpenSelectionSettingLayout instance with the specified image path and relative layout. |
SpenSettingSelectionLayout(Context context,
String customImagePath,
RelativeLayout relativeLayout,
float ratio)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the Settings UI.
|
SpenSettingSelectionInfo |
getInfo()
Get the selection settings information.
|
int |
getViewMode()
Deprecated.
|
void |
setActionListener(SpenSettingSelectionLayout.ActionListener listener)
Deprecated.
|
void |
setCanvasView(SpenSettingViewInterface canvasView)
Set the specified canvas view.
|
void |
setGSIMLoggingListener(com.samsung.android.sdk.pen.settingui.SpenSettingSelectionLayout.GSIMLoggingListener listener)
Set the specified SpenSettingBrushLayout.GSIMLoggingListener to receive Pen settings events.
|
void |
setIndicatorDownPosition(int x)
Deprecated.
|
void |
setIndicatorPosition(int x)
Deprecated.
|
void |
setInfo(SpenSettingSelectionInfo settingSelectionInfo)
Set the specified selection settings information.
|
void |
setMovableSetting(boolean enable)
Deprecated.
|
void |
setPosition(int x,
int y)
Deprecated.
|
void |
setViewMode(int viewMode)
Deprecated.
|
void |
setVisibility(int visibility)
Set the visibility mode for the selection settings view.
|
void |
setVisibilityChangedListener(SpenSettingSelectionLayout.ViewListener listener)
Set the specified SpenSettingSelectionLayout.ViewListener to receive visibility changed events.
|
@Deprecated public static final int VIEW_MODE_NORMAL
@Deprecated public static final int VIEW_MODE_TITLE
public SpenSettingSelectionLayout(Context context, String customImagePath, RelativeLayout relativeLayout)
The following parameters must be not null.
context - [in] The Context for application.customImagePath - [in] The path of the image to be used internally (String)relativeLayout - [in] The upper of the Layout@Deprecated public SpenSettingSelectionLayout(Context context, String customImagePath, RelativeLayout relativeLayout, float ratio)
SpenSettingSelectionLayout(Context, String, RelativeLayout).public void close()
@Deprecated public void setActionListener(SpenSettingSelectionLayout.ActionListener listener)
listener - The SpenSettingSelectionLayout.ActionListener instance to receive action events .
SpenSettingSelectionLayout.ActionListenerpublic void setGSIMLoggingListener(com.samsung.android.sdk.pen.settingui.SpenSettingSelectionLayout.GSIMLoggingListener listener)
listener - The GSIMLoggingListener instance to receive Pen settings events. SpenSettingSelectionLayout.GSIMLoggingListenerpublic void setVisibilityChangedListener(SpenSettingSelectionLayout.ViewListener listener)
listener - The SpenSettingSelectionLayout.ViewListener instance to receive visibility changed events.
SpenSettingSelectionLayout.ViewListener@Deprecated public void setIndicatorPosition(int x)
x - The X coordinate of the popup indicator in pixels. If X is less than 0
or greater than setting layout's width, indicator will be inVisible.@Deprecated public void setIndicatorDownPosition(int x)
@Deprecated public void setPosition(int x, int y)
x - The X coordinate of the popup in pixels.y - The Y coordinate of the popup in pixels.@Deprecated public int getViewMode()
public SpenSettingSelectionInfo getInfo()
SpenSettingSelectionInfo@Deprecated public void setViewMode(int viewMode)
VIEW_MODE_NORMAL mode.public void setVisibility(int visibility)
setVisibility in class Viewvisibility - The visibility mode.public void setCanvasView(SpenSettingViewInterface canvasView)
canvasView - current canvas viewpublic void setInfo(SpenSettingSelectionInfo settingSelectionInfo)
settingSelectionInfo - The selection settings information object. SpenSettingSelectionInfo@Deprecated public void setMovableSetting(boolean enable)