public class AbstractXmlMapContextXmlEditor extends
Constructor and Description |
---|
AbstractXmlMapContextXmlEditor() |
Modifier and Type | Method and Description |
---|---|
void |
copy() |
void |
cut() |
javax.swing.Icon |
getComponentIcon() |
java.util.List<java.lang.String> |
getLines()
Return a List conatining the lines of the text
|
protected java.util.List<java.lang.String> |
getLines(java.lang.String text)
Return an array of lines from the given text
|
int |
getNumLines() |
java.lang.String |
getText() |
protected java.lang.Class<? extends AbstractXmlMapContext> |
getVariableType() |
void |
goToLine()
Opens a dialog for going to a given line.
|
void |
gotoLine(int line)
Moves the caret to the given line.
|
void |
init() |
boolean |
makeEditorContent() |
void |
paste() |
void |
redo() |
void |
save() |
void |
saveAs() |
void |
search() |
void |
selectAll() |
void |
setData(AbstractXmlMapContext data) |
void |
setGlobalScroll(boolean enabled) |
void |
undo() |
public void init()
public void selectAll()
public void goToLine()
public void gotoLine(int line)
line
- The line to go to (indices start at 1)java.lang.IllegalArgumentException
- if the line is out of the valid range [1..nLines]public void undo()
public void redo()
public int getNumLines()
public java.lang.String getText()
public java.util.List<java.lang.String> getLines()
protected java.util.List<java.lang.String> getLines(java.lang.String text)
public void cut()
public void copy()
public void paste()
public void search()
public void save()
public void saveAs()
public void setData(AbstractXmlMapContext data)
public boolean makeEditorContent()
public javax.swing.Icon getComponentIcon()
protected java.lang.Class<? extends AbstractXmlMapContext> getVariableType()
public final void setGlobalScroll(boolean enabled)