List of usage examples for javax.swing JComponent subclass-usage
From source file ShapeTest.java
/** * This component draws a shape and allows the user to move the points that define it. */ class ShapeComponent extends JComponent { public ShapeComponent() { addMouseListener(new MouseAdapter() {
From source file org.openide.windows.TopComponent.java
/** Embeddable visual component to be displayed in the IDE.
* This is the basic unit of display in the IDE--windows should not be
* created directly, but rather use this class.
* A top component may correspond to a single window, but may also
* be a tab (e.g.) in a window. It may be docked or undocked,
* have selected nodes, supply actions, etc.
From source file net.sf.firemox.clickable.target.card.VirtualCard.java
/** * @author <a href="mailto:fabdouglas@users.sourceforge.net">Fabrice Daugan </a> * @since 0.80 */ public class VirtualCard extends JComponent implements MouseListener, Tappable, Reversable, MouseMotionListener {
From source file PrintTest.java
/** * This component generates a 2D graphics image for screen display and printing. */ class PrintComponent extends JComponent implements Printable { public void paintComponent(Graphics g) { Graphics2D g2 = (Graphics2D) g;
From source file Sketch.java
class JogShuttle extends JComponent implements ChangeListener { private BoundedRangeModel model; // The dialInsets property tells how far the dial is inset // from the sunken border.
From source file components.GlassPaneDemo.java
/** * We have to provide our own glass pane so that it can paint. */ class MyGlassPane extends JComponent implements ItemListener { Point point;
From source file de.ipk_gatersleben.ag_pbi.mmd.visualisations.gradient.GradientDataChartComponent.java
public class GradientDataChartComponent extends JComponent { private static final long serialVersionUID = 1L; public static final String GRADIENT_PATH = "gradientcharting"; public GradientDataChartComponent(GraphElement ge, GradientCharts cc) {
From source file org.rdv.ui.TimeSlider.java
/**
* A component that lets the user select a specific time or time range between a
* bounded time interval by sliding knobs along a timeline. It also allows one
* to display an event indicator at a specific time in the time line.
*
* @author Jason P. Hanley
From source file de.ailis.xadrian.components.ComplexEditor.java
/** * Complex Editor component. * * @author Klaus Reimer (k@ailis.de) */ public class ComplexEditor extends JComponent implements HyperlinkListener, CaretListener, ClipboardProvider,
From source file org.eurocarbdb.application.glycoworkbench.plugin.reporting.AnnotationReportCanvas.java
public class AnnotationReportCanvas extends JComponent implements SVGUtils.Renderable, BaseDocument.DocumentChangeListener, MouseListener, MouseMotionListener, Printable { public interface SelectionChangeListener { public void selectionChanged(SelectionChangeEvent e); }