Examples of Controller


Examples of com.leapmotion.leap.Controller

    this.outstretchedFingers = new ArrayList<Finger>();
    this.tools = new ArrayList<Tool>();
    this.devices = new ArrayList<Device>();
    this.images = new ArrayList<Image>();
   
    this.controller = new Controller();
    this.listener = new Listener(){
        public void onInit(Controller controller) {
          dispatch("leapOnInit");
        }
        public void onConnect(Controller controller) {
View Full Code Here

Examples of com.mime.minefront.input.Controller

  public int time;
  public Controller controls;
  public Level level;
 
  public Game() {
    controls = new Controller();
    level = new Level(80, 80);
  }
View Full Code Here

Examples of com.mvc4g.client.Controller

                }
        );

        bus.addSubscribeListener(this);
       
        Controller mainController = new com.mvc4g.client.Controller();
        Registry.set(Controller.class, mainController);

        // ------

        // setup base urls
        String proxyUrl = null;
        if (!GWT.isScript())
        {
            proxyUrl = GWT.getModuleBaseURL() + "xhp";
        }

        final ConsoleConfig config = new ConsoleConfig(proxyUrl);
        ConsoleLog.debug("Console server: " + config.getConsoleServerUrl());

        URLBuilder.configureInstance(config);

        // ------

        ApplicationContext appContext = new ApplicationContext()
        {

            public void displayMessage(String message, boolean isError)
            {
                if(isError)
                    MessageBox.error("Error", message);
                else
                    MessageBox.alert("Warn", message);
            }


            public Authentication getAuthentication()
            {
                return Registry.get(Authentication.class); // set in login view
            }


            public ConsoleConfig getConfig()
            {
                return config;
            }


            public void refreshView()
            {

            }
        };

        Registry.set(ApplicationContext.class, appContext);

        // ------

        registerGlobalViewsAndActions(mainController);

        mainController.addAction("login", new LoginAction());
        mainController.addAction(BootstrapAction.ID, new BootstrapAction());
        mainController.addView("loginView", new LoginView());

        // bootstrap and login
        mainController.handleEvent(
                new com.mvc4g.client.Event(BootstrapAction.ID, Boolean.TRUE)
        );

        mainController.handleEvent(new Event("login", null));
    }
View Full Code Here

Examples of com.netflix.explorers.annotations.Controller

        }
    }
   
    public String getName() {
        if (this.name == null) {
            Controller controller = this.getClass().getAnnotation(Controller.class);
            if (controller != null) {
                return controller.value();
            }
        }
        return this.name;
    }
View Full Code Here

Examples of com.salesforce.dataloader.controller.Controller

        argMap.put(Config.ENABLE_EXTRACT_STATUS_OUTPUT, Config.TRUE);
        argMap.put(Config.DAO_WRITE_BATCH_SIZE, String.valueOf(BATCH_SIZE));

        Date startTime = new Date();

        Controller theController = runProcessWithErrors(argMap, expectedSuccesses, expectedFailures);

        // verify there were no errors during extract
        Map<String, Object> params = new HashMap<String, Object>();
        params.put("compare_date", startTime);
        verifyDbSuccess(theController, "queryAccount", expectedSuccesses);
View Full Code Here

Examples of com.samskivert.swing.Controller

    /**
     * Construct the panel and initialize it with a context.
     */
    public ViewerScenePanel (StageContext ctx, CharacterManager charmgr)
    {
        super(ctx, new Controller() {
        });

        _charmgr = charmgr;

        // create the character descriptors
View Full Code Here

Examples of com.soldatenko.wavetest.Controller

        }
        this.pixelPerCell = pixelPerCell;
    }

    public void showFrame() {
        controller = new Controller() {
            @Override
            public WaveTestModel getModel() {
                return view.getModel();
            }
        };
View Full Code Here

Examples of com.substanceofcode.rssreader.businesslogic.Controller

    //#endif

    try {

      /** Initialize controller */
      m_controller = new Controller( this );
     
      /* Loading items... */
      if (m_loadForm == null) {
        /* Need to use app property because using ResourceProviderME
           takes too long.  We want the loading screen to happen
View Full Code Here

Examples of com.sun.grizzly.Controller

   
   
    /* ------------------------------------------------------------ */
    public void open() throws IOException
    {
        controller = new Controller();
        TCPSelectorHandler selectorHandler = new TCPSelectorHandler();
        selectorHandler.setPort(getPort());
        if (getHost() != null)
        {
            selectorHandler.setInet(InetAddress.getByName(getHost()));
View Full Code Here

Examples of com.sun.msv.reader.Controller

     * sets the GrammarReaderController object that will control
     * various aspects of the parsing. If not set, no error report will be
     * done.
     */
    public void setController( GrammarReaderController controller ) {
        this.controller = new Controller(controller);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.