Examples of Keys


Examples of com.badlogic.ashley.utils.ImmutableIntMap.Keys

    entities = null;
  }

  @Override
  public void update(float deltaTime) {
    Keys keys = entities.immutableKeys();
   
    while(keys.hasNext()){
      processEntity(entities.get(keys.next()), deltaTime);
    }
  }
View Full Code Here

Examples of com.badlogic.gdx.utils.ArrayMap.Keys

  /** Returns an iterator for the keys in the map. Remove is supported. Note that the same iterator instance is returned each time
   * this method is called. Use the {@link Entries} constructor for nested or multithreaded iteration. */
  public Keys<K> keys () {
    if (keys1 == null) {
      keys1 = new Keys(this);
      keys2 = new Keys(this);
    }
    if (!keys1.valid) {
      keys1.reset();
      keys1.valid = true;
      keys2.valid = false;
View Full Code Here

Examples of com.badlogic.gdx.utils.IntFloatMap.Keys

  /** Returns an iterator for the keys in the map. Remove is supported. Note that the same iterator instance is returned each time
   * this method is called. Use the {@link Entries} constructor for nested or multithreaded iteration. */
  public Keys keys () {
    if (keys1 == null) {
      keys1 = new Keys(this);
      keys2 = new Keys(this);
    }
    if (!keys1.valid) {
      keys1.reset();
      keys1.valid = true;
      keys2.valid = false;
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.rte.Keys

  }

  private RtePlugin buildKeysPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.keys().length > 0) {
      Keys keysAnnotation = rteAnnotation.keys()[0];

      KeysRtePluginParameters keysParameters = new KeysRtePluginParameters();
      if (!keysAnnotation.tabSize().equals("")) {
        keysParameters.setTabSize(keysAnnotation.tabSize());
      }
      return new KeysRtePlugin(keysParameters);
    }

    return null;
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.rte.Keys

  }

  private RtePlugin buildKeysPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.keys().length > 0) {
      Keys keysAnnotation = rteAnnotation.keys()[0];

      KeysRtePluginParameters keysParameters = new KeysRtePluginParameters();
      if (!keysAnnotation.tabSize().equals("")) {
        keysParameters.setTabSize(keysAnnotation.tabSize());
      }
      return new KeysRtePlugin(keysParameters);
    }

    return null;
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.widgets.rte.Keys

  }

  private RtePlugin buildKeysPlugin(RichTextEditor rteAnnotation) {

    if (rteAnnotation.keys().length > 0) {
      Keys keysAnnotation = rteAnnotation.keys()[0];

      KeysRtePluginParameters keysParameters = new KeysRtePluginParameters();
      if (!keysAnnotation.tabSize().equals("")) {
        keysParameters.setTabSize(keysAnnotation.tabSize());
      }
      return new KeysRtePlugin(keysParameters);
    }

    return null;
View Full Code Here

Examples of org.openqa.selenium.Keys

    exec.key(string);
  }

  public void pressKey(CharSequence keyToPress) {
    Keys key = Keys.getKeyFromUnicode(keyToPress.charAt(0));
    modifiers.add(key);
    exec.key(OperaKey.get(key).toScope(), false);
  }
View Full Code Here

Examples of org.openqa.selenium.Keys

    modifiers.add(key);
    exec.key(OperaKey.get(key).toScope(), false);
  }

  public void releaseKey(CharSequence keyToRelease) {
    Keys key = Keys.getKeyFromUnicode(keyToRelease.charAt(0));
    modifiers.remove(key);
    exec.key(OperaKey.get(key).toScope(), true);
  }
View Full Code Here

Examples of org.zanata.webtrans.client.keys.Keys

    @Override
    protected void onBind() {
        glossaryDetailsPresenter.onBind();
        keyShortcutPresenter.register(KeyShortcut.Builder.builder()
                .addKey(new Keys(Keys.NO_MODIFIER, KeyCodes.KEY_ENTER))
                .setContext(ShortcutContext.Glossary)
                .setDescription(messages.searchGlossary())
                .setHandler(new KeyShortcutEventHandler() {
                    @Override
                    public void onKeyShortcut(KeyShortcutEvent event) {
View Full Code Here

Examples of org.zanata.webtrans.client.keys.Keys

    }

    private void registerKeyShortcut() {
        KeyShortcut confirmShortcut =
                KeyShortcut.Builder.builder()
                        .addKey(new Keys(Keys.CTRL_KEY, KeyCodes.KEY_ENTER))
                        .setContext(ShortcutContext.TransHistoryPopup)
                        .setHandler(new KeyShortcutEventHandler() {
                            @Override
                            public void onKeyShortcut(KeyShortcutEvent event) {
                                addComment(display.getComment());
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.