com.hipipal.texteditor.common
Interface Constants

All Known Subinterfaces:
TextChange
All Known Implementing Classes:
AdvancedEditText, RecentFiles, Settings, TedActivity, TedAppWidgetProvider, TedLocalActivity, TedOpenActivity, TedOpenRecentActivity, TedSaveAsActivity, TedSettingsActivity, TedWidgetConfigActivity, TextChangeDelete, TextChangeInsert, TextChangeWatcher, TextFileUtils

public interface Constants

Author:
x.gouchet

Field Summary
static java.lang.String ACTION_WIDGET_OPEN
           
static java.lang.String BACKUP_FILE_NAME
          name of the backup file
static int COLOR_CLASSIC
          color theme default : black on white ( = 0 )
static int COLOR_DRACULA
          color theme dracula : red on black ( = 4 )
static int COLOR_MATRIX
          color theme matrix : green on dark green ( = 2 )
static int COLOR_NEGATIVE
          color theme negative : white on black ( = 1 )
static int COLOR_SKY
          color theme sky : darkblue on skyblue ( = 3 )
static java.lang.String ENC_ASCII
          Encoding : 7 bit ASCII ( = "US-ASCII" )
static java.lang.String ENC_LATIN
          Encoding : ISO Latin Alphabet, aka ISO-LATIN-1 ( = "ISO-8859-1" )
static java.lang.String ENC_UTF8
          Encoding : 8 bit UCS Transformation Format ( = "UTF-8" )
static int EOL_LINUX
          End of line setting for Linux files ( = 0 )
static int EOL_MAC
          End of line setting for Mac files ( = 2 )
static int EOL_WINDOWS
          End of line setting for Windows files ( = 1 )
static java.lang.String EXTRA_FORCE_READ_ONLY
          Extra to force read only from widget
static java.lang.String EXTRA_REQUEST_CODE
          extra when browsing for file
static java.lang.String FONT_FILE_NAME
          Font file
static java.lang.String FONT_FOLDER_NAME
          Fonts folder
static int MENU_ID_ABOUT
          open the about page ( = 6 )
static int MENU_ID_NEW
          clears the current text ( = 0 )
static int MENU_ID_OPEN
          open an existing file
static int MENU_ID_OPEN_RECENT
          open an existing file ( = 4 )
static int MENU_ID_QUIT
          Quit the app ( = 666 )
static int MENU_ID_REDO
          redo last change ( = 9 )
static int MENU_ID_SAVE
          Saves the file ( = 1 )
static int MENU_ID_SAVE_AS
          Savesas a new file ( = 2 )
static int MENU_ID_SEARCH
          Search a string in the file ( = 7 )
static int MENU_ID_SETTINGS
          open the settings ( = 5 )
static int MENU_ID_UNDO
          undo last change ( = 8 )
static java.lang.String PREFERENCE_ALLOW_UNDO
          Preference tag to retrieve if undo history is allowed ( = "allow_undo" )
static java.lang.String PREFERENCE_AUTO_SAVE
          Preference tag to retrieve the Auto mode ( = "force_auto_save" )
static java.lang.String PREFERENCE_AUTO_SAVE_OVERWRITE
          Preference tag to retrieve the Auto mode ( = "auto_save_overwrite" )
static java.lang.String PREFERENCE_BACK_BUTTON_AS_UNDO
          Preference tag to retrieve the back button as undo ( = "back_button_as_undo" )
static java.lang.String PREFERENCE_COLOR_THEME
          Preference tag to retrieve the Color Theme ( = "color_theme" )
static java.lang.String PREFERENCE_ENCODING
          Preference tag to retrieve the Encoding pref ( = "encoding" )
static java.lang.String PREFERENCE_END_OF_LINES
          Preference tag to retrieve the End of lines pref ( = "end_of_lines" )
static java.lang.String PREFERENCE_FLING_TO_SCROLL
          Preference tag to retrieve the fling to scroll ( = "fling_to_scroll" )
static java.lang.String PREFERENCE_FONT
          Preference tag to the text font ( = "text_font" )
static java.lang.String PREFERENCE_HIGHLIGHT
          Preference tag to retrieve the Syntax Highlight ( = "highlight_syntax" )
static java.lang.String PREFERENCE_HOME_PAGE_PATH
          Preference tag to retrieve the home page path ( = "home_page_path" )
static java.lang.String PREFERENCE_MAX_RECENTS
          Preference tag to retrieve the recent files ( = "max_recent_files" )
static java.lang.String PREFERENCE_MAX_UNDO_STACK
          Preference tag to retrieve the max undo stack ( = "max_undo_stack" )
static java.lang.String PREFERENCE_RECENTS
          Preference tag to retrieve the recent files ( = "recent_files" )
static java.lang.String PREFERENCE_SEARCH_MATCH_CASE
          Preference tag to retrieve the search match case ( = "search_match_case" )
static java.lang.String PREFERENCE_SEARCHWRAP
          Preference tag to retrieve the searchwrap ( = "search_wrap" )
static java.lang.String PREFERENCE_SELECT_FONT
          Preference tag to select the font ( = "select_font" )
static java.lang.String PREFERENCE_SHOW_LINE_NUMBERS
          Preference tag to retrieve the show line number ( = "show_line_numbers" )
static java.lang.String PREFERENCE_TEXT_SIZE
          Preference tag to retrieve the Text Size ( = "text_size" )
static java.lang.String PREFERENCE_USE_HOME_PAGE
          Preference tag to retrieve the use home page ( = "use_home_page" )
static java.lang.String PREFERENCE_WORDWRAP
          Preference tag to retrieve the wordwrap ( = "auto_break_lines" )
static java.lang.String PREFERENCES_NAME
          name of the shared preferences for this app ( = "com.hipipal.texteditor" )
static int REQUEST_FONT
          Request code for Font Activity
static int REQUEST_HOME_PAGE
          Request code for Home Page Activity
static int REQUEST_OPEN
          Request code for Open Activity
static int REQUEST_RECENT
           
static int REQUEST_SAVE_AS
          Request code for Save As Activity
static int RESULT_ERROR
          an error result
static java.io.File STORAGE
          File of the external storage data
static java.lang.String STORAGE_PATH
          Path to the external storage data
static java.lang.String TAG
          Tag for the log ( = "TED" )
static int TEXT_SIZE_MAX
          maximum text size
static int TEXT_SIZE_MIN
          minimum text size
 

Field Detail

TAG

static final java.lang.String TAG
Tag for the log ( = "TED" )

See Also:
Constant Field Values

ACTION_WIDGET_OPEN

static final java.lang.String ACTION_WIDGET_OPEN
See Also:
Constant Field Values

FONT_FOLDER_NAME

static final java.lang.String FONT_FOLDER_NAME
Fonts folder

See Also:
Constant Field Values

FONT_FILE_NAME

static final java.lang.String FONT_FILE_NAME
Font file

See Also:
Constant Field Values

MENU_ID_NEW

static final int MENU_ID_NEW
clears the current text ( = 0 )

See Also:
Constant Field Values

MENU_ID_SAVE

static final int MENU_ID_SAVE
Saves the file ( = 1 )

See Also:
Constant Field Values

MENU_ID_SAVE_AS

static final int MENU_ID_SAVE_AS
Savesas a new file ( = 2 )

See Also:
Constant Field Values

MENU_ID_OPEN

static final int MENU_ID_OPEN
open an existing file

See Also:
Constant Field Values

MENU_ID_OPEN_RECENT

static final int MENU_ID_OPEN_RECENT
open an existing file ( = 4 )

See Also:
Constant Field Values

MENU_ID_SETTINGS

static final int MENU_ID_SETTINGS
open the settings ( = 5 )

See Also:
Constant Field Values

MENU_ID_ABOUT

static final int MENU_ID_ABOUT
open the about page ( = 6 )

See Also:
Constant Field Values

MENU_ID_SEARCH

static final int MENU_ID_SEARCH
Search a string in the file ( = 7 )

See Also:
Constant Field Values

MENU_ID_UNDO

static final int MENU_ID_UNDO
undo last change ( = 8 )

See Also:
Constant Field Values

MENU_ID_REDO

static final int MENU_ID_REDO
redo last change ( = 9 )

See Also:
Constant Field Values

MENU_ID_QUIT

static final int MENU_ID_QUIT
Quit the app ( = 666 )

See Also:
Constant Field Values

STORAGE

static final java.io.File STORAGE
File of the external storage data


STORAGE_PATH

static final java.lang.String STORAGE_PATH
Path to the external storage data


BACKUP_FILE_NAME

static final java.lang.String BACKUP_FILE_NAME
name of the backup file

See Also:
Constant Field Values

PREFERENCES_NAME

static final java.lang.String PREFERENCES_NAME
name of the shared preferences for this app ( = "com.hipipal.texteditor" )

See Also:
Constant Field Values

PREFERENCE_RECENTS

static final java.lang.String PREFERENCE_RECENTS
Preference tag to retrieve the recent files ( = "recent_files" )

See Also:
Constant Field Values

PREFERENCE_MAX_RECENTS

static final java.lang.String PREFERENCE_MAX_RECENTS
Preference tag to retrieve the recent files ( = "max_recent_files" )

See Also:
Constant Field Values

PREFERENCE_SHOW_LINE_NUMBERS

static final java.lang.String PREFERENCE_SHOW_LINE_NUMBERS
Preference tag to retrieve the show line number ( = "show_line_numbers" )

See Also:
Constant Field Values

PREFERENCE_WORDWRAP

static final java.lang.String PREFERENCE_WORDWRAP
Preference tag to retrieve the wordwrap ( = "auto_break_lines" )

See Also:
Constant Field Values

PREFERENCE_SEARCHWRAP

static final java.lang.String PREFERENCE_SEARCHWRAP
Preference tag to retrieve the searchwrap ( = "search_wrap" )

See Also:
Constant Field Values

PREFERENCE_SEARCH_MATCH_CASE

static final java.lang.String PREFERENCE_SEARCH_MATCH_CASE
Preference tag to retrieve the search match case ( = "search_match_case" )

See Also:
Constant Field Values

PREFERENCE_HIGHLIGHT

static final java.lang.String PREFERENCE_HIGHLIGHT
Preference tag to retrieve the Syntax Highlight ( = "highlight_syntax" )

See Also:
Constant Field Values

PREFERENCE_TEXT_SIZE

static final java.lang.String PREFERENCE_TEXT_SIZE
Preference tag to retrieve the Text Size ( = "text_size" )

See Also:
Constant Field Values

PREFERENCE_END_OF_LINES

static final java.lang.String PREFERENCE_END_OF_LINES
Preference tag to retrieve the End of lines pref ( = "end_of_lines" )

See Also:
Constant Field Values

PREFERENCE_ENCODING

static final java.lang.String PREFERENCE_ENCODING
Preference tag to retrieve the Encoding pref ( = "encoding" )

See Also:
Constant Field Values

PREFERENCE_AUTO_SAVE

static final java.lang.String PREFERENCE_AUTO_SAVE
Preference tag to retrieve the Auto mode ( = "force_auto_save" )

See Also:
Constant Field Values

PREFERENCE_AUTO_SAVE_OVERWRITE

static final java.lang.String PREFERENCE_AUTO_SAVE_OVERWRITE
Preference tag to retrieve the Auto mode ( = "auto_save_overwrite" )

See Also:
Constant Field Values

PREFERENCE_COLOR_THEME

static final java.lang.String PREFERENCE_COLOR_THEME
Preference tag to retrieve the Color Theme ( = "color_theme" )

See Also:
Constant Field Values

PREFERENCE_FLING_TO_SCROLL

static final java.lang.String PREFERENCE_FLING_TO_SCROLL
Preference tag to retrieve the fling to scroll ( = "fling_to_scroll" )

See Also:
Constant Field Values

PREFERENCE_ALLOW_UNDO

static final java.lang.String PREFERENCE_ALLOW_UNDO
Preference tag to retrieve if undo history is allowed ( = "allow_undo" )

See Also:
Constant Field Values

PREFERENCE_MAX_UNDO_STACK

static final java.lang.String PREFERENCE_MAX_UNDO_STACK
Preference tag to retrieve the max undo stack ( = "max_undo_stack" )

See Also:
Constant Field Values

PREFERENCE_BACK_BUTTON_AS_UNDO

static final java.lang.String PREFERENCE_BACK_BUTTON_AS_UNDO
Preference tag to retrieve the back button as undo ( = "back_button_as_undo" )

See Also:
Constant Field Values

PREFERENCE_USE_HOME_PAGE

static final java.lang.String PREFERENCE_USE_HOME_PAGE
Preference tag to retrieve the use home page ( = "use_home_page" )

See Also:
Constant Field Values

PREFERENCE_HOME_PAGE_PATH

static final java.lang.String PREFERENCE_HOME_PAGE_PATH
Preference tag to retrieve the home page path ( = "home_page_path" )

See Also:
Constant Field Values

PREFERENCE_SELECT_FONT

static final java.lang.String PREFERENCE_SELECT_FONT
Preference tag to select the font ( = "select_font" )

See Also:
Constant Field Values

PREFERENCE_FONT

static final java.lang.String PREFERENCE_FONT
Preference tag to the text font ( = "text_font" )

See Also:
Constant Field Values

TEXT_SIZE_MIN

static final int TEXT_SIZE_MIN
minimum text size

See Also:
Constant Field Values

TEXT_SIZE_MAX

static final int TEXT_SIZE_MAX
maximum text size

See Also:
Constant Field Values

EOL_LINUX

static final int EOL_LINUX
End of line setting for Linux files ( = 0 )

See Also:
Constant Field Values

EOL_WINDOWS

static final int EOL_WINDOWS
End of line setting for Windows files ( = 1 )

See Also:
Constant Field Values

EOL_MAC

static final int EOL_MAC
End of line setting for Mac files ( = 2 )

See Also:
Constant Field Values

ENC_ASCII

static final java.lang.String ENC_ASCII
Encoding : 7 bit ASCII ( = "US-ASCII" )

See Also:
Constant Field Values

ENC_LATIN

static final java.lang.String ENC_LATIN
Encoding : ISO Latin Alphabet, aka ISO-LATIN-1 ( = "ISO-8859-1" )

See Also:
Constant Field Values

ENC_UTF8

static final java.lang.String ENC_UTF8
Encoding : 8 bit UCS Transformation Format ( = "UTF-8" )

See Also:
Constant Field Values

COLOR_CLASSIC

static final int COLOR_CLASSIC
color theme default : black on white ( = 0 )

See Also:
Constant Field Values

COLOR_NEGATIVE

static final int COLOR_NEGATIVE
color theme negative : white on black ( = 1 )

See Also:
Constant Field Values

COLOR_MATRIX

static final int COLOR_MATRIX
color theme matrix : green on dark green ( = 2 )

See Also:
Constant Field Values

COLOR_SKY

static final int COLOR_SKY
color theme sky : darkblue on skyblue ( = 3 )

See Also:
Constant Field Values

COLOR_DRACULA

static final int COLOR_DRACULA
color theme dracula : red on black ( = 4 )

See Also:
Constant Field Values

REQUEST_SAVE_AS

static final int REQUEST_SAVE_AS
Request code for Save As Activity

See Also:
Constant Field Values

REQUEST_OPEN

static final int REQUEST_OPEN
Request code for Open Activity

See Also:
Constant Field Values

REQUEST_HOME_PAGE

static final int REQUEST_HOME_PAGE
Request code for Home Page Activity

See Also:
Constant Field Values

REQUEST_FONT

static final int REQUEST_FONT
Request code for Font Activity

See Also:
Constant Field Values

REQUEST_RECENT

static final int REQUEST_RECENT
See Also:
Constant Field Values

EXTRA_REQUEST_CODE

static final java.lang.String EXTRA_REQUEST_CODE
extra when browsing for file

See Also:
Constant Field Values

EXTRA_FORCE_READ_ONLY

static final java.lang.String EXTRA_FORCE_READ_ONLY
Extra to force read only from widget

See Also:
Constant Field Values

RESULT_ERROR

static final int RESULT_ERROR
an error result

See Also:
Constant Field Values