org.eclipse.ercp.swt.mobile
Class OS

java.lang.Object
  extended by org.eclipse.ercp.swt.mobile.OS

public class OS
extends java.lang.Object

Author:
Administrator To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
static int CALLBACK_CONSTRAINEDTEXT
           
static int CALLBACK_DATEEDITOR
           
static int CALLBACK_LISTVIEW
           
static int CALLBACK_MULTIPAGECOMPOSITE
           
static int CALLBACK_SCREEN
           
static int DTM_FIRST
           
static int DTM_GETMONTHCAL
           
static int DTM_SETFORMATW
           
static int DTM_SETSYSTEMTIME
           
static int DTS_SHORTDATEFORMAT
           
static int DTS_TIMEFORMAT
           
static int DTS_UPDOWN
           
static int EVENT_CONSTRAINEDTEXT_FOCUSIN
           
static int EVENT_CONSTRAINEDTEXT_FOCUSOUT
           
static int EVENT_CONSTRAINEDTEXT_MODIFY
           
static int EVENT_DATEEDITOR_MODIFY
          DateEditor event which indicates that a new item has been modified.
static int EVENT_DATEEDITOR_SELECTION
          DateEditor event which indicates that a new item has been selected.
static int LVS_ICON
           
static int LVS_LIST
           
static int LVS_REPORT
           
static int LVS_SMALLICON
           
static int NULL
           
static int STYLE_SINGLE
          Single selection and single line style
static int WS_BORDER
           
static int WS_CHILD
           
static int WS_VISIBLE
           
 
Constructor Summary
OS()
           
 
Method Summary
static int[] ConstrainedText_GetMinimumSize(int handle, int columns)
           
static int ConstrainedText_New(int parent, int style)
           
static void ConstrainedText_Replace(int handle, java.lang.String string, int start, int end)
           
static void ConstrainedText_SetSelection(int handle, int start, int end)
           
static int[] DateEditor_ComputeSize(int handle, int flag)
           
static int DateEditor_New(int parentHandle, int style, int flag)
           
static java.lang.String DateTime_GetDateFormat(int handle)
           
static java.lang.String DateTime_GetDateSeparator(int handle)
           
static int DateTime_GetSystemTime(int handle, int[] retValue)
           
static java.lang.String DateTime_GetTimeFormat(int handle)
           
static java.lang.String DateTime_GetTimeSeparator(int handle)
           
static int getKeyboardStatus()
           
static void HyperLink_Launch(int handle, int type, java.lang.String argument)
           
static void HyperLink_SetText(int handle, java.lang.String string)
           
static void HyperLink_SetUnderLine(int handle)
           
static boolean ListView_Add(int handle, java.lang.String string, int imageHandle, int index)
           
static boolean ListView_Delete(int handle, int index)
           
static boolean ListView_DeleteAll(int handle)
           
static int ListView_GetFocusIndex(int handle)
           
static int ListView_GetIconSize(int handle, int density)
           
static int ListView_GetSelectionCount(int handle)
           
static int[] ListView_GetSelectionIndices(int handle)
           
static int ListView_GetTopItemIndex(int handle)
           
static boolean ListView_IsSelected(int handle, int index)
           
static void ListView_MakeSelectionVisible(int handle)
           
static int ListView_New(int parentHandle, int style, int density)
           
static void ListView_Select(int handle, int index, boolean selected)
           
static boolean ListView_Set(int handle, java.lang.String string, int imageHandle, int index)
           
static void ListView_SetLayoutDensity(int handle, int style, int density)
           
static void MobileDevice_Alert(int level)
           
static int MobileDevice_isIMEActive()
           
static void MobileDevice_SetVKStatus(boolean show, int handle)
           
static void MobileShell_ChangeTrim(int handle, int style)
           
static void MobileShell_SetFullScreenMode(int handle, int menu_handle, boolean mode, boolean hasMenu, boolean showSIP)
           
static boolean MultiPageComposite_AddPage(int handle, int compositeHandle, java.lang.String title, int imageHandle)
           
static boolean MultiPageComposite_DeletePage(int handle, int index)
           
static int MultiPageComposite_New(int parentHandle, int style)
           
static boolean MultiPageComposite_SetImage(int handle, int index, int imageHandle)
           
static boolean MultiPageComposite_SetSelection(int handle, int index)
           
static boolean MultiPageComposite_SetTitle(int handle, int index, java.lang.String title)
           
static int RotDetectDisplay_New(int defDisplayhandle)
           
static int Screen_GetColorDepth()
           
static int Screen_GetOrientation()
           
static int[] Screen_GetRes()
           
static void Screen_SetOrientation(int orientation)
           
static int SendMessageW(int handle, int msg, int arg1, short[] arg2)
           
static int SendMessageW(int handle, int msg, int arg1, java.lang.String arg2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CALLBACK_DATEEDITOR

public static final int CALLBACK_DATEEDITOR
See Also:
Constant Field Values

CALLBACK_CONSTRAINEDTEXT

public static final int CALLBACK_CONSTRAINEDTEXT
See Also:
Constant Field Values

CALLBACK_MULTIPAGECOMPOSITE

public static final int CALLBACK_MULTIPAGECOMPOSITE
See Also:
Constant Field Values

CALLBACK_LISTVIEW

public static final int CALLBACK_LISTVIEW
See Also:
Constant Field Values

CALLBACK_SCREEN

public static final int CALLBACK_SCREEN
See Also:
Constant Field Values

NULL

public static final int NULL
See Also:
Constant Field Values

STYLE_SINGLE

public static final int STYLE_SINGLE
Single selection and single line style

See Also:
Constant Field Values

DTM_FIRST

public static final int DTM_FIRST
See Also:
Constant Field Values

DTM_SETSYSTEMTIME

public static final int DTM_SETSYSTEMTIME
See Also:
Constant Field Values

DTM_GETMONTHCAL

public static final int DTM_GETMONTHCAL
See Also:
Constant Field Values

DTM_SETFORMATW

public static final int DTM_SETFORMATW
See Also:
Constant Field Values

DTS_TIMEFORMAT

public static final int DTS_TIMEFORMAT
See Also:
Constant Field Values

DTS_SHORTDATEFORMAT

public static final int DTS_SHORTDATEFORMAT
See Also:
Constant Field Values

DTS_UPDOWN

public static final int DTS_UPDOWN
See Also:
Constant Field Values

WS_BORDER

public static final int WS_BORDER
See Also:
Constant Field Values

WS_CHILD

public static final int WS_CHILD
See Also:
Constant Field Values

WS_VISIBLE

public static final int WS_VISIBLE
See Also:
Constant Field Values

LVS_ICON

public static final int LVS_ICON
See Also:
Constant Field Values

LVS_REPORT

public static final int LVS_REPORT
See Also:
Constant Field Values

LVS_SMALLICON

public static final int LVS_SMALLICON
See Also:
Constant Field Values

LVS_LIST

public static final int LVS_LIST
See Also:
Constant Field Values

EVENT_DATEEDITOR_SELECTION

public static final int EVENT_DATEEDITOR_SELECTION
DateEditor event which indicates that a new item has been selected.

See Also:
Constant Field Values

EVENT_DATEEDITOR_MODIFY

public static final int EVENT_DATEEDITOR_MODIFY
DateEditor event which indicates that a new item has been modified.

See Also:
Constant Field Values

EVENT_CONSTRAINEDTEXT_MODIFY

public static final int EVENT_CONSTRAINEDTEXT_MODIFY
See Also:
Constant Field Values

EVENT_CONSTRAINEDTEXT_FOCUSIN

public static final int EVENT_CONSTRAINEDTEXT_FOCUSIN
See Also:
Constant Field Values

EVENT_CONSTRAINEDTEXT_FOCUSOUT

public static final int EVENT_CONSTRAINEDTEXT_FOCUSOUT
See Also:
Constant Field Values
Constructor Detail

OS

public OS()
Method Detail

MultiPageComposite_New

public static final int MultiPageComposite_New(int parentHandle,
                                               int style)

MultiPageComposite_AddPage

public static final boolean MultiPageComposite_AddPage(int handle,
                                                       int compositeHandle,
                                                       java.lang.String title,
                                                       int imageHandle)

MultiPageComposite_DeletePage

public static final boolean MultiPageComposite_DeletePage(int handle,
                                                          int index)

MultiPageComposite_SetTitle

public static final boolean MultiPageComposite_SetTitle(int handle,
                                                        int index,
                                                        java.lang.String title)

MultiPageComposite_SetImage

public static final boolean MultiPageComposite_SetImage(int handle,
                                                        int index,
                                                        int imageHandle)

MultiPageComposite_SetSelection

public static final boolean MultiPageComposite_SetSelection(int handle,
                                                            int index)

DateEditor_New

public static final int DateEditor_New(int parentHandle,
                                       int style,
                                       int flag)

SendMessageW

public static final int SendMessageW(int handle,
                                     int msg,
                                     int arg1,
                                     java.lang.String arg2)

SendMessageW

public static final int SendMessageW(int handle,
                                     int msg,
                                     int arg1,
                                     short[] arg2)

DateTime_GetSystemTime

public static final int DateTime_GetSystemTime(int handle,
                                               int[] retValue)

DateTime_GetTimeFormat

public static final java.lang.String DateTime_GetTimeFormat(int handle)

DateTime_GetDateFormat

public static final java.lang.String DateTime_GetDateFormat(int handle)

DateTime_GetTimeSeparator

public static final java.lang.String DateTime_GetTimeSeparator(int handle)

DateTime_GetDateSeparator

public static final java.lang.String DateTime_GetDateSeparator(int handle)

DateEditor_ComputeSize

public static final int[] DateEditor_ComputeSize(int handle,
                                                 int flag)

ListView_New

public static final int ListView_New(int parentHandle,
                                     int style,
                                     int density)

ListView_Add

public static final boolean ListView_Add(int handle,
                                         java.lang.String string,
                                         int imageHandle,
                                         int index)

ListView_IsSelected

public static final boolean ListView_IsSelected(int handle,
                                                int index)

ListView_Select

public static final void ListView_Select(int handle,
                                         int index,
                                         boolean selected)

ListView_Delete

public static final boolean ListView_Delete(int handle,
                                            int index)

ListView_DeleteAll

public static final boolean ListView_DeleteAll(int handle)

ListView_GetTopItemIndex

public static final int ListView_GetTopItemIndex(int handle)

ListView_GetFocusIndex

public static final int ListView_GetFocusIndex(int handle)

ListView_GetSelectionIndices

public static final int[] ListView_GetSelectionIndices(int handle)

ListView_GetSelectionCount

public static final int ListView_GetSelectionCount(int handle)

ListView_Set

public static final boolean ListView_Set(int handle,
                                         java.lang.String string,
                                         int imageHandle,
                                         int index)

ListView_SetLayoutDensity

public static final void ListView_SetLayoutDensity(int handle,
                                                   int style,
                                                   int density)

ListView_MakeSelectionVisible

public static final void ListView_MakeSelectionVisible(int handle)

ListView_GetIconSize

public static final int ListView_GetIconSize(int handle,
                                             int density)

HyperLink_Launch

public static final void HyperLink_Launch(int handle,
                                          int type,
                                          java.lang.String argument)

HyperLink_SetText

public static final void HyperLink_SetText(int handle,
                                           java.lang.String string)

HyperLink_SetUnderLine

public static final void HyperLink_SetUnderLine(int handle)

ConstrainedText_New

public static final int ConstrainedText_New(int parent,
                                            int style)

ConstrainedText_GetMinimumSize

public static final int[] ConstrainedText_GetMinimumSize(int handle,
                                                         int columns)

ConstrainedText_Replace

public static final void ConstrainedText_Replace(int handle,
                                                 java.lang.String string,
                                                 int start,
                                                 int end)

ConstrainedText_SetSelection

public static final void ConstrainedText_SetSelection(int handle,
                                                      int start,
                                                      int end)

MobileShell_SetFullScreenMode

public static final void MobileShell_SetFullScreenMode(int handle,
                                                       int menu_handle,
                                                       boolean mode,
                                                       boolean hasMenu,
                                                       boolean showSIP)

MobileShell_ChangeTrim

public static final void MobileShell_ChangeTrim(int handle,
                                                int style)

MobileDevice_Alert

public static final void MobileDevice_Alert(int level)

MobileDevice_isIMEActive

public static final int MobileDevice_isIMEActive()

MobileDevice_SetVKStatus

public static final void MobileDevice_SetVKStatus(boolean show,
                                                  int handle)

Screen_GetColorDepth

public static final int Screen_GetColorDepth()

Screen_GetRes

public static final int[] Screen_GetRes()

Screen_SetOrientation

public static final void Screen_SetOrientation(int orientation)

Screen_GetOrientation

public static final int Screen_GetOrientation()

RotDetectDisplay_New

public static final int RotDetectDisplay_New(int defDisplayhandle)

getKeyboardStatus

public static final int getKeyboardStatus()