public class

CrossHairLayerUI

extends AbstractLayerUI<V extends JComponent>
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ org.jdesktop.jxlayer.plaf.LayerUI<V extends java.awt.Component>
       ↳ org.jdesktop.jxlayer.plaf.AbstractLayerUI<V extends javax.swing.JComponent>
         ↳ vars.annotation.ui.imagepanel.CrossHairLayerUI<T extends javax.swing.JComponent>
Known Direct Subclasses

Class Overview

Draws a crosshair over a JComponent. Use as: JXLayer<JComponent> layer = new JXLayer<JComponent>(component); layer.setUI(new CrossHairLayerUI());

Summary

Public Constructors
CrossHairLayerUI()
Protected Methods
void paintLayer(Graphics2D gd, JXLayer<? extends T> jxl)
void processMouseMotionEvent(MouseEvent me, JXLayer<? extends T> jxl)
[Expand]
Inherited Methods
From class org.jdesktop.jxlayer.plaf.AbstractLayerUI
From class org.jdesktop.jxlayer.plaf.LayerUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object

Public Constructors

public CrossHairLayerUI ()

Protected Methods

protected void paintLayer (Graphics2D gd, JXLayer<? extends T> jxl)

protected void processMouseMotionEvent (MouseEvent me, JXLayer<? extends T> jxl)