|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xhtmlrenderer.swing.DefaultFSMouseListener
public class DefaultFSMouseListener
Default, no-op implementation of an FSMouseListener. Override the method as needed in your own subclass.
| Constructor Summary | |
|---|---|
DefaultFSMouseListener()
|
|
| Method Summary | |
|---|---|
void |
onMouseDragged(BasicPanel panel,
MouseEvent e)
Sent when the mouse button is held and the mouse is moved. |
void |
onMouseOut(BasicPanel panel,
Box box)
Sent when the mouse leaves a Box in the render tree after entering it. |
void |
onMouseOver(BasicPanel panel,
Box box)
Sent when the mouse moves over a Box in the render tree. |
void |
onMousePressed(BasicPanel panel,
MouseEvent e)
Sent when the mouse button is pressed. |
void |
onMouseUp(BasicPanel panel,
Box box)
Sent when the mouse button is released while hovering over a Box in the render tree. |
void |
reset()
Implementation-dependent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFSMouseListener()
| Method Detail |
|---|
public void onMouseOver(BasicPanel panel,
Box box)
FSMouseListener
onMouseOver in interface FSMouseListenerpanel - the panel where the box is displayedbox - the box the mouse has just moved over
public void onMouseOut(BasicPanel panel,
Box box)
FSMouseListener
onMouseOut in interface FSMouseListenerpanel - the panel where the box is displayedbox - the box the mouse has just left
public void onMouseUp(BasicPanel panel,
Box box)
FSMouseListener
onMouseUp in interface FSMouseListenerpanel - the panel where the box is displayedbox - the box where the mouse is currently located
public void onMousePressed(BasicPanel panel,
MouseEvent e)
FSMouseListener
onMousePressed in interface FSMouseListenerpanel - the panel where the box is displayede - information about the mouse position, etc.
public void onMouseDragged(BasicPanel panel,
MouseEvent e)
FSMouseListener
onMouseDragged in interface FSMouseListenerpanel - the panel where the box is displayede - information about the mouse position, etc.public void reset()
FSMouseListenerBasicPanel.resetMouseTracker().
reset in interface FSMouseListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||