Example usage for javax.swing JComponent subclass-usage

List of usage examples for javax.swing JComponent subclass-usage

Introduction

In this page you can find the example usage for javax.swing JComponent subclass-usage.

Usage

From source file Chart.java

/**
 * A component that draws a bar chart.
 */
class ChartComponent extends JComponent
{
   /**

From source file org.openmicroscopy.shoola.agents.measurement.util.ui.ResultsCellRenderer.java

/** 
 * Basic cell renderer displaying analysis results.
 *
 * @author  Jean-Marie Burel     
 *    <a href="mailto:j.burel@dundee.ac.uk">j.burel@dundee.ac.uk</a>
 * @author   Donald MacDonald &nbsp;&nbsp;&nbsp;&nbsp;

From source file org.jcurl.demo.tactics.BroomPromptSwingBean.java

/**
 * A Swing-based bean to control a {@link BroomPromptModel}. TODO x and y!
 * <p>
 * As Swing views are usually tightly coupled to the underlying datamodels
 * (which holds at least for the {@link JSpinner}), I'm not quite sure how to
 * pipe the changes through

From source file uk.co.modularaudio.service.gui.impl.racktable.back.RackLinksCompositeOverlay.java

public class RackLinksCompositeOverlay extends JComponent {
    private static final long serialVersionUID = 3441350163975600834L;

    private static Log log = LogFactory.getLog(RackLinksCompositeOverlay.class.getName());

    private static final int WIRE_DIP_PIXELS = 30;

From source file TransferableScribblePane.java

/**
 * This rewrite of ScribblePane allows individual PolyLine lines to be selected,
 * cut, copied, pasted, dragged, and dropped.
 */
public class TransferableScribblePane extends JComponent {
    List lines; // The PolyLines that comprise this scribble

From source file desmoj.extensions.visualization2d.engine.modelGrafic.StatisticGrafic.java

/**
 * Class to animate a instance of class Statistic.
 * For animation you can choose a default animation type:
 * ANIMATION_LastValue, ANIMATION_TimeValueDiagram, ANIMATION_Histogram.
 * Later, you can change interactively, with a popup menu, between the animation types.
 * 

From source file ScribbleDragAndDrop.java

/**
 * This component can operate in two modes. In "draw mode", it allows the user
 * to scribble with the mouse. In "drag mode", it allows the user to drag
 * scribbles with the mouse. Regardless of the mode, it always allows scribbles
 * to be dropped on it from other applications.
 */

From source file maltcms.ui.fileHandles.cdf.CDFViewTopComponent.java

/**
 * Top component which displays hierarchical content of a cdf file.
 */
@NavigatorPanel.Registration(mimeType = "application/x-cdf", displayName = "#LBL_CDF_FILE_NAVIGATOR")
@NbBundle.Messages("LBL_CDF_FILE_NAVIGATOR=netCDF File Navigator")
public final class CDFViewTopComponent extends JComponent

From source file org.nuclos.client.ui.DateTimeSeries.java

/**
 * JComponent for selecting a date time series. 
 * The selection is represented in string format <code>getText()</code>
 * and has following code:
 * DAILY_MODE = d|[time hours]|[time minutes]|[day (0 meens every working day)]
 * WEEKLY_MODE = w|[time hours]|[time minutes]|[weeks]|[monday]|[tuesday]|[wednesday]|[thursday]|[friday]|[saturday]|[sunday]

From source file org.nuclos.client.ui.resplan.header.JHeaderGrid.java

public class JHeaderGrid<E> extends JComponent implements ListDataListener {

    private static final Dimension DEFAULT_CELL_EXTENT = new Dimension(75, 20);

    private static final Dimension MINIMUM_CELL_EXTENT = new Dimension(10, 10);