@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); }
@Override public boolean PaintCbk(PaintArgs args) { super.PaintCbk(args); GfuiChkBox_.DrawCheckBox(this, args.Graphics()); return true; }
@Override public boolean FocusLostCbk() { super.FocusLostCbk(); this.Redraw(); return true; } // Redraw for focusBorder