| 程序包 | 说明 |
|---|---|
| com.fr.design.gui.syntax.ui.rsyntaxtextarea |
A syntax-highlighting text editor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static FileLocation |
FileLocation.create(java.io.File file)
Creates a
FileLocation instance for the specified local file. |
static FileLocation |
FileLocation.create(java.lang.String fileFullPath)
Creates a
FileLocation instance for the specified local file. |
static FileLocation |
FileLocation.create(java.net.URL url)
Creates a
FileLocation instance for the specified file. |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TextEditorPane.load(FileLocation loc,
java.lang.String defaultEnc)
Loads the specified file in this editor.
|
void |
TextEditorPane.saveAs(FileLocation loc)
Saves this file in a new local location.
|
| 构造器和说明 |
|---|
TextEditorPane(int textMode,
boolean wordWrapEnabled,
FileLocation loc)
Creates a new
TextEditorPane. |
TextEditorPane(int textMode,
boolean wordWrapEnabled,
FileLocation loc,
java.lang.String defaultEnc)
Creates a new
TextEditorPane. |