Revision: 2406
http://sourceforge.net/p/swingme/code/2406
Author: yuranet
Date: 2021-03-04 00:08:29 +0000 (Thu, 04 Mar 2021)
Log Message:
-----------
javadoc
Modified Paths:
--------------
AndroidME/src_SwingME_plaf/net/yura/android/AlertOptionPane.java
Removed Paths:
-------------
AndroidME/build/
Property Changed:
----------------
AndroidME/
Index: AndroidME
===================================================================
--- AndroidME 2021-03-03 18:45:47 UTC (rev 2405)
+++ AndroidME 2021-03-04 00:08:29 UTC (rev 2406)
Property changes on: AndroidME
___________________________________________________________________
Modified: svn:ignore
## -6,3 +6,4 ##
Application Descriptor
build
dist
+AndroidME.iml
Modified: AndroidME/src_SwingME_plaf/net/yura/android/AlertOptionPane.java
===================================================================
--- AndroidME/src_SwingME_plaf/net/yura/android/AlertOptionPane.java 2021-03-03 18:45:47 UTC (rev 2405)
+++ AndroidME/src_SwingME_plaf/net/yura/android/AlertOptionPane.java 2021-03-04 00:08:29 UTC (rev 2406)
@@ -17,6 +17,11 @@
public class AlertOptionPane extends OptionPane implements OnCancelListener, OnClickListener {
+ /**
+ * in swingme the convention is from old nokia phones that action/menu is 1st (on the left) and cancel is 2nd (on the right)
+ * @see net.yura.mobile.gui.KeyEvent#KEY_SOFTKEY1 (1st or left or KEY_MENU or positive)
+ * @see net.yura.mobile.gui.KeyEvent#KEY_SOFTKEY2 (2nd or right or KEY_END or negative)
+ */
private static final int[] BUTTON_TYPE = {DialogInterface.BUTTON_POSITIVE, DialogInterface.BUTTON_NEUTRAL, DialogInterface.BUTTON_NEGATIVE};
private AlertDialog alertDialog;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|