gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.swing / org.gvsig.tools.swing.api / src / main / java / org / gvsig / tools / swing / api / bookmarkshistory / ActionEventWithCurrentValue.java @ 1990
History | View | Annotate | Download (488 Bytes)
1 | 1990 | jjdelcerro | package org.gvsig.tools.swing.api.bookmarkshistory; |
---|---|---|---|
2 | |||
3 | import java.awt.event.ActionEvent; |
||
4 | |||
5 | /**
|
||
6 | *
|
||
7 | * @author jjdelcerro
|
||
8 | */
|
||
9 | public interface ActionEventWithCurrentValue<T> { |
||
10 | |||
11 | public static final int ID_SETVALUE = ActionEvent.ACTION_FIRST; |
||
12 | public static final int ID_GETVALUE = ActionEvent.ACTION_FIRST + 1; |
||
13 | |||
14 | public int getID(); |
||
15 | |||
16 | public Object getSource(); |
||
17 | |||
18 | public String getActionCommand(); |
||
19 | |||
20 | public void setCurrentValue(T value); |
||
21 | |||
22 | public T getCurrentValue();
|
||
23 | |||
24 | } |