(Component cmp)
| 3353 | } |
| 3354 | |
| 3355 | private void setPressedCmp(Component cmp) { |
| 3356 | cmp = LeadUtil.leadParentImpl(cmp); |
| 3357 | pressedCmp = cmp; |
| 3358 | if (cmp == null) { |
| 3359 | pressedCmpAbsBounds.setBounds(0, 0, 0, 0); |
| 3360 | } else { |
| 3361 | pressedCmpAbsBounds.setBounds(cmp.getAbsoluteX(), cmp.getAbsoluteY(), cmp.getWidth(), cmp.getHeight()); |
| 3362 | } |
| 3363 | |
| 3364 | } |
| 3365 | |
| 3366 | /// Gets the handle for the current pointer press event. A new object |
| 3367 | /// is generated for each pointer press. |
no test coverage detected