|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.content.Context
android.content.ContextWrapper
android.view.ContextThemeWrapper
android.app.Activity
greendroid.app.GDActivity
com.zuowuxuxi.common.GDBase
com.hipipal.texteditor._ABaseAct
com.hipipal.texteditor.TedActivity
public class TedActivity
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface android.text.NoCopySpan |
---|
android.text.NoCopySpan.Concrete |
Field Summary | |
---|---|
static java.lang.String |
TAG
|
Fields inherited from class com.zuowuxuxi.common.GDBase |
---|
progressHandler, wv, wvProgressBar |
Fields inherited from class android.app.Activity |
---|
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK |
Fields inherited from class android.content.Context |
---|
ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, AUDIO_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, BLUETOOTH_SERVICE, CAPTIONING_SERVICE, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DISPLAY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_ROUTER_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, UI_MODE_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE |
Fields inherited from interface greendroid.app.ActionBarActivity |
---|
GD_ACTION_BAR_TITLE, GD_ACTION_BAR_VISIBILITY |
Fields inherited from interface android.content.ComponentCallbacks2 |
---|
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN |
Constructor Summary | |
---|---|
TedActivity()
|
Method Summary | |
---|---|
void |
afterTextChanged(android.text.Editable s)
|
void |
beforeTextChanged(java.lang.CharSequence s,
int start,
int count,
int after)
|
int |
createLayout()
|
void |
endScreen()
|
void |
goToLine()
Go to Line number in file |
void |
leftIndent()
Indent the text left |
int |
NewLineIndex(int indexNewLine)
Calculate the index of the Nth new line |
void |
onBack(android.view.View v)
|
void |
onBrowser(android.view.View v)
|
void |
onClick(android.view.View v)
|
void |
onExitPrompt1(android.view.View v)
|
void |
onExitPrompt2(android.view.View v)
|
boolean |
onHandleActionBarItemClick(greendroid.widget.ActionBarItem item,
int position)
|
void |
onHistory(android.view.View v)
|
boolean |
onKeyDown(int keyCoder,
android.view.KeyEvent event)
|
boolean |
onKeyShortcut(int keyCode,
android.view.KeyEvent event)
Defines the keyboard layout |
boolean |
onKeyUp(int keyCode,
android.view.KeyEvent event)
|
void |
onLeft(android.view.View v)
|
boolean |
onOptionsItemSelected(android.view.MenuItem item)
|
void |
onPlay(android.view.View v)
|
void |
onRight(android.view.View v)
|
void |
onSave(android.view.View v)
|
void |
onSaveAs(android.view.View v)
|
void |
onSearch(android.view.View v)
|
void |
onSetting(android.view.View v)
|
void |
onTextChanged(java.lang.CharSequence s,
int start,
int before,
int count)
|
void |
rightIndnent()
Indent the text right |
void |
runScript()
Run the current script |
void |
setSearch()
|
Methods inherited from class com.hipipal.texteditor._ABaseAct |
---|
callPyApi, confGetUpdateURL, getUpdateSrv, onAbout, onConfigurationChanged, onGSetting, playFromRemote |
Methods inherited from class com.zuowuxuxi.common.GDBase |
---|
checkUpdate, closeWaitWindow, disNotify, disNotifyContent, initAD, initWebView, LoadAd, loadContent, loadurl, onAdCollapsed, onAdExpanded, onAdFailedToLoad, onAdLoaded, onCheckUpdate, onCreateDialog, onFeedback, onRefresh, openURL, openWaitWindow, playMusic, playTube, progress, sendWithBt, tapjoyInitIfUnavailable, tapjoySelect, tapjoyVideoAdRequest, useProxyInWebView, xprogress |
Methods inherited from class greendroid.app.GDActivity |
---|
addActionBarItem, addActionBarItem, addActionBarItem, addActionBarItem, getActionBarType, getContentView, getGDActionBar, getGDApplication, onContentChanged, onPostContentChanged, onPreContentChanged, setActionBarContentView, setActionBarContentView, setActionBarContentView, setTitle, setTitle |
Methods inherited from class android.app.Activity |
---|
addContentView, closeContextMenu, closeOptionsMenu, createPendingResult, dismissDialog, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, dump, findViewById, finish, finishActivity, finishActivityFromChild, finishAffinity, finishFromChild, getActionBar, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getFragmentManager, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLoaderManager, getLocalClassName, getMenuInflater, getParent, getParentActivityIntent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWindow, getWindowManager, hasWindowFocus, invalidateOptionsMenu, isChangingConfigurations, isChild, isDestroyed, isFinishing, isImmersive, isTaskRoot, managedQuery, moveTaskToBack, navigateUpTo, navigateUpToFromChild, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onAttachFragment, onBackPressed, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateNavigateUpTaskStack, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onCreateView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onLowMemory, onMenuItemSelected, onMenuOpened, onNavigateUp, onNavigateUpFromChild, onOptionsMenuClosed, onPanelClosed, onPrepareNavigateUpTaskStack, onPrepareOptionsMenu, onPreparePanel, onProvideAssistData, onRetainNonConfigurationInstance, onSearchRequested, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, overridePendingTransition, recreate, registerForContextMenu, removeDialog, reportFullyDrawn, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setFinishOnTouchOutside, setImmersive, setIntent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitleColor, setVisible, setVolumeControlStream, shouldUpRecreateTask, showDialog, showDialog, startActionMode, startActivities, startActivities, startActivity, startActivity, startActivityForResult, startActivityForResult, startActivityFromChild, startActivityFromChild, startActivityFromFragment, startActivityFromFragment, startActivityIfNeeded, startActivityIfNeeded, startIntentSender, startIntentSender, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromChild, startIntentSenderFromChild, startManagingCursor, startNextMatchingActivity, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, triggerSearch, unregisterForContextMenu |
Methods inherited from class android.view.ContextThemeWrapper |
---|
applyOverrideConfiguration, getResources, getTheme, setTheme |
Methods inherited from class android.content.ContextWrapper |
---|
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createConfigurationContext, createDisplayContext, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getFilesDir, getFileStreamPath, getMainLooper, getObbDir, getObbDirs, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getSharedPreferences, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver |
Methods inherited from class android.content.Context |
---|
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, unregisterComponentCallbacks |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG
Constructor Detail |
---|
public TedActivity()
Method Detail |
---|
public void setSearch()
public int createLayout()
createLayout
in interface greendroid.app.ActionBarActivity
createLayout
in class greendroid.app.GDActivity
public boolean onOptionsItemSelected(android.view.MenuItem item)
onOptionsItemSelected
in class android.app.Activity
Activity.onOptionsItemSelected(android.view.MenuItem)
public void onSetting(android.view.View v)
public void beforeTextChanged(java.lang.CharSequence s, int start, int count, int after)
beforeTextChanged
in interface android.text.TextWatcher
TextWatcher.beforeTextChanged(java.lang.CharSequence,
int, int, int)
public void onTextChanged(java.lang.CharSequence s, int start, int before, int count)
onTextChanged
in interface android.text.TextWatcher
TextWatcher.onTextChanged(java.lang.CharSequence, int,
int, int)
public void afterTextChanged(android.text.Editable s)
afterTextChanged
in interface android.text.TextWatcher
TextWatcher.afterTextChanged(android.text.Editable)
public boolean onKeyUp(int keyCode, android.view.KeyEvent event)
onKeyUp
in interface android.view.KeyEvent.Callback
onKeyUp
in class android.app.Activity
Activity.onKeyUp(int, android.view.KeyEvent)
public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
View.OnClickListener.onClick(View)
public void onBrowser(android.view.View v)
public boolean onHandleActionBarItemClick(greendroid.widget.ActionBarItem item, int position)
onHandleActionBarItemClick
in interface greendroid.app.ActionBarActivity
onHandleActionBarItemClick
in class greendroid.app.GDActivity
public boolean onKeyDown(int keyCoder, android.view.KeyEvent event)
onKeyDown
in interface android.view.KeyEvent.Callback
onKeyDown
in class android.app.Activity
public void endScreen()
public void onExitPrompt1(android.view.View v)
public void onExitPrompt2(android.view.View v)
public void onLeft(android.view.View v)
public void leftIndent()
public void onRight(android.view.View v)
public void rightIndnent()
public void onBack(android.view.View v)
onBack
in class com.zuowuxuxi.common.GDBase
public int NewLineIndex(int indexNewLine)
indexNewLine
- New line to find
public void goToLine()
public void onPlay(android.view.View v)
public void runScript()
public void onSearch(android.view.View v)
public void onSave(android.view.View v)
public void onSaveAs(android.view.View v)
public void onHistory(android.view.View v)
public boolean onKeyShortcut(int keyCode, android.view.KeyEvent event)
onKeyShortcut
in class android.app.Activity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |