Examples of lookupAll()


Examples of javafx.scene.Parent.lookupAll()

    gridPane = lookupNode(root, "#gridPane", GameGridPane.class);
   
    if (gridPane != null) {
      gridPane.setFocusTraversable(true);
      keyCombinationNodes = new HashMap<KeyCombination, Node>();
      for (Node node : root.lookupAll(".keyCombinationId")) {
        keyCombinationNodes.put(KeyCombination.valueOf(node.getId().replace('_', '+')), node);
      }
      for (Node node : root.lookupAll(".inputTextButton")) {
        if (node instanceof Labeled) {
          char firstChar = ((Labeled) node).getText().charAt(0);
View Full Code Here

Examples of javafx.scene.Parent.lookupAll()

      gridPane.setFocusTraversable(true);
      keyCombinationNodes = new HashMap<KeyCombination, Node>();
      for (Node node : root.lookupAll(".keyCombinationId")) {
        keyCombinationNodes.put(KeyCombination.valueOf(node.getId().replace('_', '+')), node);
      }
      for (Node node : root.lookupAll(".inputTextButton")) {
        if (node instanceof Labeled) {
          char firstChar = ((Labeled) node).getText().charAt(0);
          KeyCharacterCombination kc = new KeyCharacterCombination(String.valueOf(firstChar));
          keyCombinationNodes.put(kc, node);
        }
View Full Code Here

Examples of javafx.scene.Parent.lookupAll()

      gridPane.setOnKeyPressed(keyCombinationHandler);
      gridPane.setOnKeyPressed(directionKeyHandler);
      gridPane.setOnMouseClicked(graphicsNodeMouseHandler);
    }

    for (Node node : root.lookupAll(".inputTextButton")) {
      setActionHandler(node, inputTextActionHandler);
    }
   
    stage.setScene(new Scene(root));
    stage.show();
View Full Code Here

Examples of javafx.scene.Parent.lookupAll()

    FXMLLoader fxmlLoader = new FXMLLoader();
    fxmlLoader.setLocation(getClass().getResource(fxmlFile));
    fxmlLoader.load(getClass().getResourceAsStream(fxmlFile));
    Parent root = fxmlLoader.<Parent>getRoot();
   
    for (Node node : root.lookupAll("Button")) {
      node.addEventHandler(ActionEvent.ACTION, this);
    }
    // the node holding the current value, using id lookup
    valueText = (TextInputControl) root.lookup("#valueTextNode");
   
View Full Code Here

Examples of org.atmosphere.cpr.BroadcasterFactory.lookupAll()

    {
      throw new WicketRuntimeException(
        "There is no Atmosphere BroadcasterFactory configured. Did you include the "
          + "atmosphere.xml configuration file and configured AtmosphereServlet?");
    }
    Collection<Broadcaster> allBroadcasters = factory.lookupAll();
    if (allBroadcasters.isEmpty())
    {
      throw new WicketRuntimeException(
        "The Atmosphere BroadcasterFactory has no Broadcasters, "
          + "something is wrong with your Atmosphere configuration.");
View Full Code Here

Examples of org.atmosphere.cpr.BroadcasterFactory.lookupAll()

    {
      throw new WicketRuntimeException(
        "There is no Atmosphere BroadcasterFactory configured. Did you include the "
          + "atmosphere.xml configuration file and configured AtmosphereServlet?");
    }
    Collection<Broadcaster> allBroadcasters = factory.lookupAll();
    if (allBroadcasters.isEmpty())
    {
      throw new WicketRuntimeException(
        "The Atmosphere BroadcasterFactory has no Broadcasters, "
          + "something is wrong with your Atmosphere configuration.");
View Full Code Here

Examples of org.atmosphere.cpr.BroadcasterFactory.lookupAll()

    {
      throw new WicketRuntimeException(
        "There is no Atmosphere BroadcasterFactory configured. Did you include the "
          + "atmosphere.xml configuration file and configured AtmosphereServlet?");
    }
    Collection<Broadcaster> allBroadcasters = factory.lookupAll();
    if (allBroadcasters.isEmpty())
    {
      throw new WicketRuntimeException(
        "The Atmosphere BroadcasterFactory has no Broadcasters, "
          + "something is wrong with your Atmosphere configuration.");
View Full Code Here

Examples of org.atmosphere.cpr.BroadcasterFactory.lookupAll()

    {
      throw new WicketRuntimeException(
        "There is no Atmosphere BroadcasterFactory configured. Did you include the "
          + "atmosphere.xml configuration file and configured AtmosphereServlet?");
    }
    Collection<Broadcaster> allBroadcasters = factory.lookupAll();
    if (allBroadcasters.isEmpty())
    {
      throw new WicketRuntimeException(
        "The Atmosphere BroadcasterFactory has no Broadcasters, "
          + "something is wrong with your Atmosphere configuration.");
View Full Code Here

Examples of org.atmosphere.cpr.BroadcasterFactory.lookupAll()

    {
      throw new WicketRuntimeException(
        "There is no Atmosphere BroadcasterFactory configured. Did you include the "
          + "atmosphere.xml configuration file and configured AtmosphereServlet?");
    }
    Collection<Broadcaster> allBroadcasters = factory.lookupAll();
    if (allBroadcasters.isEmpty())
    {
      throw new WicketRuntimeException(
        "The Atmosphere BroadcasterFactory has no Broadcasters, "
          + "something is wrong with your Atmosphere configuration.");
View Full Code Here

Examples of org.atmosphere.cpr.BroadcasterFactory.lookupAll()

    {
      throw new WicketRuntimeException(
        "There is no Atmosphere BroadcasterFactory configured. Did you include the "
          + "atmosphere.xml configuration file and configured AtmosphereServlet?");
    }
    Collection<Broadcaster> allBroadcasters = factory.lookupAll();
    if (allBroadcasters.isEmpty())
    {
      throw new WicketRuntimeException(
        "The Atmosphere BroadcasterFactory has no Broadcasters, "
          + "something is wrong with your Atmosphere configuration.");
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.