Example #1
0
 public void Inject(Object owner) {
   GfuiBtn btn = GfuiBtn_.cast(owner);
   IptBnd_.cmd_to_(
       IptCfg_.Null, btn, this, MovePrev_cmd, IptKey_.add_(IptKey_.Ctrl, IptKey_.Left));
   IptBnd_.cmd_to_(
       IptCfg_.Null, btn, this, MoveNext_cmd, IptKey_.add_(IptKey_.Ctrl, IptKey_.Right));
 }
Example #2
0
 public void Inject(Object obj) {
   tabBox = TabBox_.cast(obj);
   IptBnd_.cmd_to_(
       IptCfg_.Null,
       tabBox,
       this,
       SelectNext_cmd,
       IptKey_.add_(IptKey_.Ctrl, IptKey_.Tab),
       IptKey_.add_(IptKey_.Ctrl, IptKey_.PageDown));
   IptBnd_.cmd_to_(
       IptCfg_.Null,
       tabBox,
       this,
       SelectPrev_cmd,
       IptKey_.add_(IptKey_.Ctrl, IptKey_.Tab, IptKey_.Shift),
       IptKey_.add_(IptKey_.Ctrl, IptKey_.PageUp));
 }