org.jcae.viewer3d
Class SelectionRectangle.SelectionRectangle2D

java.lang.Object
  extended by org.jcae.viewer3d.SelectionRectangle
      extended by org.jcae.viewer3d.SelectionRectangle.SelectionRectangle2D
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
SelectionRectangle

public static class SelectionRectangle.SelectionRectangle2D
extends SelectionRectangle
implements java.lang.Runnable

Display the selection rectangle on a 2D context


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jcae.viewer3d.SelectionRectangle
SelectionRectangle.SelectionRectangle2D, SelectionRectangle.SelectionRectangle3D
 
Field Summary
 
Fields inherited from class org.jcae.viewer3d.SelectionRectangle
rectangle2D, view
 
Constructor Summary
SelectionRectangle.SelectionRectangle2D(View view)
           
 
Method Summary
protected  void draw(java.awt.Point anchor, java.awt.Point point)
           
 boolean isVisible()
           
 void run()
           
 void setColor(java.awt.Color color)
           
 void setVisible(boolean b)
           
 
Methods inherited from class org.jcae.viewer3d.SelectionRectangle
getGeometry2D, setGeometry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionRectangle.SelectionRectangle2D

public SelectionRectangle.SelectionRectangle2D(View view)
Method Detail

setColor

public void setColor(java.awt.Color color)
Specified by:
setColor in class SelectionRectangle

draw

protected void draw(java.awt.Point anchor,
                    java.awt.Point point)
Specified by:
draw in class SelectionRectangle

setVisible

public void setVisible(boolean b)
Specified by:
setVisible in class SelectionRectangle

run

public void run()
Specified by:
run in interface java.lang.Runnable

isVisible

public boolean isVisible()
Specified by:
isVisible in class SelectionRectangle