|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.view.AbstractViewContext
An implementation of ViewContext providing set methods for almost all methods of ViewContext.
Field Summary |
Fields inherited from interface gzz.view.ViewContext |
rcsid |
Constructor Summary | |
AbstractViewContext()
|
Method Summary | |
java.lang.Object |
clone()
|
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. |
void |
setAccursed(Cell c)
|
void |
setCellView(CellView cellView)
|
void |
setCursorOffset(int offs)
|
void |
setDims(Dim[] dims)
|
void |
setView(View view)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractViewContext()
Method Detail |
public void setAccursed(Cell c)
public Cell getAccursed()
ViewContext
getAccursed
in interface ViewContext
public void setDims(Dim[] dims)
public Dim[] getDims()
ViewContext
getDims
in interface ViewContext
public void setCursorOffset(int offs)
public int getCursorOffset(Cell c)
ViewContext
-1
.
getCursorOffset
in interface ViewContext
public void setView(View view)
public View getView()
getView
in interface ViewContext
public void setCellView(CellView cellView)
public CellView getCellView()
getCellView
in interface ViewContext
public boolean isMarked(Cell c)
ViewContext
isMarked
in interface ViewContext
public Cell getWindow() throws java.lang.UnsupportedOperationException
ViewContext
UnsupportedOperationException
is thrown.
getWindow
in interface ViewContext
java.lang.UnsupportedOperationException
public java.util.List getCursorColors(Cell c)
ViewContext
null
if there are no colored cursors
on this cell.
getCursorColors
in interface ViewContext
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |