Hi all,
i made the following observation with 'setInvokeEvent()' and 'setDragroundtrip(true)':
When using setInvokeEvent(), the listener only responds to 'BaseActionEventInvoke' (also with 'setDragroundtrip(true)'). If setInvokeEvent() is omitted, events of type BaseActionEventDragStarted also come in.
Example:
SCHEDULEITEMNode sin = new SCHEDULEITEMNode()
...
.setInvokeevent("leftanyclick")
.setDragroundtrip(true)
.bindActionListener(...);
For BOXNode the behavior is the same.
Is it possible to catch both event types? Maybe I missed something.
Version is 20220704.
Kind regards,
Nando
|