*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*/
public void onMouseDown(final TMouseEvent mouse) {
// Default: do nothing, pass to children instead
*/
public void onMouseDown(final TMouseEvent mouse) {
// Default: do nothing, pass to children instead
if (widget.mouseWouldHit(mouse)) {
// Dispatch to this child, also activate it
activate(widget);
if (widget.mouseWouldHit(mouse)) {
// Dispatch to this child, also activate it
activate(widget);
*/
public void onMouseUp(final TMouseEvent mouse) {
// Default: do nothing, pass to children instead
*/
public void onMouseUp(final TMouseEvent mouse) {
// Default: do nothing, pass to children instead
if (widget.mouseWouldHit(mouse)) {
// Dispatch to this child, also activate it
activate(widget);
if (widget.mouseWouldHit(mouse)) {
// Dispatch to this child, also activate it
activate(widget);