| |
|
| javax.swing.event.MouseInputAdapter net.java.swingfx.rubberband.rubberbands.AbstractRubberBand
All known Subclasses: net.java.swingfx.rubberband.rubberbands.RectangularRubberBand,
AbstractRubberBand | abstract public class AbstractRubberBand extends MouseInputAdapter implements RubberBand(Code) | | An abstract implementation of
RubberBand which handles
the basic drawing/setup of the rubber band.
author: rwickesser since: 1.0 since: $Revision: 1.2 $ |
rubberband | protected Rectangle rubberband(Code) | | maintains the size and location of the rubber band
|
addMouseListeners | public void addMouseListeners()(Code) | | |
isHideOnRelease | protected boolean isHideOnRelease()(Code) | | Returns whether or not the rubber band should disappear
after the mouse is released
true if the rubber band shoulddisappear when the mouse is released, else iffalse the rubber band should remainvisible until a new rubber band is created |
setHideOnRelease | protected void setHideOnRelease(boolean hideOnRelease)(Code) | | Sets whether the rubber band should disappear when the mouse
is released or not
Parameters: hideOnRelease - if true the rubber band willdisappear when the mouse is released, iffalse the rubber band will remainvisible until a new rubber band is created |
|
|
|