|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fuin.apps4swing.ControllerViewConnector<CTRL,VIEW>
CTRL - Type of controller.VIEW - Type of view.public class ControllerViewConnector<CTRL extends org.fuin.apps4j.Controller<VIEW>,VIEW extends org.fuin.apps4j.View<CTRL>>
Connects the controller and the view.
| Constructor Summary | |
|---|---|
ControllerViewConnector(java.lang.String name,
java.lang.String ctrlPkg,
java.lang.Class<?> ctrlIntf,
CTRL ctrlImpl,
java.lang.String viewPkg,
java.lang.Class<?> viewIntf,
VIEW viewImpl,
java.lang.Class<?> ctrlQueueIntf,
java.util.concurrent.ExecutorService executorService,
int queueCapacity)
Constructor with all possible values. |
|
ControllerViewConnector(java.lang.String name,
java.lang.String ctrlPkg,
java.lang.Class<?> ctrlIntf,
CTRL ctrlImpl,
java.lang.String viewPkg,
java.lang.Class<?> viewIntf,
VIEW viewImpl,
java.util.concurrent.ExecutorService executorService,
int queueCapacity)
Constructor with ctrlQueueIntf equal to ctrlIntf. |
|
| Method Summary | |
|---|---|
CTRL |
getControllerQueue()
Returns the generated controller queue implementation. |
java.util.concurrent.ExecutorService |
getExecutorService()
Returns the executor service used for the generated implementations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControllerViewConnector(java.lang.String name,
java.lang.String ctrlPkg,
java.lang.Class<?> ctrlIntf,
CTRL ctrlImpl,
java.lang.String viewPkg,
java.lang.Class<?> viewIntf,
VIEW viewImpl,
java.util.concurrent.ExecutorService executorService,
int queueCapacity)
ctrlQueueIntf equal to ctrlIntf.
name - Basic name that is shared by controller and view. Used as
prefix for the generated classes.ctrlPkg - Package of the generated controller classes.ctrlIntf - Controller interface to generate an implementation for.ctrlImpl - The "real" controller implementation.viewPkg - Package of the generated view classes.viewIntf - View interface to generate an implementation for.viewImpl - The "real" view implementation.executorService - Executor service to use.queueCapacity - Capacity of the ArrayBlockingQueue.
public ControllerViewConnector(java.lang.String name,
java.lang.String ctrlPkg,
java.lang.Class<?> ctrlIntf,
CTRL ctrlImpl,
java.lang.String viewPkg,
java.lang.Class<?> viewIntf,
VIEW viewImpl,
java.lang.Class<?> ctrlQueueIntf,
java.util.concurrent.ExecutorService executorService,
int queueCapacity)
name - Basic name that is shared by controller and view. Used as
prefix for the generated classes.ctrlPkg - Package of the generated controller classes.ctrlIntf - Controller interface to generate an implementation for.ctrlImpl - The "real" controller implementation.viewPkg - Package of the generated view classes.viewIntf - View interface to generate an implementation for.viewImpl - The "real" view implementation.ctrlQueueIntf - Interface the controller queue implements. If the controller
acts as a ChildController this interface often extends
ctrlIntf and adds method used by the
ParentController.executorService - Executor service to use.queueCapacity - Capacity of the ArrayBlockingQueue.| Method Detail |
|---|
public final CTRL getControllerQueue()
public final java.util.concurrent.ExecutorService getExecutorService()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||