| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.MouseMotionAdapter
JSci.instruments.ROIAdapter
JSci.instruments.TwoROI
A ROI made by two rectangular regions, one inside the other (two levels of interest)
| Field Summary | |
(package private)  javax.swing.JPanel | 
ccomp
 | 
| Constructor Summary | |
TwoROI()
 | 
|
| Method Summary | |
 java.awt.Component | 
getControlComponent()
 | 
 java.awt.Rectangle | 
getOuterRectangle()
 | 
 java.awt.Shape | 
getShape()
 | 
static void | 
main(java.lang.String[] args)
Testing...  | 
 void | 
mouseDragged(java.awt.event.MouseEvent event)
 | 
 void | 
mouseMoved(java.awt.event.MouseEvent event)
 | 
 void | 
mousePressed(java.awt.event.MouseEvent event)
 | 
 void | 
mouseReleased(java.awt.event.MouseEvent event)
 | 
 void | 
paint(java.awt.Graphics g)
draws the ROI.  | 
 void | 
setComponent(java.awt.Component c)
Called by the Player: set the component where to display the ROI  | 
 void | 
setFactor(int f)
Use this to select the behaviour of the outer rectangle  | 
 void | 
setUseFactor(boolean u)
Use this to select the behaviour of the outer rectangle  | 
| Methods inherited from class JSci.instruments.ROIAdapter | 
mouseClicked, mouseEntered, mouseExited | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
javax.swing.JPanel ccomp
| Constructor Detail | 
public TwoROI()
| Method Detail | 
public void setComponent(java.awt.Component c)
ROI
setComponent in interface ROIsetComponent in class ROIAdapterpublic void paint(java.awt.Graphics g)
paint in interface ROIpaint in class ROIAdapterpublic void setUseFactor(boolean u)
u - The outer rectangle is n-times the inner one?public void setFactor(int f)
f - The outer rectangle is f-times the inner one.public java.awt.Shape getShape()
getShape in interface ROIgetShape in class ROIAdapterpublic java.awt.Rectangle getOuterRectangle()
public static void main(java.lang.String[] args)
public java.awt.Component getControlComponent()
getControlComponent in interface Controlpublic void mousePressed(java.awt.event.MouseEvent event)
mousePressed in interface java.awt.event.MouseListenermousePressed in class ROIAdapterpublic void mouseReleased(java.awt.event.MouseEvent event)
mouseReleased in interface java.awt.event.MouseListenermouseReleased in class ROIAdapterpublic void mouseMoved(java.awt.event.MouseEvent event)
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void mouseDragged(java.awt.event.MouseEvent event)
mouseDragged in interface java.awt.event.MouseMotionListener
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||