|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.client.Fallback
A fallback client, which does not depend on the structure in any way. Having the window cells, bindings etc in the structure is VERY nice and clean but also dangerous when doing bleeding-edge development. This fallback client is here to make sure that whatever happens, it will be possible to edit the structure.
The point is that we made a big mistake: we should NEVER have started using the structure for ANYTHING before we had a way to edit it without relying on things in it. For example, think about RASTER ERROR of 0.6.0 and before: it could occur when some cursor pointed to the wrong place. In 0.6.0 there might not be any way to fix this.
Because of this, we can only really use cursors, bindings etc. in the structure IF WE CAN INTERACTIVELY BUILD AND EDIT THEM BEFORE TURNING THEM "ON".
An analogy would be if we were at the same programming a text editor, a compiler and a kernel. All on the same system, so that the only way to edit anything would be either to use a hex editor on the raw disk files, or our experimental system. Not a very nice proposition; in such a situation, we would have to first develop the components on an existing system, separately, to avoid having too many moving parts at once.
The fallback client is fixed to the two windows.
It implements a subset of the 0.6.0 bindings.
Nested Class Summary | |
static interface |
Fallback.ColorScheme
|
static class |
Fallback.FallbackDim
A name and a dimension object. |
static class |
Fallback.LightColorScheme
|
class |
Fallback.Win
|
Field Summary | |
FallbackBinder |
binder
|
CellView[] |
cellViewList
|
static boolean |
dbg
|
Fallback.FallbackDim[] |
dimList
|
Filer.Group |
filers
The group of filers we use for saving. |
static GraphicsAPI |
gfxapi
|
static int |
LEFT
|
Space |
linkSpace
The Space we use for xu links for now. |
int |
mode
The current mode. |
static int |
NORMAL
|
static java.lang.String |
rcsid
|
static int |
RIGHT
|
static int |
SEARCH
|
Space |
space
|
static int |
TEXT_1
|
View[] |
viewList
|
java.util.List |
windowList
The list of *all* windows, regardless of arrowset |
Fallback.Win[] |
windows
Windows, by arrowset (LEFT or RIGHT) |
XuIndexer |
xuIndexer
The XuIndexer-- in a different space for now. |
Constructor Summary | |
Fallback(Cell start,
Space linkSpace,
FallbackBinder binder,
Fallback.FallbackDim[] dimList,
FallbackSceneDecorator[] decorators,
View[] viewList,
java.util.Map viewSpecificBinders,
CellView[] cellViewList,
Filer.Group filers)
|
Method Summary | |
Fallback.Win |
newWindow(Cell cursor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String rcsid
public static boolean dbg
public static GraphicsAPI gfxapi
public static final int NORMAL
public static final int TEXT_1
public static final int SEARCH
public int mode
public static final int LEFT
public static final int RIGHT
public Fallback.Win[] windows
public java.util.List windowList
public Filer.Group filers
public XuIndexer xuIndexer
public Space linkSpace
public Space space
public View[] viewList
public CellView[] cellViewList
public FallbackBinder binder
public Fallback.FallbackDim[] dimList
Constructor Detail |
public Fallback(Cell start, Space linkSpace, FallbackBinder binder, Fallback.FallbackDim[] dimList, FallbackSceneDecorator[] decorators, View[] viewList, java.util.Map viewSpecificBinders, CellView[] cellViewList, Filer.Group filers)
Method Detail |
public Fallback.Win newWindow(Cell cursor)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |