|
Drag[en]gine Script Module DragonScript 1.32.1
|
Show gallery image if clicked listener. More...
Public Member Functions | |
| ClickShowGalleryImage | new (ListModel model, MMModification.GalleryImage galleryImage) |
| Create listener. | |
| void | onAction () |
| Show image. | |
Public Member Functions inherited from Dragengine.Gui.ClickedActionListener | |
| int | getButton () |
| Mouse button to track. | |
| int | getClickedCount () |
| Count of multi-clicks detected so far. | |
| Point | getClickedPosition () |
| Last clicked event position. | |
| int | getMultiClickCount () |
| Count of multi clicks before fire action. | |
| float | getMultiClickTimeout () |
| Maximum time in seconds between clicks to count as multi-click. | |
| Point | getPosition () |
| Mouse position at button press time or null if not tracked. | |
| int | getRange () |
| Range in pixels the mouse is allowed to move to fire the action. | |
| ClickedActionListener | new () |
| Create mouse listener tracking left mouse button and range of 5 pixels. | |
| ClickedActionListener | new (int trackButton, int range) |
| Create mouse listener. | |
| void | onButtonPress (MouseEvent event) |
| Mouse button pressed. | |
| void | onButtonRelease (MouseEvent event) |
| Mouse button release. | |
| void | onMouseMove (MouseEvent event) |
| Mouse moved. | |
| void | resetMultiClickDetection () |
| Reset multi click detection. | |
| void | setMultiClickCount (int count) |
| Set count of multi clicks before fire action. | |
| void | setMultiClickTimeout (float time) |
| Set maximum time in seconds between clicks to count as multi-click. | |
Public Attributes | |
| MMModification.GalleryImage | pGalleryImage |
| ListModel | pModel |
Public Attributes inherited from Dragengine.Gui.ClickedActionListener | |
| int | pButton |
| int | pMultiClickCount |
| float | pMultiClickTimeout |
| Point | pPosition |
| ResetMultiClickTimer | pResetMultiClickTimer |
Additional Inherited Members | |
Protected Member Functions inherited from Dragengine.Gui.ClickedActionListener | |
| void | setPosition (Point position) |
| Set mouse position at button press time or null if not tracked. | |
Show gallery image if clicked listener.
| ClickShowGalleryImage Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage.new | ( | ListModel | model, |
| MMModification.GalleryImage | galleryImage | ||
| ) |
Create listener.
| void Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage.onAction | ( | ) |
Show image.
Reimplemented from Dragengine.Gui.ClickedActionListener.
| MMModification.GalleryImage Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage.pGalleryImage |
| ListModel Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage.pModel |