Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 223 → Rev 224

/DUBwise/trunk/j2me/src/DUBwiseUIDefinitions.java
1,7 → 1,5
public interface DUBwiseUIDefinitions
{
 
 
// id for each state - must just be uniq - order isnt important
public final static byte STATEID_INITIAL =0;
public final static byte STATEID_DEVICESELECT =1;
26,15 → 24,17
public final static byte STATEID_TRAFFIC =20;
public final static byte STATEID_SELECT_COMPORT =21;
public final static byte STATEID_ABOUT =22;
public final static byte STATEID_NC_ERRORS =23;
public final static byte STATEID_ERROR_MSG =23;
public final static byte STATEID_FLASHING =24;
public final static byte STATEID_NAMEINPUT =25;
public final static byte STATEID_DATABUFF =26;
public final static byte STATEID_HORIZON =27;
//public final static byte STATEID_SELECT_SPEED_FORMAT=28;
public final static byte STATEID_SUCCESS_MSG =28;
public final static byte STATEID_STRINGINPUT =29;
public final static byte STATEID_SCANNING =30;
public final static byte LAST_STATEID =30;
public final static byte STATEID_RESET_PARAMS =31;
public final static byte STATEID_PARAM_MENU =32;
public final static byte STATEID_COUNT =33;
 
 
 
67,9 → 67,8
 
public final static byte ACTIONID_HORIZON = 22;
public final static byte ACTIONID_WRITE_PARAM_AS = 23;
// public final static byte ACTIONID_SOUNDTOGGLE = 23;
// public final static byte ACTIONID_VIBRATOGGLE = 24;
// public final static byte ACTIONID_GRAPHTOGGLE = 25;
public final static byte ACTIONID_PARAM_WRITE_OK = 24;
public final static byte ACTIONID_PARAM_MENU = 25;
// public final static byte ACTIONID_FULLSCREENTOGGLE = 26;
// public final static byte ACTIONID_LIGHTTOGGLE =27;
public final static byte ACTIONID_DATABUFF =28;
84,7 → 83,7
public final static byte ACTIONID_RESET_PARAMS =35;
 
public final static byte ACTIONID_BACK_TO_CONNDETAILS=36;
// public final static byte ACTIONID_SELECT_GPS_FORMAT=37;
public final static byte ACTIONID_SELECT_PARAMS =37;
// public final static byte ACTIONID_SET_GPS_FORMAT_DECIMAL=38;
// public final static byte ACTIONID_SET_GPS_FORMAT_MINSEC=39;
 
102,13 → 101,24
public final static byte ACTIONID_QUIT = 100;
 
 
public final static String[] param_menu_items={"Edit Settings","Reinitialize all","back"};
public final static byte[] param_menu_actions={ACTIONID_SELECT_PARAMS,ACTIONID_RESET_PARAMS,ACTIONID_MAINMENU};
 
public final static String[] handle_params_menu_items={"save","save as","discard/read again","rename","all to default","to Main-Menu"};
public final static byte[] handle_params_menu_actions={ACTIONID_WRITE_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_UNDO_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_RESET_PARAMS,ACTIONID_MAINMENU};
 
public final static String[] handle_params_menu_items={"Edit Content","Rename","Save AS","Save","Read Again","back"};
public final static byte[] handle_params_menu_actions={ACTIONID_EDIT_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_WRITE_PARAMS,ACTIONID_UNDO_PARAMS,ACTIONID_SELECT_PARAMS };
 
 
 
//ACTIONID_WRITE_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_UNDO_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_MAINMENU};
 
/*
public final static String[] handle_params_menu_items={"save","save as","discard/read again","rename","to Main-Menu"};
public final static byte[] handle_params_menu_actions={ACTIONID_WRITE_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_UNDO_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_MAINMENU};
*/
 
 
 
public final static String[] conn_details_menu_items={ "packet Traffic","view Data","connect via TCP/IP","connect via BT","connect via COM","set Proxy","back" };
public final static byte[] conn_details_menu_actions={ ACTIONID_TRAFFIC,ACTIONID_DATABUFF,ACTIONID_CONNECT_TCP,ACTIONID_SCAN_BT, ACTIONID_SELECT_COM,ACTIONID_PROXY_INPUT,ACTIONID_MAINMENU};