Lines Matching refs:trigger
163 * @param trigger the triggering event
175 * with the trigger event is {@code null}.
177 * trigger event is {@code null}.
179 * trigger event is {@code DnDConstants.ACTION_NONE}.
181 * {@code DragGestureRecognizer} associated with the trigger
183 * @throws NullPointerException if dscp, trigger, or t are null, or
186 public DragSourceContext(DragGestureEvent trigger, Cursor dragCursor,
194 createDragSourceContextPeer(trigger);
200 if (trigger == null) {
204 if (trigger.getDragSource() == null) {
208 if (trigger.getComponent() == null) {
212 if (trigger.getSourceAsDragGestureRecognizer().getSourceActions() ==
217 if (trigger.getDragAction() == DnDConstants.ACTION_NONE) {
230 this.trigger = trigger;
235 trigger.getSourceAsDragGestureRecognizer().getSourceActions();
239 updateCurrentCursor(trigger.getDragAction(), getSourceActions(), DEFAULT);
250 public DragSource getDragSource() { return trigger.getDragSource(); }
259 public Component getComponent() { return trigger.getComponent(); }
268 public DragGestureEvent getTrigger() { return trigger; }
580 DragGestureEvent newTrigger = (DragGestureEvent)f.get("trigger", null);
582 throw new InvalidObjectException("Null trigger");
588 throw new InvalidObjectException("Null trigger component");
602 trigger = newTrigger;
645 private DragGestureEvent trigger;