Class IsGalleryTypeSupportedEvent


public class IsGalleryTypeSupportedEvent extends PluginEvent<Boolean>
Plugin event fired when Display#isGalleryTypeSupported(int) method is called to give plugins an opportunity to answer this question.
  • Constructor Details

    • IsGalleryTypeSupportedEvent

      public IsGalleryTypeSupportedEvent(int type)

      Creates a new event with the given type.

      Parameters
      • type: 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.

      Since

      8.0

      See also
      • Display#openGallery(com.codename1.ui.events.ActionListener, int)