gnu.jemacs.swing
public class SwingWindow extends EWindow implements FocusListener, KeyListener, ChangeListener
Field Summary | |
---|---|
Modeline | modeline |
Constructor Summary | |
---|---|
SwingWindow(Buffer buffer) | |
SwingWindow(Buffer buffer, boolean wantModeline) Create new Window. |
Method Summary | |
---|---|
void | activateRegion() |
protected void | deleteNoValidate() |
void | focusGained(FocusEvent e) |
void | focusLost(FocusEvent e) |
protected void | getCharSize() |
static JTextPane | getContainedWindow(Container cont, boolean last) |
int | getHeight() |
JPanel | getPanel() Get the JPanel containing this Window. |
int | getPoint() |
Dimension | getPreferredScrollableViewportSize() |
int | getWidth() |
static SwingWindow | getWindow(ActionEvent event) |
protected void | handle(KeyEvent e, int code) |
void | keyPressed(KeyEvent e) |
void | keyReleased(KeyEvent e) |
void | keyTyped(KeyEvent e) |
void | requestFocus() |
void | setBuffer(Buffer buffer) |
void | setDot(int offset) |
void | setSelected() |
EWindow | split(Buffer buffer, int lines, boolean horizontal) |
void | stateChanged(ChangeEvent e) |
Object | tooLong(int pendingLength) |
void | unselect() |
JPanel | wrap() Warp this (and optional modeline) inside a ScrollPane in a new JPanel. |
Parameters: buffer the Buffer containing the data. wantModeline true if we should create a mode line
See Also: EWindow