(ActionEvent evt)
| 139 | private final Container contentPane = new Container(BoxLayout.y()); |
| 140 | private final ActionListener formPointerListener = new ActionListener() { |
| 141 | @Override |
| 142 | public void actionPerformed(ActionEvent evt) { |
| 143 | Form f = getComponentForm(); |
| 144 | if (f == null) { |
| 145 | return; |
| 146 | } |
| 147 | if (Display.impl.isScrollWheeling()) { |
| 148 | return; |
| 149 | } |
| 150 | Component cmp = f.getComponentAt(evt.getX(), evt.getY()); |
| 151 | if (Sheet.this.contains(cmp) || Sheet.this == cmp || cmp.isOwnedBy(Sheet.this)) { //NOPMD CompareObjectsWithEquals |
| 152 | // do nothing. |
| 153 | } else { |
| 154 | evt.consume(); |
| 155 | hide(DEFAULT_TRANSITION_DURATION); |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | }; |
| 160 | private boolean swipeToDismissEnabled = true; |
nothing calls this directly
no test coverage detected