|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.MouseAdapter
antsnest.level.defaults.ProjectTreeListener
public class ProjectTreeListener
Listens for events on the project tree
| Constructor Summary | |
|---|---|
ProjectTreeListener(ProjectPanel projPanel)
Constructs a new listener |
|
| Method Summary | |
|---|---|
void |
isMouseOver(boolean in)
Sets whether the mouse is over the tree |
void |
mouseEntered(MouseEvent e)
Called when the mouse is over the tree |
void |
mouseExited(MouseEvent e)
Called when the mouse is not over the tree |
void |
mousePressed(MouseEvent e)
Called when the mouse is pressed |
void |
mouseReleased(MouseEvent e)
Called when the mouse button is released |
| Methods inherited from class java.awt.event.MouseAdapter |
|---|
mouseClicked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectTreeListener(ProjectPanel projPanel)
projPanel - the project panel that contains the tree| Method Detail |
|---|
public void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenermouseReleased in class MouseAdaptere - the event that caused the callpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenermousePressed in class MouseAdaptere - the event that caused the callpublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenermouseEntered in class MouseAdaptere - the event that caused this callpublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenermouseExited in class MouseAdaptere - the event that caused this callpublic void isMouseOver(boolean in)
in - whether the mouse is over the tree
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||