Package org.opt4j.viewer
Interface IndividualMouseListener
public interface IndividualMouseListener
Listener for mouse events on
Individual
s. By default this listener is
applied on the ArchiveWidget
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDoubleClick
(Individual individual, Component component, Point p) Invoked if anIndividual
is selected by adouble click
.void
onPopup
(Individual individual, Component component, Point p, JPopupMenu menu) Invoked if anIndividual
is selected by apopup
(usually with a right click of the mouse).
-
Method Details
-
onPopup
Invoked if anIndividual
is selected by apopup
(usually with a right click of the mouse).- Parameters:
individual
- the selected individualcomponent
- the componentp
- the pointmenu
- a created popup menu
-
onDoubleClick
Invoked if anIndividual
is selected by adouble click
.- Parameters:
individual
- the selected individualcomponent
- the componentp
- the point
-