Beispiel #1
0
	void AddSubs(GfuiElem owner, List_adp allElemsInOwnerWin) {
		for (int i = 0; i < owner.SubElems().Count(); i++) {
			GfuiElemBase sub = (GfuiElemBase)owner.SubElems().Get_at(i);
			if (sub.Click_able()) allElemsInOwnerWin.Add(sub);
			AddSubs(sub, allElemsInOwnerWin);
		}
	}
Beispiel #2
0
 @Override
 public void ctor_GfuiBox_base(Keyval_hash ctorArgs) {
   super.ctor_GfuiBox_base(ctorArgs);
   focusBorder.All_(PenAdp_.new_(ColorAdp_.Gray, 1));
   Inject_(GfuiFocusXferBnd.Instance).Inject_(GfuiBtnClickBnd.Instance);
   this.CustomDraw_set(true);
 }
Beispiel #3
0
 @Override
 public boolean PaintCbk(PaintArgs args) {
   super.PaintCbk(args);
   GfuiChkBox_.DrawCheckBox(this, args.Graphics());
   return true;
 }
Beispiel #4
0
 @Override
 public boolean FocusLostCbk() {
   super.FocusLostCbk();
   this.Redraw();
   return true;
 } // Redraw for focusBorder