Class DetectorLayerUI

java.lang.Object
org.jlab.geom.gui.DetectorLayerUI

public class DetectorLayerUI extends Object
Author:
gavalian
  • Field Details Link icon

    • drawRegion Link icon

      public Rectangle drawRegion
    • selectionListener Link icon

      public IDetectorComponentSelection selectionListener
    • componentColorEven Link icon

      public Color componentColorEven
    • componentColorOdd Link icon

      public Color componentColorOdd
    • componentColorSelected Link icon

      public Color componentColorSelected
  • Constructor Details Link icon

    • DetectorLayerUI Link icon

      public DetectorLayerUI()
  • Method Details Link icon

    • setComponents Link icon

      public void setComponents(ArrayList<DetectorComponentUI> uic)
    • reset Link icon

      public void reset()
    • setSelectionListener Link icon

      public void setSelectionListener(IDetectorComponentSelection listener)
    • updateDrawRegion Link icon

      public void updateDrawRegion()
    • getX Link icon

      public int getX(float x, int w)
    • getY Link icon

      public int getY(float y, int h)
    • getCoordinateX Link icon

      public int getCoordinateX(int x, int w)
    • getCoordinateY Link icon

      public int getCoordinateY(int y, int h)
    • getClickedComponent Link icon

      public DetectorComponentUI getClickedComponent(int x, int y, int width, int height)
    • draw2D Link icon

      public void draw2D(Graphics2D g2d, int xoff, int yoff, int width, int height)