Class IsGalleryTypeSupportedEvent
java.lang.Object
com.codename1.ui.events.ActionEvent
com.codename1.plugin.event.PluginEvent<Boolean>
com.codename1.plugin.event.IsGalleryTypeSupportedEvent
Plugin event fired when
Display#isGalleryTypeSupported(int) method is called to give
plugins an opportunity to answer this question.-
Nested Class Summary
Nested classes/interfaces inherited from class ActionEvent
ActionEvent.Type -
Constructor Summary
ConstructorsConstructorDescriptionIsGalleryTypeSupportedEvent(int type) Creates a new event with the given type. -
Method Summary
Methods inherited from class PluginEvent
getPluginEventResponse, setPluginEventResponseMethods inherited from class ActionEvent
consume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDragMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 inDisplay.
-
-
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)
-