|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.EventObject
byucc.jhdl.apps.Viewers.Event.JHDLWidgetEvent
Passed to JHDLWidgetEventListeners by JHDLWidgetEventGenerators.
JHDLWidgetEventListener,JHDLWidgetEventGenerator,
Serialized Form| Field Summary | |
static int |
ACTION_CELLS
Means a cell or cells have been double clicked, and they can be accessed by the getList() method. |
static int |
ACTION_WIRES
Means a wire or wires have been double clicked, and they can be accessed by the getList() method. |
static int |
CLEAR_ALL
Means all displayed items have been unselected in another widget, and this widget may do the same |
static int |
CLEAR_SELECTED_CELLS
Means all cells have been unselected in another widget, and this widget may do the same |
static int |
CLEAR_SELECTED_WIRES
Means all wires have been unselected in another widget, and this widget may do the same |
static int |
ERROR_CONSTRUCTING
Means an error occured in the constructor, meaning it probably did not send a correct argument type to the constructor. |
static int |
SET_SELECTED_CELLS
Means multiple cells have been clicked, and they can be accessed by the getList() method. |
static int |
SET_SELECTED_WIRES
Means multiple wires have been clicked, and they can be accessed by the getList() method. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
JHDLWidgetEvent(java.lang.Object source,
int id,
java.util.ArrayList list)
Constructor used primarily for CLEAR or SELECT events |
|
| Method Summary | |
int |
getID()
|
java.util.ArrayList |
getList()
|
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ERROR_CONSTRUCTING
public static final int SET_SELECTED_CELLS
public static final int SET_SELECTED_WIRES
public static final int ACTION_CELLS
public static final int ACTION_WIRES
public static final int CLEAR_SELECTED_WIRES
public static final int CLEAR_SELECTED_CELLS
public static final int CLEAR_ALL
| Constructor Detail |
public JHDLWidgetEvent(java.lang.Object source,
int id,
java.util.ArrayList list)
source - The source object of this event.id - The id, meaning the reason for this event, encoded in
JHDLMouseEvent.list - The list of currently selected wires or cells.| Method Detail |
public int getID()
public java.util.ArrayList getList()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||