64,6 → 64,7 |
import com.google.gwt.user.client.ResponseTextHandler; |
import com.google.gwt.user.client.ui.Button; |
import com.google.gwt.user.client.ui.ChangeListener; |
import com.google.gwt.user.client.ui.CheckBox; |
import com.google.gwt.user.client.ui.ClickListener; |
import com.google.gwt.user.client.ui.Composite; |
import com.google.gwt.user.client.ui.Grid; |
195,16 → 196,10 |
public void onKeyDown(Widget arg0, char arg1, int arg2) { |
if(arg1 == KEY_ENTER) |
{ |
if (ordre==null) { |
mediator.onAddInventoryItem(); |
date.setText(""); |
} |
else { |
mediator.onModifyInventoryItem(ordre); |
ordre=null; |
} |
} |
} |
|
public void onKeyUp(Widget arg0, char arg1, int arg2) { } |
public void onKeyPress(Widget arg0, char arg1, int arg2) { } |
227,15 → 222,9 |
public void onKeyDown(Widget arg0, char arg1, int arg2) { |
if(arg1 == KEY_ENTER) |
{ |
if (ordre==null) { |
mediator.onAddInventoryItem(); |
complementLocation.setText(""); |
} |
else { |
mediator.onModifyInventoryItem(ordre); |
ordre=null; |
} |
} |
|
} |
|
260,15 → 249,9 |
public void onKeyDown(Widget arg0, char arg1, int arg2) { |
if(arg1 == KEY_ENTER) |
{ |
if (ordre==null) { |
mediator.onAddInventoryItem(); |
comment.setText(""); |
} |
else { |
mediator.onModifyInventoryItem(ordre); |
ordre=null; |
} |
} |
|
} |
|
406,11 → 389,8 |
String ann=((JSONString) jsonArray .get(3)).stringValue(); |
|
if (ann.compareTo("0")!=0) { |
nameAssistant.setValue(null); |
nameAssistant.setValue(ann); |
} |
else { |
nameAssistant.setValue(null); |
} |
|
// Commune |
String aloc=((JSONString) jsonArray .get(6)).stringValue(); |
469,8 → 449,5 |
|
/* +--Fin du code ---------------------------------------------------------------------------------------+ |
* $Log$ |
* Revision 1.4 2007-05-21 21:01:35 ddelon |
* Modification comportement boutons |
* |
* |
*/ |