public class IsGalleryTypeSupportedEvent

  1. Object
  2. ActionEvent
  3. PluginEvent<Boolean>
  4. 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

type int
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.