edu.princeton.swing
protected class PHyperlink.Listener extends java.lang.Object implements javax.swing.event.ChangeListener, java.awt.event.MouseListener
Modifier | Constructor and Description |
---|---|
protected |
PHyperlink.Listener()
Creates a new Listener object.
|
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked(java.awt.event.MouseEvent e)
Implement MouseListener to update the model's state based on mouse events.
|
void |
mouseEntered(java.awt.event.MouseEvent e)
Implement MouseListener to update the model's state based on mouse events.
|
void |
mouseExited(java.awt.event.MouseEvent e)
Implement MouseListener to update the model's state based on mouse events.
|
void |
mousePressed(java.awt.event.MouseEvent e)
Implement MouseListener to update the model's state based on mouse events.
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Implement MouseListener to update the model's state based on mouse events.
|
void |
stateChanged(javax.swing.event.ChangeEvent e)
Implements ChangeListener to listen for changes in the ButtonModel's state.
|
protected PHyperlink.Listener()
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged
in interface javax.swing.event.ChangeListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener