11 package net.sf.gridarta.textedit.textarea.actions;
13 import java.awt.event.ActionEvent;
14 import java.awt.event.ActionListener;
18 public class PrevLine implements ActionListener {
33 textArea.getToolkit().beep();
int getMarkPosition()
Returns the mark position.
int offsetToX(final int line, final int offset)
Converts an offset in a line into an x co-ordinate.
An input handler converts the user's key strokes into concrete actions.
Base package of all Gridarta classes.
int xToOffset(final int line, final int x)
Converts an x co-ordinate to an offset within a line.
PrevLine(final boolean select)
int getLineStartOffset(final int line)
Returns the start offset of the specified line.
void select(final int start, final int end)
Selects from the start offset to the end offset.
This package contains the other part of the script editor.
int getCaretPosition()
Returns the caret position.
void setMagicCaretPosition(final int magicCaret)
Sets the `magic' caret position.
static JEditTextArea getTextArea(final EventObject evt)
Returns the text area that fired the specified event.
int getCaretLine()
Returns the caret line.
void actionPerformed(final ActionEvent e)
int getMagicCaretPosition()
Returns the `magic' caret position.
void setCaretPosition(final int caret)
Sets the caret position.
jEdit's text area component.