Revision 2039 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.dynform/org.gvsig.tools.dynform.api/src/main/java/org/gvsig/tools/dynform/JDynFormSet.java
JDynFormSet.java | ||
---|---|---|
35 | 35 |
|
36 | 36 |
public interface JDynFormSet extends Component { |
37 | 37 |
|
38 |
public static final int ACTION_FIRST = 1;
|
|
39 |
public static final int ACTION_PREVIOUS = 2;
|
|
40 |
public static final int ACTION_NEXT = 3;
|
|
41 |
public static final int ACTION_LAST = 4;
|
|
42 |
public static final int ACTION_SAVE = 5;
|
|
43 |
public static final int ACTION_NEW = 6;
|
|
44 |
public static final int ACTION_CANCEL_NEW = 7;
|
|
45 |
public static final int ACTION_DELETE = 8;
|
|
46 |
public static final int ACTION_SEARCH = 9;
|
|
47 |
public static final int ACTION_CLOSE = 10;
|
|
48 |
public static final int ACTION_SET_CURRENT_RECORD = 11;
|
|
38 |
public static final String ACTION_FIRST = "first";
|
|
39 |
public static final String ACTION_PREVIOUS = "previous";
|
|
40 |
public static final String ACTION_NEXT = "next";
|
|
41 |
public static final String ACTION_LAST = "last";
|
|
42 |
public static final String ACTION_SAVE = "save";
|
|
43 |
public static final String ACTION_NEW = "new";
|
|
44 |
public static final String ACTION_CANCEL_NEW = "cancel-new";
|
|
45 |
public static final String ACTION_DELETE = "delete";
|
|
46 |
public static final String ACTION_SEARCH = "search";
|
|
47 |
public static final String ACTION_CLOSE = "close";
|
|
48 |
public static final String ACTION_SET_CURRENT_RECORD = "set-current-record";
|
|
49 | 49 |
|
50 | 50 |
public interface JDynFormSetListener { |
51 | 51 |
public void formMessage(String message); |
... | ... | |
114 | 114 |
public boolean isActionVisible(String action); |
115 | 115 |
public boolean isActionEnabled(String action); |
116 | 116 |
public JComponent getActionButton(String action); |
117 |
public void fireEvent(int eventid, Object value);
|
|
117 |
public void fireEvent(String action, Object value);
|
|
118 | 118 |
|
119 | 119 |
public void addActionToPopupMenu(DataType tipo, String name, Action action); |
120 | 120 |
public void addSeparatorToPopupMenu(DataType tipo); |
Also available in: Unified diff