|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.event.MouseAdapter
com.lizardtech.djvubean.anno.AnnoManager
public class AnnoManager
| Field Summary | |
|---|---|
protected DjVuBean |
djvuBean
DjVuBean to use. |
| Constructor Summary | |
|---|---|
AnnoManager(DjVuBean bean)
Creates a new AnnoManager object. |
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics g)
Called to draw the Rects. |
java.util.Vector |
getMapArea(int index)
Query the vector of GRectMap objects. |
Rect |
getMapRect()
Obtain the current Rect, normally set by the mouse listener as the hyperlink the mouse is currently over. |
void |
mouseClicked(java.awt.event.MouseEvent event)
Submit the Rect if right clicked. |
void |
mouseDragged(java.awt.event.MouseEvent event)
Event indicating the mouse was dragged. |
void |
mouseMoved(java.awt.event.MouseEvent event)
Event indicating the mouse was moved. |
void |
setMapRect(int index,
Rect mapRect)
Set the current GMapRect, normally set by the mouse listener as the hyperlink the mouse is currently over. |
| Methods inherited from class java.awt.event.MouseAdapter |
|---|
mouseEntered, mouseExited, mousePressed, mouseReleased |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final DjVuBean djvuBean
| Constructor Detail |
|---|
public AnnoManager(DjVuBean bean)
bean - DjVuBean to use.| Method Detail |
|---|
public java.util.Vector getMapArea(int index)
public void draw(java.awt.Graphics g)
g - graphics area to draw with.public Rect getMapRect()
public void setMapRect(int index,
Rect mapRect)
mapRect - the current Rect.public void mouseClicked(java.awt.event.MouseEvent event)
mouseClicked in interface java.awt.event.MouseListenermouseClicked in class java.awt.event.MouseAdapterevent - describing the mouse action.public void mouseDragged(java.awt.event.MouseEvent event)
mouseDragged in interface java.awt.event.MouseMotionListenerevent - describing the mouse action.public void mouseMoved(java.awt.event.MouseEvent event)
mouseMoved in interface java.awt.event.MouseMotionListenerevent - describing the mouse action.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||