You've already forked lazarus-ccr
Android: Finishes the large rework of the callback system. Now it can implement many more callbacks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1833 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -50,12 +50,116 @@ method void getMetrics(DisplayMetrics outMetrics)
|
||||
method Display getDefaultDisplay()
|
||||
|
||||
[Dialog] TJavaObject
|
||||
#void addContentView(View view, ViewGroup.LayoutParams params)
|
||||
#void cancel()
|
||||
#void closeOptionsMenu()
|
||||
#void dismiss()
|
||||
#boolean dispatchGenericMotionEvent(MotionEvent ev)
|
||||
#boolean dispatchKeyEvent(KeyEvent event)
|
||||
#boolean dispatchKeyShortcutEvent(KeyEvent event)
|
||||
#boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event)
|
||||
#boolean dispatchTouchEvent(MotionEvent ev)
|
||||
#boolean dispatchTrackballEvent(MotionEvent ev)
|
||||
#View findViewById(int id)
|
||||
#ActionBar getActionBar()
|
||||
#final Context getContext()
|
||||
#View getCurrentFocus()
|
||||
#LayoutInflater getLayoutInflater()
|
||||
#final Activity getOwnerActivity()
|
||||
#final int getVolumeControlStream()
|
||||
#Window getWindow()
|
||||
#void hide()
|
||||
#void invalidateOptionsMenu()
|
||||
#boolean isShowing()
|
||||
#void onActionModeFinished(ActionMode mode)
|
||||
#void onActionModeStarted(ActionMode mode)
|
||||
#void onAttachedToWindow()
|
||||
#void onBackPressed()
|
||||
#void onContentChanged()
|
||||
#boolean onContextItemSelected(MenuItem item)
|
||||
#void onContextMenuClosed(Menu menu)
|
||||
#void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
|
||||
#boolean onCreateOptionsMenu(Menu menu)
|
||||
#boolean onCreatePanelMenu(int featureId, Menu menu)
|
||||
#View onCreatePanelView(int featureId)
|
||||
#void onDetachedFromWindow()
|
||||
#boolean onGenericMotionEvent(MotionEvent event)
|
||||
#boolean onKeyDown(int keyCode, KeyEvent event)
|
||||
#boolean onKeyLongPress(int keyCode, KeyEvent event)
|
||||
#boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
|
||||
#boolean onKeyShortcut(int keyCode, KeyEvent event)
|
||||
#boolean onKeyUp(int keyCode, KeyEvent event)
|
||||
#boolean onMenuItemSelected(int featureId, MenuItem item)
|
||||
#boolean onMenuOpened(int featureId, Menu menu)
|
||||
#boolean onOptionsItemSelected(MenuItem item)
|
||||
#void onOptionsMenuClosed(Menu menu)
|
||||
#void onPanelClosed(int featureId, Menu menu)
|
||||
#boolean onPrepareOptionsMenu(Menu menu)
|
||||
#boolean onPreparePanel(int featureId, View view, Menu menu)
|
||||
#void onRestoreInstanceState(Bundle savedInstanceState)
|
||||
#Bundle onSaveInstanceState()
|
||||
#boolean onSearchRequested()
|
||||
#boolean onTouchEvent(MotionEvent event)
|
||||
#boolean onTrackballEvent(MotionEvent event)
|
||||
#void onWindowAttributesChanged(WindowManager.LayoutParams params)
|
||||
#void onWindowFocusChanged(boolean hasFocus)
|
||||
#ActionMode onWindowStartingActionMode(ActionMode.Callback callback)
|
||||
#void openContextMenu(View view)
|
||||
#void openOptionsMenu()
|
||||
#void registerForContextMenu(View view)
|
||||
#final boolean requestWindowFeature(int featureId)
|
||||
#void setCancelMessage(Message msg)
|
||||
#void setCancelable(boolean flag)
|
||||
#void setCanceledOnTouchOutside(boolean cancel)
|
||||
#void setContentView(View view)
|
||||
#void setContentView(int layoutResID)
|
||||
#void setContentView(View view, ViewGroup.LayoutParams params)
|
||||
#void setDismissMessage(Message msg)
|
||||
#final void setFeatureDrawable(int featureId, Drawable drawable)
|
||||
#final void setFeatureDrawableAlpha(int featureId, int alpha)
|
||||
#final void setFeatureDrawableResource(int featureId, int resId)
|
||||
#final void setFeatureDrawableUri(int featureId, Uri uri)
|
||||
#void setOnCancelListener(DialogInterface.OnCancelListener listener)
|
||||
#void setOnDismissListener(DialogInterface.OnDismissListener listener)
|
||||
#void setOnKeyListener(DialogInterface.OnKeyListener onKeyListener)
|
||||
#void setOnShowListener(DialogInterface.OnShowListener listener)
|
||||
#final void setOwnerActivity(Activity activity)
|
||||
#void setTitle(int titleId)
|
||||
#void setTitle(CharSequence title)
|
||||
#final void setVolumeControlStream(int streamType)
|
||||
method void show()
|
||||
#void takeKeyEvents(boolean get)
|
||||
#void unregisterForContextMenu(View view)
|
||||
|
||||
[AlertDialog] Dialog
|
||||
const THEME_HOLO_DARK = $00000002;
|
||||
const THEME_HOLO_LIGHT = $00000003;
|
||||
const THEME_TRADITIONAL = $00000001;
|
||||
# Button getButton(int whichButton)
|
||||
# ListView getListView()
|
||||
# boolean onKeyDown(int keyCode, KeyEvent event)
|
||||
# boolean onKeyUp(int keyCode, KeyEvent event)
|
||||
# void setButton(CharSequence text, Message msg)
|
||||
callbacksetter void setButton(int whichButton, CharSequence text, $DialogInterface.OnClickListener listener)
|
||||
# void setButton(CharSequence text, DialogInterface.OnClickListener listener)
|
||||
# void setButton(int whichButton, CharSequence text, Message msg)
|
||||
# void setButton2(CharSequence text, DialogInterface.OnClickListener listener)
|
||||
# void setButton2(CharSequence text, Message msg)
|
||||
# void setButton3(CharSequence text, DialogInterface.OnClickListener listener)
|
||||
# void setButton3(CharSequence text, Message msg)
|
||||
# void setCustomTitle(View customTitleView)
|
||||
#void setIcon(Drawable icon)
|
||||
#void setIcon(int resId)
|
||||
#void setIconAttribute(int attrId)
|
||||
# void setInverseBackgroundForced(boolean forceInverseBackground)
|
||||
method void setMessage(CharSequence message)
|
||||
method void setTitle(CharSequence title)
|
||||
#void setView(View view, int viewSpacingLeft, int viewSpacingTop, int viewSpacingRight, int viewSpacingBottom)
|
||||
method void setView(View view)
|
||||
|
||||
[AlertDialog.Builder] TJavaObject
|
||||
constructor Create(Activity)
|
||||
#public AlertDialog create ()
|
||||
method AlertDialog create ()
|
||||
#public Context getContext ()
|
||||
#public AlertDialog.Builder setAdapter (ListAdapter adapter, DialogInterface.OnClickListener listener)
|
||||
#public AlertDialog.Builder setCancelable (boolean cancelable)
|
||||
@ -79,7 +183,7 @@ method AlertDialog.Builder setMessage (CharSequence message)
|
||||
#public AlertDialog.Builder setOnKeyListener (DialogInterface.OnKeyListener onKeyListener)
|
||||
#public AlertDialog.Builder setPositiveButton (int textId, DialogInterface.OnClickListener listener)
|
||||
#public AlertDialog.Builder setPositiveButton (CharSequence text, DialogInterface.OnClickListener listener)
|
||||
# callbacksetter AlertDialog.Builder setPositiveButton (CharSequence text, DialogInterface.OnClickListener $listener)
|
||||
#callbacksetter AlertDialog.Builder setPositiveButton (CharSequence text, $DialogInterface.OnClickListener listener)
|
||||
#public AlertDialog.Builder setSingleChoiceItems (CharSequence[] items, int checkedItem, DialogInterface.OnClickListener listener)
|
||||
#public AlertDialog.Builder setSingleChoiceItems (ListAdapter adapter, int checkedItem, DialogInterface.OnClickListener listener)
|
||||
#public AlertDialog.Builder setSingleChoiceItems (int itemsId, int checkedItem, DialogInterface.OnClickListener listener)
|
||||
|
Reference in New Issue
Block a user