gnu.jemacs.buffer
public abstract class EWindow extends Object
Field Summary | |
---|---|
Buffer | buffer |
protected int | charHeight Nominal height in pixels of a character, if non-zero. |
protected int | charWidth Nominal width in pixels of a character, if non-zero. |
EFrame | frame |
protected EWindow | nextWindow Next window in cyclic window ordering. |
protected int[] | pendingKeys |
protected int | pendingLength |
protected EWindow | prevWindow Previous window in cyclic window ordering. |
Constructor Summary | |
---|---|
EWindow(Buffer buffer) |
Method Summary | |
---|---|
void | delete() |
protected void | deleteNoValidate() |
void | deleteOtherWindows() |
Buffer | getBuffer() |
protected abstract void | getCharSize() |
EFrame | getFrame() |
abstract int | getHeight() Get the current height (in pixels) of this window. |
int | getHeightInLines() |
EWindow | getNextWindow(boolean forwards) Return the next/previous window in the cyclic order of windows.
|
EWindow | getNextWindowInFrame(int count) |
EWindow | getOtherWindow(boolean forwards) Return the next/previous EWindow in the cyclic order of windows.
|
abstract int | getPoint() Returns the "Emacs value" (1-origin) of point. |
static EWindow | getSelected() |
abstract int | getWidth() Get the current width (in pixels) of this window. |
int | getWidthInColumns() |
void | handleCommand(Object command) |
void | handleKey(int code) |
protected void | linkSibling(EWindow window, boolean horizontal) Link a new window after this. |
Object | lookupKey(int key) |
void | pushPrefix(int prefix) |
void | requestFocus() |
void | setBuffer(Buffer buffer) |
abstract void | setDot(int offset) |
void | setFrame(EFrame frame) |
void | setPoint(int point) |
void | setSelected() |
static void | setSelected(EWindow window) |
EWindow | split(int lines, boolean horizontal) Split this window into two, showing this buffer in both windows. |
abstract EWindow | split(Buffer buffer, int lines, boolean horizontal) Split this window into two.
|
abstract Object | tooLong(int pendingLength) |
String | toString() |
protected void | unlink() |
abstract void | unselect() |
Returns: the new wndow.
Returns: the new window.