Package org.jlab.geom.gui
Class DetectorLayerUI
java.lang.Object
org.jlab.geom.gui.DetectorLayerUI
- Author:
- gavalian
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw2D(Graphics2D g2d, int xoff, int yoff, int width, int height) getClickedComponent(int x, int y, int width, int height) intgetCoordinateX(int x, int w) intgetCoordinateY(int y, int h) intgetX(float x, int w) intgetY(float y, int h) voidreset()voidvoidvoid
-
Field Details
-
drawRegion
-
selectionListener
-
componentColorEven
-
componentColorOdd
-
componentColorSelected
-
-
Constructor Details
-
DetectorLayerUI
public DetectorLayerUI()
-
-
Method Details
-
setComponents
-
reset
public void reset() -
setSelectionListener
-
updateDrawRegion
public void updateDrawRegion() -
getX
public int getX(float x, int w) -
getY
public int getY(float y, int h) -
getCoordinateX
public int getCoordinateX(int x, int w) -
getCoordinateY
public int getCoordinateY(int y, int h) -
getClickedComponent
-
draw2D
-