MCPcopy Create free account
hub / github.com/10cks/fofaEX / contains

Method contains

src/main/java/RoundJTextField.java:24–29  ·  view source on GitHub ↗
(int x, int y)

Source from the content-addressed store, hash-verified

22 }
23
24 public boolean contains(int x, int y) {
25 if (shape == null || !shape.getBounds().equals(getBounds())) {
26 shape = new RoundRectangle2D.Float(0, 0, getWidth()-1, getHeight()-1, 15, 15);
27 }
28 return shape.contains(x, y);
29 }
30}

Callers 3

actionPerformedMethod · 0.80
settingInitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected