27 |
*/ |
*/ |
28 |
package org.fenfire.view; |
package org.fenfire.view; |
29 |
import org.fenfire.swamp.*; |
import org.fenfire.swamp.*; |
30 |
|
import org.fenfire.functional.*; |
31 |
import org.nongnu.alph.*; |
import org.nongnu.alph.*; |
32 |
import org.nongnu.libvob.*; |
import org.nongnu.libvob.*; |
33 |
import org.nongnu.libvob.vobs.*; |
import org.nongnu.libvob.vobs.*; |
35 |
/** A node view dispatching to different other |
/** A node view dispatching to different other |
36 |
* node views depending on a node content's type. |
* node views depending on a node content's type. |
37 |
*/ |
*/ |
38 |
public class DispatchingNodeView implements NodeFunction { |
public class DispatchingNodeView implements PureNodeFunction { |
39 |
|
|
40 |
final NodeFunction nodeContent; |
final NodeFunction nodeContent; |
41 |
final NodeFunction textView, pageView; |
final NodeFunction textView, pageView; |