public class OpenGalleryEvent extends PluginEvent<Void>
Display#openGallery(com.codename1.ui.events.ActionListener, int) is called.ActionEvent.Type| Constructor and Description |
|---|
OpenGalleryEvent(ActionListener response,
int type) |
| Modifier and Type | Method and Description |
|---|---|
ActionListener |
getResponse()
Gets the response listener that will be called when the gallery is closed.
|
int |
getType()
Gets the type of gallery to open.
|
getPluginEventResponse, setPluginEventResponseconsume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDragpublic OpenGalleryEvent(ActionListener response, int type)
public ActionListener getResponse()
Display#openGallery(com.codename1.ui.events.ActionListener, int)public int getType()
Display#openGallery(com.codename1.ui.events.ActionListener, int)