Пример #1
0
 public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
   if (ctx.Match(k, MoveNext_cmd)) MoveTab(GfuiBtn_.cast(ctx.MsgSrc()), 1);
   else if (ctx.Match(k, MovePrev_cmd)) MoveTab(GfuiBtn_.cast(ctx.MsgSrc()), -1);
   else return Gfo_invk_.Rv_unhandled;
   return this;
 }
Пример #2
0
	public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
		if		(ctx.Match(k, Invk_FocusNext))			Focus(GfuiElem_.cast_(ctx.MsgSrc()), true);
		else if	(ctx.Match(k, Invk_FocusPrev))			Focus(GfuiElem_.cast_(ctx.MsgSrc()), false);
		else return GfoInvkAble_.Rv_unhandled;
		return this;
	}	public static final String Invk_FocusNext = "FocusNext", Invk_FocusPrev = "FocusPrev";