PanelResponse

A value shape that methods take or return.

Methods
None
Fields
19

Fields

FieldTypeDescription
xnumberLeft edge.
ynumberTop edge.
widthnumberWidth.
heightnumberHeight.
hoveredbooleanThe pointer is over it.
clickedbooleanA primary click landed on it.
secondaryClickedbooleanA secondary (right) click landed on it.
middleClickedbooleanA middle click landed on it.
doubleClickedbooleanA double click landed on it.
draggedbooleanIt is being dragged.
dragStartedbooleanA drag of it started this pass.
dragStoppedbooleanA drag of it ended this pass.
dragDeltaXnumberHow far it was dragged this pass, across.
dragDeltaYnumberHow far it was dragged this pass, down.
pointerXnumber?The pointer's x inside it; nil when the pointer is elsewhere.
pointerYnumber?The pointer's y inside it; nil when the pointer is elsewhere.
hasFocusbooleanIt has keyboard focus.
lostFocusbooleanIt lost keyboard focus this pass.
changedbooleanIts value changed this pass.

Returned by

MethodReturnsDescription
Panel.lastResponsePanelResponse?How the LAST control drawn was used this pass: the alternative to a MouseListener/FocusListener.