Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage Class Reference

Show gallery image if clicked listener. More...

Inheritance diagram for Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage:
Dragengine.Gui.ClickedActionListener Dragengine.Gui.Events.DefaultMouseListener Dragengine.Gui.Events.MouseListener

Public Member Functions

ClickShowGalleryImage new (ListModel model, MMModification.GalleryImage galleryImage)
 Create listener. More...
 
void onAction ()
 Show image. More...
 
- Public Member Functions inherited from Dragengine.Gui.ClickedActionListener
int getButton ()
 Mouse button to track. More...
 
int getClickedCount ()
 Count of multi-clicks detected so far. More...
 
int getMultiClickCount ()
 Count of multi clicks before fire action. More...
 
float getMultiClickTimeout ()
 Maximum time in seconds between clicks to count as multi-click. More...
 
Point getPosition ()
 Mouse position at button press time or null if not tracked. More...
 
int getRange ()
 Range in pixels the mouse is allowed to move to fire the action. More...
 
ClickedActionListener new ()
 Create mouse listener tracking left mouse button and range of 5 pixels. More...
 
ClickedActionListener new (int trackButton, int range)
 Create mouse listener. More...
 
void onButtonPress (MouseEvent event)
 Mouse button pressed. More...
 
void onButtonRelease (MouseEvent event)
 Mouse button release. More...
 
void onMouseMove (MouseEvent event)
 Mouse moved. More...
 
void resetMultiClickDetection ()
 Reset multi click detection. More...
 
void setMultiClickCount (int count)
 Set count of multi clicks before fire action. More...
 
void setMultiClickTimeout (float time)
 Set maximum time in seconds between clicks to count as multi-click. More...
 
- Public Member Functions inherited from Dragengine.Gui.Events.DefaultMouseListener
void onMouseEnter (MouseEvent event)
 Mouse has entered widget. More...
 
void onMouseLeave (MouseEvent event)
 Mouse has left widget. More...
 
void onMouseWheel (MouseEvent event)
 Mouse wheel moved. More...
 

Public Attributes

MMModification.GalleryImage pGalleryImage
 
ListModel pModel
 

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. More...
 

Detailed Description

Show gallery image if clicked listener.

Member Function Documentation

◆ new()

ClickShowGalleryImage Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage.new ( ListModel  model,
MMModification.GalleryImage  galleryImage 
)

Create listener.

◆ onAction()

void Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage.onAction ( )

Show image.

Reimplemented from Dragengine.Gui.ClickedActionListener.

Member Data Documentation

◆ pGalleryImage

MMModification.GalleryImage Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage.pGalleryImage

◆ pModel

ListModel Dragengine.Gui.ModManagement.MMImageGallery.ClickShowGalleryImage.pModel

The documentation for this class was generated from the following file: