Public Member Functions | |
boolean | create () |
int | getCaretPositoin () |
String | getValue () |
GrxTextItem (String name, GrxPluginManager manager) | |
boolean | isEdited () |
boolean | isModifiedExternally () |
boolean | load (File f) |
void | reload () |
void | rename (String newName) |
rename this item | |
boolean | save () |
boolean | saveAs () |
void | setCaretPosition (int pos) |
Static Public Attributes | |
static final String | FILE_EXTENSION = "txt" |
static final String | TITLE = "Text Item" |
Private Attributes | |
int | caretPosition_ = 0 |
long | lastModified_ = 0 |
String | old = "" |
Definition at line 42 of file GrxTextItem.java.
com.generalrobotix.ui.item.GrxTextItem.GrxTextItem | ( | String | name, |
GrxPluginManager | manager | ||
) | [inline] |
Definition at line 50 of file GrxTextItem.java.
boolean com.generalrobotix.ui.item.GrxTextItem.create | ( | ) | [inline] |
Reimplemented from com.generalrobotix.ui.GrxBaseItem.
Definition at line 66 of file GrxTextItem.java.
Definition at line 181 of file GrxTextItem.java.
String com.generalrobotix.ui.item.GrxTextItem.getValue | ( | void | ) | [inline] |
get value
Reimplemented from com.generalrobotix.ui.GrxBaseItem.
Definition at line 157 of file GrxTextItem.java.
boolean com.generalrobotix.ui.item.GrxTextItem.isEdited | ( | ) | [inline] |
Definition at line 161 of file GrxTextItem.java.
Definition at line 165 of file GrxTextItem.java.
boolean com.generalrobotix.ui.item.GrxTextItem.load | ( | File | file | ) | [inline] |
file |
Reimplemented from com.generalrobotix.ui.GrxBaseItem.
Definition at line 78 of file GrxTextItem.java.
void com.generalrobotix.ui.item.GrxTextItem.reload | ( | ) | [inline] |
Definition at line 173 of file GrxTextItem.java.
void com.generalrobotix.ui.item.GrxTextItem.rename | ( | String | newName | ) | [inline] |
rename this item
newName | new name |
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 102 of file GrxTextItem.java.
boolean com.generalrobotix.ui.item.GrxTextItem.save | ( | ) | [inline] |
Definition at line 109 of file GrxTextItem.java.
boolean com.generalrobotix.ui.item.GrxTextItem.saveAs | ( | ) | [inline] |
Definition at line 127 of file GrxTextItem.java.
void com.generalrobotix.ui.item.GrxTextItem.setCaretPosition | ( | int | pos | ) | [inline] |
Definition at line 177 of file GrxTextItem.java.
int com.generalrobotix.ui.item.GrxTextItem.caretPosition_ = 0 [private] |
Definition at line 48 of file GrxTextItem.java.
final String com.generalrobotix.ui.item.GrxTextItem.FILE_EXTENSION = "txt" [static] |
Reimplemented in com.generalrobotix.ui.item.GrxPythonScriptItem.
Definition at line 44 of file GrxTextItem.java.
long com.generalrobotix.ui.item.GrxTextItem.lastModified_ = 0 [private] |
Definition at line 46 of file GrxTextItem.java.
String com.generalrobotix.ui.item.GrxTextItem.old = "" [private] |
Definition at line 47 of file GrxTextItem.java.
final String com.generalrobotix.ui.item.GrxTextItem.TITLE = "Text Item" [static] |
Reimplemented in com.generalrobotix.ui.item.GrxPythonScriptItem.
Definition at line 43 of file GrxTextItem.java.