public class IsGalleryTypeSupportedEvent
- Object
- ActionEvent
- PluginEvent<Boolean>
- IsGalleryTypeSupportedEvent
Plugin event fired when
Display#isGalleryTypeSupported(int) method is called to give
plugins an opportunity to answer this question.Constructors
public IsGalleryTypeSupportedEvent(int type) | Creates a new event with the given type. |
Methods
public int getType() | Gets the type of gallery to open. |
Inherited nested types
Inherited methods
Constructor details
IsGalleryTypeSupportedEvent
public IsGalleryTypeSupportedEvent(int type)Creates a new event with the given type.
Parameters
typeint- The type of the gallery. This is one of the constants defined in
Display.
Method details
getType
public int getType()Gets the type of gallery to open.
Returns
The type of gallery to open. This is one of the constants defined in
Display.