26 |
|
|
27 |
package org.fenfire.view.buoy; |
package org.fenfire.view.buoy; |
28 |
import org.fenfire.view.*; |
import org.fenfire.view.*; |
|
import org.fenfire.view.lava.*; |
|
29 |
import org.fenfire.util.ControlBinding; |
import org.fenfire.util.ControlBinding; |
30 |
|
|
31 |
import org.nongnu.libvob.*; |
import org.nongnu.libvob.*; |
38 |
* a View2D. This class implements the keyboard and mouse |
* a View2D. This class implements the keyboard and mouse |
39 |
* command for moving on the spatial plane. |
* command for moving on the spatial plane. |
40 |
*/ |
*/ |
41 |
public abstract class AbstractMainNode2D implements BuoyViewMainNode, FastView { |
public abstract class AbstractMainNode2D implements BuoyViewMainNode, |
42 |
|
org.fenfire.view.lava.FastView { |
43 |
public static boolean dbg = false; |
public static boolean dbg = false; |
44 |
private static void p(String s) { System.out.println("AbstractMainNode2D:: "+s); } |
private static void p(String s) { System.out.println("AbstractMainNode2D:: "+s); } |
45 |
|
|
275 |
if (dbg) p("key: "+realKey); |
if (dbg) p("key: "+realKey); |
276 |
View2D view = getView2D(); |
View2D view = getView2D(); |
277 |
while (view != null) { |
while (view != null) { |
278 |
if (view instanceof FastView) |
if (view instanceof org.fenfire.view.lava.FastView) |
279 |
/** Jams the machine if called. |
/** Jams the machine if called. |
280 |
* ''Single Multiple'' views makes things awful. |
* ''Single Multiple'' views makes things awful. |
281 |
* |
* |
282 |
* ...working on a better solution. |
* ...working on a better solution. |
283 |
*/ |
*/ |
284 |
((FastView)view).chgFast(oldVobScene, realKey); |
((org.fenfire.view.lava.FastView)view) |
285 |
|
.chgFast(oldVobScene, realKey); |
286 |
view = view.getChildView2D(); |
view = view.getChildView2D(); |
287 |
} |
} |
288 |
} |
} |