| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hipipal.texteditor.common.Settings
public class Settings
| Field Summary | |
|---|---|
| static boolean | AUTO_SAVE_OVERWRITE | 
| static boolean | BACK_BTN_AS_UNDOUse back button as undo | 
| static int | COLORcolor setting | 
| static int | DEFAULT_END_OF_LINEDefault end of line | 
| static java.lang.String | ENCODINGEncoding | 
| static int | END_OF_LINEEnd Of Line style | 
| static boolean | FLING_TO_SCROLLenable fling to scroll | 
| static boolean | FORCE_AUTO_SAVELet auto save on quit be triggered | 
| static java.lang.String | HOME_PAGE_PATHHome Page Path | 
| static int | MAX_RECENT_FILESNumber of recent files to remember | 
| static boolean | SEARCHMATCHCASEonly search for matchin case | 
| static boolean | SEARCHWRAPwhen search reaches the end of a file, search wrap | 
| static boolean | SHOW_LINE_NUMBERSShow the lines numbers | 
| static int | TEXT_SIZEText size setting | 
| static boolean | UNDOUse Undo instead of quit ? | 
| static int | UNDO_MAX_STACKUndo stack capacity | 
| static boolean | USE_HOME_PAGEUse a Home Page | 
| static boolean | WORDWRAPautomatic break line to fit one page | 
| Constructor Summary | |
|---|---|
| Settings() | |
| Method Summary | |
|---|---|
| static java.lang.String | getEndOfLine() | 
| static java.io.File | getFontFile(android.content.Context ctx) | 
| static android.graphics.Typeface | getTypeface(android.content.Context ctx) | 
| static void | saveHomePage(android.content.SharedPreferences settings)Save the Home page settings | 
| static void | updateFromPreferences(android.content.SharedPreferences settings)Update the settings from the given SharedPreferences | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static int MAX_RECENT_FILES
public static boolean SHOW_LINE_NUMBERS
public static boolean WORDWRAP
public static int COLOR
public static boolean SEARCHWRAP
public static boolean SEARCHMATCHCASE
public static int TEXT_SIZE
public static int DEFAULT_END_OF_LINE
public static int END_OF_LINE
public static java.lang.String ENCODING
public static boolean FORCE_AUTO_SAVE
public static boolean AUTO_SAVE_OVERWRITE
public static boolean FLING_TO_SCROLL
public static boolean UNDO
public static int UNDO_MAX_STACK
public static boolean BACK_BTN_AS_UNDO
public static boolean USE_HOME_PAGE
public static java.lang.String HOME_PAGE_PATH
| Constructor Detail | 
|---|
public Settings()
| Method Detail | 
|---|
public static java.lang.String getEndOfLine()
public static void updateFromPreferences(android.content.SharedPreferences settings)
SharedPreferences
settings - the settings to read frompublic static void saveHomePage(android.content.SharedPreferences settings)
settings - the settings to write topublic static java.io.File getFontFile(android.content.Context ctx)
public static android.graphics.Typeface getTypeface(android.content.Context ctx)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||