|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.princeton.swing.PHyperlink.Listener
protected class PHyperlink.Listener
Listener implements ChangeListener to listen for changes in the ButtonModel's state and MouseListener to listen for mouse actions on the label.
Constructor Summary | |
---|---|
protected |
PHyperlink.Listener()
Creates a new Listener object. |
Method Summary | |
---|---|
void |
mouseClicked(MouseEvent e)
Implement MouseListener to update the model's state based on mouse events. |
void |
mouseEntered(MouseEvent e)
Implement MouseListener to update the model's state based on mouse events. |
void |
mouseExited(MouseEvent e)
Implement MouseListener to update the model's state based on mouse events. |
void |
mousePressed(MouseEvent e)
Implement MouseListener to update the model's state based on mouse events. |
void |
mouseReleased(MouseEvent e)
Implement MouseListener to update the model's state based on mouse events. |
void |
stateChanged(ChangeEvent e)
Implements ChangeListener to listen for changes in the ButtonModel's state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PHyperlink.Listener()
Method Detail |
---|
public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |