MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / showAtPosition

Method showAtPosition

CodenameOne/src/com/codename1/ui/Dialog.java:1189–1205  ·  view source on GitHub ↗
(int top, int bottom, int left, int right, boolean modal)

Source from the content-addressed store, hash-verified

1187 ///
1188 /// the last command pressed by the user if such a command exists
1189 public Command showAtPosition(int top, int bottom, int left, int right, boolean modal) {
1190 this.top = top;
1191 this.bottom = bottom;
1192 if (isRTL()) {
1193 this.left = right;
1194 this.right = left;
1195 } else {
1196 this.left = left;
1197 this.right = right;
1198 }
1199 //this.includeTitle = includeTitle;
1200 setDisposed(false);
1201 this.modal = modal;
1202 lastCommandPressed = null;
1203 showModal(this.top, this.bottom, this.left, this.right, false, modal, false);
1204 return lastCommandPressed;
1205 }
1206
1207 /// Disable title bar status for iOS 7 which breaks dialogs
1208 @Override

Callers 1

openGalleryMethod · 0.95

Calls 3

setDisposedMethod · 0.95
showModalMethod · 0.95
isRTLMethod · 0.45

Tested by

no test coverage detected