MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / pointerPressed

Method pointerPressed

CodenameOne/src/com/codename1/ui/Dialog.java:2025–2031  ·  view source on GitHub ↗
(int x, int y)

Source from the content-addressed store, hash-verified

2023
2024 /// {@inheritDoc}
2025 @Override
2026 public void pointerPressed(int x, int y) {
2027 super.pointerPressed(x, y);
2028 pressedOutOfBounds = !getTitleComponent().containsOrOwns(x, y) &&
2029 !getContentPane().containsOrOwns(x, y) &&
2030 !getMenuBar().containsOrOwns(x, y);
2031 }
2032
2033 /// Returns true if a dialog that was disposed did it because of a pointer out of bounds
2034 ///

Calls 4

getTitleComponentMethod · 0.95
getContentPaneMethod · 0.95
containsOrOwnsMethod · 0.80
getMenuBarMethod · 0.45