endrov.windowPlateAnalysis.scene
Class Scene2DRect

java.lang.Object
  extended by endrov.windowPlateAnalysis.scene.Scene2DRect
All Implemented Interfaces:
Scene2DElement

public class Scene2DRect
extends java.lang.Object
implements Scene2DElement

Scene element: text


Field Summary
 EvColor borderColor
           
 EvColor fillColor
           
 int h
           
 int w
           
 int x
           
 int y
           
 
Constructor Summary
Scene2DRect(int x, int y, int w, int h)
           
 
Method Summary
 java.awt.Rectangle getBoundingBox()
           
 void paintComponent(java.awt.Graphics g, Scene2DView p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public int x

y

public int y

w

public int w

h

public int h

fillColor

public EvColor fillColor

borderColor

public EvColor borderColor
Constructor Detail

Scene2DRect

public Scene2DRect(int x,
                   int y,
                   int w,
                   int h)
Method Detail

paintComponent

public void paintComponent(java.awt.Graphics g,
                           Scene2DView p)
Specified by:
paintComponent in interface Scene2DElement

getBoundingBox

public java.awt.Rectangle getBoundingBox()
Specified by:
getBoundingBox in interface Scene2DElement