|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object providing context information to a view, e.g. the current cursor position. This interface is an abstraction over the normal and Fallback clients, allowing context information to be read from the ZZ structure (normal client) or from some Java object (fallback).
There is one method for getting the window's maincell, which is
not available in the Fallback client (because fallback windows
are not in the structure). This method is allowed to throw
UnsupportedOperationException
if there is no such cell.
Fallback
Field Summary | |
static java.lang.String |
rcsid
|
Method Summary | |
Cell |
getAccursed()
Get the accursed cell. |
CellView |
getCellView()
|
java.util.List |
getCursorColors(Cell c)
Get the colors of all colored cursors on a cell. |
int |
getCursorOffset(Cell c)
Get the offset of the line cursor on a given cell, if any. |
Dim[] |
getDims()
Get the dimension list. |
View |
getView()
|
Cell |
getWindow()
Get the maincell of the window, if available. |
boolean |
isMarked(Cell c)
Whether a given cell is marked by the current mark set. |
Field Detail |
public static final java.lang.String rcsid
Method Detail |
public Cell getAccursed()
public java.util.List getCursorColors(Cell c)
null
if there are no colored cursors
on this cell.
public Dim[] getDims()
public int getCursorOffset(Cell c)
-1
.
public boolean isMarked(Cell c)
public View getView()
public CellView getCellView()
public Cell getWindow() throws java.lang.UnsupportedOperationException
UnsupportedOperationException
is thrown.
java.lang.UnsupportedOperationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |