JUICe

com.lafros.juice.cmds
Class TheCmdsController

java.lang.Object
  extended by com.lafros.juice.cmds.TheCmdsController

public class TheCmdsController
extends Object

for controlling the package's behaviour.

Version:
$Id: TheCmdsController.java 2749 2008-02-09 10:22:15Z rob $
Author:
Rob Dickens

Constructor Summary
TheCmdsController()
          Creates the instance.
 
Method Summary
 void cancelAnyPendingDisjCmd()
          for use when e.g.
 Exe getCancelExe()
          for cancelling the command currently being executed in the background (ICmd.IDisj).
static void loadJUICeResources()
          for use before installing a security manager.
 void setApp(ICmdsApp app)
          sets the app.
 void setRootComponent(Component root)
          causes dialogue boxes to be centred wrt the app's main window rather than the screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TheCmdsController

public TheCmdsController()
Creates the instance.

Throws:
IllegalStateException - if called more than once
Method Detail

loadJUICeResources

public static void loadJUICeResources()
for use before installing a security manager. Not required when using Java Web Start, or when running as an applet.


getCancelExe

public Exe getCancelExe()
for cancelling the command currently being executed in the background (ICmd.IDisj).


setApp

public void setApp(ICmdsApp app)
sets the app.


setRootComponent

public void setRootComponent(Component root)
causes dialogue boxes to be centred wrt the app's main window rather than the screen.


cancelAnyPendingDisjCmd

public void cancelAnyPendingDisjCmd()
for use when e.g. terminating an applet.


JUICe

Copyright © 2001-2008 Latterfrosken Software Development Limited. All Rights Reserved.