|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.view.ZZViewContext
An implementation of ViewContext
reading its data
from the zzstructure (XXX not complete).
Currently this doesn't work correctly, because we don't have the structures worked out. So the only thing this does right so far is returning the window cell.
Fallback
Field Summary | |
Cell |
window
|
Fields inherited from interface gzz.view.ViewContext |
rcsid |
Constructor Summary | |
ZZViewContext(Cell window)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final Cell window
Constructor Detail |
public ZZViewContext(Cell window)
Method Detail |
public Cell getAccursed()
ViewContext
getAccursed
in interface ViewContext
public java.util.List getCursorColors(Cell c)
ViewContext
null
if there are no colored cursors
on this cell.
getCursorColors
in interface ViewContext
public Dim[] getDims()
ViewContext
getDims
in interface ViewContext
public int getCursorOffset(Cell c)
ViewContext
-1
.
getCursorOffset
in interface ViewContext
public boolean isMarked(Cell c)
ViewContext
isMarked
in interface ViewContext
public View getView()
getView
in interface ViewContext
public CellView getCellView()
getCellView
in interface ViewContext
public Cell getWindow()
ViewContext
UnsupportedOperationException
is thrown.
getWindow
in interface ViewContext
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |