2 public static class Runnable {
6 @SuppressWarnings
public class QObject : QCore {
7 public static List<Runnable> _uiloop_list =
new List<Runnable>();
8 public static bool _ui_loop_busy =
false;
9 public static bool _ui_event_synched =
true;
12 _ui_event_synched = bs;
16 return _ui_event_synched;
20 synchronized(_uiloop_list) {
21 _uiloop_list.add(task);
23 Notify(Constant.NEW_UI_TASK_NID);
44 if (eventid == Constant.NEW_UI_TASK_NID) {
45 if ((_ui_loop_busy ==
false) || (!_ui_event_synched)){
47 while (_uiloop_list.size() > 0) {
49 synchronized(_uiloop_list) {
50 if (_uiloop_list.size() > 0) {
52 r = _uiloop_list.pollHead();
62 _ui_loop_busy =
false;
65 onNotification(eventid);
67 if (_notifyListener != nilptr) {
68 _notifyListener.onNotify(
this, eventid);
74 if (_notifyListener != nilptr) {
75 _notifyListener.onNotify(
this, eventid);
82 public TableWidgetEventListener _tableenvlis = nilptr;
83 public onFileSystemChangeListener _fsweListener = nilptr;
84 public onEditEventListener _editEventListener = nilptr;
85 public onMouseEventListener _mouseListener = nilptr;
86 public onKeyEventListener _keyListener = nilptr;
87 public onFocusEventListener _focusListener = nilptr;
88 public onScopeEventListener _scopeListener = nilptr;
89 public onPaintListener _paintEvent = nilptr;
90 public onLayoutEventListener _layoutEvent = nilptr;
91 public onStatusListener _statusEvent = nilptr;
92 public onUpdateListener _updateListener = nilptr;
93 public onEventListener _eventListener = nilptr;
94 public onTreeViewItemEvent _treeitemevent = nilptr;
95 public onNotifyListener _notifyListener = nilptr;
96 public onClickListener _clicklistener = nilptr;
97 public SciEventListener _sciEventListener = nilptr;
98 public onContextMenuListener _contextMenuListener = nilptr;
99 public onActivateListener _activateListener = nilptr;
100 public onComboBoxEventListener _comboboxListener = nilptr;
101 public onDragListener _dragListener = nilptr;
109 _comboboxListener = l;
112 _activateListener = l;
115 _contextMenuListener = l;
118 _sciEventListener = l;
138 _editEventListener = l;
174 return (T)QtXnl.findControl(nativehandle, name);
179 _sub.nativehandle = QtXnl.attachControl(nativehandle, _sub, name);
180 if (_sub.nativehandle != 0) {
188 return (QObject)QtXnl.findControl(nativehandle, name);
192 newObj.nativehandle = QtXnl.attachControl(nativehandle, newObj, name);
193 if (newObj.nativehandle != 0) {
200 public bool attach(@NotNilptr QObject obj) {
201 nativehandle = QtXnl.core_attach(obj.nativehandle,
this);
202 if (nativehandle != 0) {
210 return (
String)QtXnl.core_getName(nativehandle);
214 QtXnl.widget_slot(nativehandle, Constant.DELETE_OBJECT);
218 QtXnl.widget_slot_string(nativehandle, Constant.OBJECTSETNAME, name);
222 return (
String)QtXnl.core_getClassName(nativehandle);
226 return (QObject)QtXnl.core_getParent(nativehandle);
232 if (_mouseListener != nilptr) {
233 _mouseListener.onMouseButtonPress(
this, Button, x, y, flags, source);
238 if (_mouseListener != nilptr) {
239 _mouseListener.onMouseButtonRelease(
this, Button, x, y, flags, source);
244 if (_mouseListener != nilptr) {
245 _mouseListener.onMouseButtonDblClick(
this, Button, x, y, flags, source);
249 public void onMouseMove(
int Button,
int x,
int y,
int flags,
int source) {
250 if (_mouseListener != nilptr) {
251 _mouseListener.onMouseMove(
this, Button, x, y, flags, source);
254 public void onWheel(
int button,
int x,
int y,
int Orientation,
int delta,
bool inverted) {
255 if (_mouseListener != nilptr) {
256 _mouseListener.onWheel(
this, button, x, y, Orientation, delta, inverted);
260 public bool onKeyPress(
int key,
bool repeat,
int count,
String text,
int scanCode,
int virtualKey,
int modifier) {
261 if (_keyListener != nilptr) {
262 return _keyListener.onKeyPress(
this, key, repeat, count, text, scanCode, virtualKey, modifier);
266 public bool onKeyRelease(
int key,
bool repeat,
int count,
String text,
int scanCode,
int virtualKey,
int modifier) {
267 if (_keyListener != nilptr) {
268 return _keyListener.onKeyRelease(
this, key, repeat, count, text, scanCode, virtualKey, modifier);
273 if (_focusListener != nilptr) {
274 _focusListener.onFocusIn(
this, focus, reson);
278 if (_focusListener != nilptr) {
279 _focusListener.onFocusOut(
this, focus, reson);
283 if (_focusListener != nilptr) {
284 _focusListener.onFocusAboutToChange(
this, focus, reson);
288 if (_scopeListener != nilptr) {
289 _scopeListener.onEnter(
this, x, y);
293 if (_scopeListener != nilptr) {
294 _scopeListener.onLeave(
this);
297 public void onPaint(
int l,
int t,
int r,
int b,
long hpaint) {
298 if (_paintEvent != nilptr) {
299 _paintEvent.onPaint(
this, l, t, r, b, hpaint);
302 public void onMove(
int x,
int y,
int oldx,
int oldy) {
303 if (_layoutEvent != nilptr) {
304 _layoutEvent.onMove(
this, x, y, oldx, oldy);
307 public void onResize(
int w,
int h,
int oldw,
int oldh) {
308 if (_layoutEvent != nilptr) {
309 _layoutEvent.onResize(
this, w, h, oldw, oldh);
313 if (_statusEvent != nilptr) {
314 _statusEvent.onCreate(
this);
318 if (_statusEvent != nilptr) {
319 _statusEvent.onDestroy(
this);
323 if (_statusEvent != nilptr) {
324 _statusEvent.onShow(
this);
328 if (_statusEvent != nilptr) {
329 _statusEvent.onHide(
this);
333 if (_statusEvent != nilptr) {
334 return _statusEvent.onClose(
this);
339 if (_statusEvent != nilptr) {
340 _statusEvent.onQuit(
this);
344 if (_statusEvent != nilptr) {
345 _statusEvent.onParentChange(
this);
350 if (_eventListener != nilptr) {
351 _eventListener.onTrigger(
this);
358 if (_activateListener != nilptr) {
359 _activateListener.onWindowActivate(
this);
363 if (_activateListener != nilptr) {
364 _activateListener.onWindowDeactivate(
this);
373 if (_dragListener != nilptr) {
374 return _dragListener.onDragEnter(
this, l,t,r,b);
379 if (_dragListener != nilptr) {
380 return _dragListener.onDragMove(
this, l,t,r,b);
385 if (_dragListener != nilptr) {
386 return _dragListener.onDragLeave(
this, l,t,r,b);
391 if (_dragListener != nilptr) {
392 _dragListener.onDrop(
this,
object);
398 if (_updateListener != nilptr) {
399 _updateListener.onUpdate(
this);
407 if (_contextMenuListener != nilptr) {
408 _contextMenuListener.onContextMenu(
this, x, y, reson);
433 if (_statusEvent != nilptr) {
434 _statusEvent.onWindowStateChange(
this, oldstate, state);
446 public void onShortcut(
int key,
int shortcutId,
bool ambig) {}
527 QtXnl.widget_set_object_value(nativehandle, Constant.SETTAG, obj);
530 return QtXnl.widget_get_object(nativehandle, Constant.GETTAG);
534 if (_treeitemevent != nilptr) {
535 _treeitemevent.onItemPressed((QTreeWidget)
this, item, column);
539 if (_treeitemevent != nilptr) {
540 _treeitemevent.onItemClicked((QTreeWidget)
this, item, column);
544 if (_treeitemevent != nilptr) {
545 _treeitemevent.onItemDoubleClicked((QTreeWidget)
this, item, column);
549 if (_treeitemevent != nilptr) {
550 _treeitemevent.onItemActived((QTreeWidget)
this, item, column);
554 if (_treeitemevent != nilptr) {
555 _treeitemevent.onItemEntered((QTreeWidget)
this, item, column);
559 if (_treeitemevent != nilptr) {
560 _treeitemevent.onItemChanged((QTreeWidget)
this, item, column);
564 if (_treeitemevent != nilptr) {
565 _treeitemevent.onItemExpanded((QTreeWidget)
this, item);
569 if (_treeitemevent != nilptr) {
570 _treeitemevent.onItemCollapsed((QTreeWidget)
this, item);
574 if (_treeitemevent != nilptr) {
575 _treeitemevent.onCurrentItemChanged((QTreeWidget)
this, cur, previous);
579 if (_treeitemevent != nilptr) {
580 _treeitemevent.onItemSelectionChanged((QTreeWidget)
this);
585 if (_clicklistener != nilptr) {
586 _clicklistener.onClick(
this, checked);
590 if (_clicklistener != nilptr) {
591 _clicklistener.onToggle(
this, checked);
595 if (_clicklistener != nilptr) {
596 _clicklistener.onPress(
this);
600 if (_clicklistener != nilptr) {
601 _clicklistener.onRelease(
this);
609 if (nativehandle != 0) {
610 QtXnl.widget_slot(nativehandle, Constant.NATIVEFINALIZE);
620 if (_sciEventListener != nilptr) {
621 _sciEventListener.QON_SELCHANGED((QScintilla)
this, yes);
625 if (_sciEventListener != nilptr) {
626 _sciEventListener.ON_AUTOCCANCELLED((QScintilla)
this);
630 if (_sciEventListener != nilptr) {
631 _sciEventListener.ON_AUTOCCHARDELETED((QScintilla)
this);
635 if (_sciEventListener != nilptr) {
636 _sciEventListener.ON_AUTOCCOMPLETED((QScintilla)
this, selection, position, ch, method);
640 if (_sciEventListener != nilptr) {
641 _sciEventListener.ON_AUTOCSELECTION((QScintilla)
this, selection, position, ch, method);
645 if (_sciEventListener != nilptr) {
646 _sciEventListener.ON_AUTOCSELECTION((QScintilla)
this, selection, position);
650 if (_sciEventListener != nilptr) {
651 _sciEventListener.SCEN_CHANGE((QScintilla)
this);
655 if (_sciEventListener != nilptr) {
656 _sciEventListener.ON_CALLTIPCLICK((QScintilla)
this, direction);
660 if (_sciEventListener != nilptr) {
661 _sciEventListener.ON_CHARADDED((QScintilla)
this, charadded);
665 if (_sciEventListener != nilptr) {
666 _sciEventListener.ON_DOUBLECLICK((QScintilla)
this, position, line, modifiers);
670 if (_sciEventListener != nilptr) {
671 _sciEventListener.ON_DWELLEND((QScintilla)
this, position, x, y);
675 if (_sciEventListener != nilptr) {
676 _sciEventListener.ON_DWELLSTART((QScintilla)
this, position, x, y);
680 if (_sciEventListener != nilptr) {
681 _sciEventListener.ON_FOCUSIN((QScintilla)
this);
685 if (_sciEventListener != nilptr) {
686 _sciEventListener.ON_FOCUSOUT((QScintilla)
this);
690 if (_sciEventListener != nilptr) {
691 _sciEventListener.ON_HOTSPOTCLICK((QScintilla)
this, position, modifiers);
695 if (_sciEventListener != nilptr) {
696 _sciEventListener.ON_HOTSPOTDOUBLECLICK((QScintilla)
this, position, modifiers);
700 if (_sciEventListener != nilptr) {
701 _sciEventListener.ON_HOTSPOTRELEASECLICK((QScintilla)
this, position, modifiers);
705 if (_sciEventListener != nilptr) {
706 _sciEventListener.ON_INDICATORCLICK((QScintilla)
this, position, modifiers);
710 if (_sciEventListener != nilptr) {
711 _sciEventListener.ON_INDICATORRELEASE((QScintilla)
this, position, modifiers);
715 if (_sciEventListener != nilptr) {
716 _sciEventListener.ON_MACRORECORD((QScintilla)
this, msg, wparam, lparam);
720 if (_sciEventListener != nilptr) {
721 _sciEventListener.ON_MARGINCLICK((QScintilla)
this, position, modifiers, margin);
725 if (_sciEventListener != nilptr) {
726 _sciEventListener.ON_MARGINRIGHTCLICK((QScintilla)
this, position, modifiers, margin);
729 public void ON_MODIFIED(
int position,
int modType,
String text,
int length,
int linesAdded,
int line,
int foldLevelNow,
int foldLevelPrev,
int token,
int annotationLinesAdded) {
730 if (_sciEventListener != nilptr) {
731 _sciEventListener.ON_MODIFIED((QScintilla)
this, position, modType, text, length, linesAdded, line, foldLevelNow, foldLevelPrev, token, annotationLinesAdded);
735 if (_sciEventListener != nilptr) {
736 _sciEventListener.ON_MODIFYATTEMPTRO((QScintilla)
this);
740 if (_sciEventListener != nilptr) {
741 _sciEventListener.ON_NEEDSHOWN((QScintilla)
this, position, length);
745 if (_sciEventListener != nilptr) {
746 _sciEventListener.ON_PAINTED((QScintilla)
this);
750 if (_sciEventListener != nilptr) {
751 _sciEventListener.ON_SAVEPOINTLEFT((QScintilla)
this);
755 if (_sciEventListener != nilptr) {
756 _sciEventListener.ON_SAVEPOINTREACHED((QScintilla)
this);
760 if (_sciEventListener != nilptr) {
761 _sciEventListener.ON_STYLENEEDED((QScintilla)
this, position);
765 if (_sciEventListener != nilptr) {
766 _sciEventListener.ON_UPDATEUI((QScintilla)
this, updated);
770 if (_sciEventListener != nilptr) {
771 _sciEventListener.ON_USERLISTSELECTION((QScintilla)
this, text, wparam, ch, listCompletionMethod);
775 if (_sciEventListener != nilptr) {
776 _sciEventListener.ON_USERLISTSELECTION((QScintilla)
this, text, wparam);
780 if (_sciEventListener != nilptr) {
781 _sciEventListener.ON_ZOOM((QScintilla)
this);
786 if (_editEventListener != nilptr) {
787 _editEventListener.onTextChanged(
this, text);
792 if (_editEventListener != nilptr) {
793 _editEventListener.onTextEdited(
this, text);
798 if (_editEventListener != nilptr) {
799 _editEventListener.onCursorPositionChanged(
this, n, o);
804 if (_editEventListener != nilptr) {
805 _editEventListener.onReturnPressed(
this);
810 if (_editEventListener != nilptr) {
811 _editEventListener.onEditingFinished(
this);
816 if (_editEventListener != nilptr) {
817 _editEventListener.onSelectionChanged(
this);
822 if (_comboboxListener != nilptr) {
823 _comboboxListener.onCurrentTextChange(
this, text);
828 if (_comboboxListener != nilptr) {
829 _comboboxListener.onActivated(
this,
id);
834 if (_comboboxListener != nilptr) {
835 _comboboxListener.onItemSelected(
this,
id);
841 if (_fsweListener != nilptr) {
842 _fsweListener.onFileChanged(
this, path);
847 if (_fsweListener != nilptr) {
848 _fsweListener.onDirChange(
this, path);
852 if (_tableenvlis != nilptr) {
853 _tableenvlis.onCellChange((QTableWidget)
this, row, column);
857 if (_tableenvlis != nilptr) {
858 _tableenvlis.onItemChange((QTableWidget)
this, item);
862 if (_tableenvlis != nilptr) {
863 _tableenvlis.onCellPress((QTableWidget)
this, row, column);
867 if (_tableenvlis != nilptr) {
868 _tableenvlis.onItemPress((QTableWidget)
this, item);
872 if (_tableenvlis != nilptr) {
873 _tableenvlis.onCellClick((QTableWidget)
this, row, column);
877 if (_tableenvlis != nilptr) {
878 _tableenvlis.onItemClick((QTableWidget)
this, item);
882 if (_tableenvlis != nilptr) {
883 _tableenvlis.onCellDBClick((QTableWidget)
this, row, column);
887 if (_tableenvlis != nilptr) {
888 _tableenvlis.onItemDBClick((QTableWidget)
this, item);
892 if (_tableenvlis != nilptr) {
893 _tableenvlis.onCellEnter((QTableWidget)
this, row, column);
897 if (_tableenvlis != nilptr) {
898 _tableenvlis.onItemEnter((QTableWidget)
this, item);
902 if (_tableenvlis != nilptr) {
903 _tableenvlis.onCellActived((QTableWidget)
this, row, column);
907 if (_tableenvlis != nilptr) {
908 _tableenvlis.onItemActived((QTableWidget)
this, item);
926 String [] params = {strName, strExt, strAppName, args, strAppKey, strDefaultIcon, strDescribe};
927 return QtXnl.array_int2(0, Constant.ASSOCIATEEXT, params, 0, 0);
931 String [] params = {strName, strExt, strAppKey};
932 return QtXnl.array_int2(0, Constant.CHECKASSOCIATED, params, 0, 0);
void ON_HOTSPOTCLICK(int position, int modifiers)
void onInputMethodQuery()
void setOnFileSystemChangeListener(onFileSystemChangeListener l)
void onDeactivateControl()
void onHelpRequest(int x,int y)
void onNonClientAreaMouseButtonPress()
void onGraphicsSceneDragMove()
void setOnStatusListener(onStatusListener l)
void onAcceptDropsChange()
void ON_MACRORECORD(int msg, long wparam, long lparam)
void onToggle(bool checked)
void onPaint(int l,int t, int r,int b, long hpaint)
void onHoverMove(int x,int y)
void setOnSciEventListener(SciEventListener l)
void onApplicationStateChange()
void onLeaveWhatsThisMode()
void onFocusIn(bool focus, int reson)
bool onDragEnter(int l,int t,int r,int b)
void ON_AUTOCCOMPLETED(String selection, int position, int ch, int method)
void setOnFocusEventListener(onFocusEventListener l)
void onItemCollapsed(long item)
void ON_AUTOCSELECTION(String selection, int position)
void setOnUpdateListener(onUpdateListener l)
void onCurrentTextChange(String text)
void onGraphicsSceneDragLeave()
void onTabletTrackingChange()
public<T:QObject> T attachByName(String name)
void ON_MARGINCLICK(int position, int modifiers, int margin)
void onMouseButtonPress(int Button, int x, int y, int flags, int source)
void onGraphicsSceneMouseMove()
void onEnterWhatsThisMode()
void setOnTableWidgetEventListener(TableWidgetEventListener l)
void onFileChanged(String path)
void onItemPressed(long item, int column)
void onGraphicsSceneHoverMove()
void onShortcutOverride()
void ON_USERLISTSELECTION(String text, int wparam, int ch, int listCompletionMethod)
void onCellPress(int row,int column)
void onEnter(int x, int y)
void onGraphicsSceneDragEnter()
void onMouseTrackingChange()
void onGraphicsSceneContextMenu()
void onGraphicsSceneDrop()
void onCellChange(int row,int column)
void ON_CALLTIPCLICK(int direction)
QObject attachObjectByName(@NotNilptr QObject newObj, String name)
void onCurrentItemChanged(long cur, long previous)
bool onDragMove(int l,int t,int r,int b)
void onNotification(long eventid)
void onGraphicsSceneResize()
void onGraphicsSceneMove()
bool onDragLeave(int l,int t,int r,int b)
void onContextMenu(int x,int y, int reson)
void onLayoutDirectionChange()
void ON_HOTSPOTRELEASECLICK(int position, int modifiers)
void onHoverLeave(int x,int y)
void onStatusTip(String tips)
void onDynamicPropertyChange()
void onEmbeddingControl()
void onWindowDeactivate()
public<T:QObject> T findByName(String name)
void onItemEntered(long item, int column)
void setOnScopeEventListener(onScopeEventListener l)
void onNetworkReplyUpdated()
void setOnComboBoxEventListener(onComboBoxEventListener l)
void onItemEnter(long item)
bool onKeyRelease(int key, bool repeat, int count, String text, int scanCode, int virtualKey, int modifier)
void onMacGLWindowChange()
void setOnEventListener(onEventListener l)
void onFocusAboutToChange(bool focus, int reson)
static bool associateExt(String strName, String strExt, String strAppName, String args, String strAppKey, String strDefaultIcon, String strDescribe)
void QON_SELCHANGED(bool yes)
void onKeyboardLayoutChange()
void ON_HOTSPOTDOUBLECLICK(int position, int modifiers)
void setOnLayoutEventListener(onLayoutEventListener l)
void onRequestSoftwareInputPanel()
void onToolTip(int x,int y)
void setOnEditEventListener(onEditEventListener l)
void onGraphicsSceneMouseRelease()
void onNonClientAreaMouseButtonRelease()
void onTextChanged(String text)
void setOnMouseEventListener(onMouseEventListener l)
void onActivationChange()
void onApplicationDeactivate()
void onGraphicsSceneWheel()
void runOnUi(Runnable task)
void onStateMachineSignal()
void ON_MODIFIED(int position, int modType, String text, int length, int linesAdded, int line, int foldLevelNow, int foldLevelPrev, int token, int annotationLinesAdded)
void onEnumPropertyValueChanged(long prop, int item)
void ON_DOUBLECLICK(int position, int line, int modifiers)
void onItemPress(long item)
void onCellActived(int row,int column)
void onShortcut(int key, int shortcutId, bool ambig)
void onCellClick(int row,int column)
void onTabletEnterProximity()
void ON_SAVEPOINTREACHED()
void onItemChanged(long item, int column)
bool onKeyPress(int key, bool repeat, int count, String text, int scanCode, int virtualKey, int modifier)
void onMouseButtonRelease(int Button, int x, int y, int flags, int source)
void onWheel(int button, int x,int y,int Orientation,int delta, bool inverted)
void setOnActivateListener(onActivateListener l)
void onOrientationChange()
void onResize(int w, int h, int oldw, int oldh)
void setOnDragListener(onDragListener l)
void ON_UPDATEUI(int updated)
void onHoverEnter(int x,int y)
bool attach(@NotNilptr QObject obj)
static bool isUIEventSynched()
void onItemChange(long item)
void setOnContextMenuListener(onContextMenuListener l)
void onWindowChangeInternal()
void onCloseSoftwareInputPanel()
void onCellDBClick(int row,int column)
void onWindowStateChange(int oldstate, int state)
void ON_STYLENEEDED(int position)
void onItemSelected(int id)
void onSelectionChanged()
void onTextEdited(String text)
void onItemDBClick(long item)
void onGraphicsSceneMouseDoubleClick()
void onGraphicsSceneHoverEnter()
void onVariantPropertyValueChanged(long prop, int dataType, String stringValue)
static void setUIEventSynched(bool bs)
void onStateMachineWrapped()
void onItemExpanded(long item)
static void runOnThread(Runnable task)
void onItemClick(long item)
void onCursorPositionChanged(int n,int o)
static bool checkAssociate(String strName, String strExt, String strAppKey)
QObject findObjectByName(String name)
void ON_DWELLSTART(int position, int x, int y)
void setName(String name)
void ON_INDICATORCLICK(int position, int modifiers)
void ON_DWELLEND(int position, int x, int y)
void onItemActived(long item, int column)
void onGraphicsSceneHoverLeave()
void onMacGLClearDrawable()
void onApplicationActivate()
void onNonClientAreaMouseButtonDblClick()
void onFocusOut(bool focus, int reson)
void onContentsRectChange()
void setOnPaintListener(onPaintListener l)
void setOnTreeViewItemEvent(onTreeViewItemEvent l)
void onMouseMove(int Button, int x, int y, int flags, int source)
void onGraphicsSceneMousePress()
void onItemClicked(long item, int column)
void onDrop(Object object)
void ON_MARGINRIGHTCLICK(int position, int modifiers, int margin)
void onTabletLeaveProximity()
void ON_NEEDSHOWN(int position, int length)
void onDirChange(String path)
void setOnNotifyListener(onNotifyListener l)
void onScreenChangeInternal()
void onVariantPropertyAttributeChanged(long prop,String strAttributr, int dataType, String stringValue)
void onGraphicsSceneHelp()
void onStyleAnimationUpdate()
final void onNotify(long eventid)
void ON_MODIFYATTEMPTRO()
void setOnKeyEventListener(onKeyEventListener l)
void ON_AUTOCSELECTION(String selection, int position, int ch, int method)
void onNonClientAreaMouseMove()
void ON_CHARADDED(int charadded)
void onWhatsThis(int x,int y)
void onParentAboutToChange()
void onItemActived(long item)
void onWhatsThisClicked()
void ON_USERLISTSELECTION(String text, int wparam)
void onCellEnter(int row,int column)
void onItemSelectionChanged()
void onMove(int x,int y,int oldx,int oldy)
void ON_INDICATORRELEASE(int position, int modifiers)
void onMouseButtonDblClick(int Button, int x, int y, int flags, int source)
void ON_AUTOCCHARDELETED()
void setOnClickListener(onClickListener l)
void onItemDoubleClicked(long item, int column)
void onClick(bool checked)