public class ClickableRegionStore extends RegionStore implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
Modifier and Type | Field and Description |
---|---|
(package private) DTextCanvas |
canvas |
(package private) RegionListener |
regionListener |
actions, active, activeLims, activeTag, dragOverRegion, hoverOverRegion, nreg, pressRegion, refs, regs, tags
Constructor and Description |
---|
ClickableRegionStore(DTextCanvas c) |
Modifier and Type | Method and Description |
---|---|
void |
clearRegions() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
setRegionListener(RegionListener rl) |
void |
unecho(Region r) |
activeRegion, addLengthenedRegion, addRegion, addRegion, clear, clearActive, dragOver, getActive, getActiveLimits, getActiveTag, getDragOverRegion, getHoverRegion, getPressRegion, hasActive, hoverOver, press
DTextCanvas canvas
RegionListener regionListener
public ClickableRegionStore(DTextCanvas c)
public void setRegionListener(RegionListener rl)
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
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void unecho(Region r)
public void clearRegions()
Copyright © 2013. All Rights Reserved.