public void AddKeyBinding(KeyBinding keyBinding) { RequestManager.EnsureDirectEvent(); this.Call("addBinding", keyBinding); }
protected virtual void AfterKeyBindingAdd(KeyBinding keyBinding) { keyBinding.Owner = this; keyBinding.Listeners.Event.Owner = this; }
/// <summary> /// /// </summary> /// <param name="keyBinding"></param> public virtual void AddKeyBinding(KeyBinding keyBinding) { RequestManager.EnsureDirectEvent(); this.Call("addBinding", JRawValue.From(new ClientConfig().Serialize(keyBinding, true))); }
public void AddKeyBinding(KeyBinding keyBinding) { RequestManager.EnsureDirectEvent(); this.Call("addBinding", new JRawValue(new ClientConfig().SerializeInternal(keyBinding, this))); }
public virtual Element AddKeyListener(KeyBinding key) { this.Call("addKeyListenerEx", new ClientConfig().Serialize(key)); return this; }
/// <summary> /// /// </summary> public virtual KeyMap.Builder AddKeyBinding(KeyBinding keyBinding) { this.ToComponent().AddKeyBinding(keyBinding); return(this); }
/// <summary> /// /// </summary> public KeyBinding.Builder KeyBinding(KeyBinding component) { return(new KeyBinding.Builder(component)); }