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, setPluginEventResponse
consume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDrag
public 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)