Example usage for java.awt.event ComponentListener interface-usage

List of usage examples for java.awt.event ComponentListener interface-usage

Introduction

In this page you can find the example usage for java.awt.event ComponentListener interface-usage.

Usage

From source file Main.java

class EventHandler implements AncestorListener, ComponentListener, HierarchyListener {

    @Override
    public void ancestorAdded(AncestorEvent event) {
        System.out.println("CardlayoutTest.EventHandler.ancestorAdded()");
    }

From source file cl.almejo.vsim.gui.SimWindow.java

public class SimWindow extends JFrame
        implements ComponentListener, WindowListener, MouseListener, MouseMotionListener, CircuitStateListener {

    private static final Logger LOGGER = LoggerFactory.getLogger(SimWindow.class);

    private static final long serialVersionUID = 1L;

From source file fr.lig.sigma.astral.gui.graph.JUNGEnginePanel.java

/**
 * @author Loic Petit
 */
public class JUNGEnginePanel extends JPanel implements ComponentListener {
    private VisualizationViewer<QueryNode, String> vv;
    private Layout<QueryNode, String> layout;

From source file ComponentEventDemo.java

public class ComponentEventDemo extends JPanel implements ComponentListener, ItemListener {
    static JFrame frame;

    JTextArea display;

    JLabel label;

From source file org.eurocarbdb.application.glycoworkbench.plugin.PeakAnnotationCalibrationPanel.java

public class PeakAnnotationCalibrationPanel extends DocumentPanel<AnnotatedPeakList> implements ActionListener,
        ComponentListener, GlycanWorkspace.Listener, BaseDocument.DocumentChangeListener {

    private static final int MOD_MASK = MouseEvent.CTRL_MASK | MouseEvent.SHIFT_MASK | MouseEvent.ALT_MASK
            | MouseEvent.META_MASK | MouseEvent.ALT_GRAPH_MASK;

From source file net.fenyo.gnetwatch.GUI.BasicComponent.java

/**
 * This class implements an AWT component capable of drawing time series with the Java2D API.
 * @author Alexandre Fenyo
 * @version $Id: BasicComponent.java,v 1.39 2008/08/06 16:51:42 fenyo Exp $
 */

From source file org.photovault.swingui.JAIPhotoViewer.java

public class JAIPhotoViewer extends JPanel implements PhotoInfoChangeListener, ComponentListener,
        CropAreaChangeListener, RawImageChangeListener, ColorSettingsPreview {
    static Log log = LogFactory.getLog(JAIPhotoViewer.class.getName());

    public JAIPhotoViewer(PhotoViewController ctrl) {
        super();

From source file edu.purdue.cc.bionet.ui.HeatMap.java

/**
 * A class for displaying a heat map of correlation values.
 */
public class HeatMap extends JPanel implements MouseListener, GraphMouseListener<Correlation>, ChangeListener,
        GraphItemChangeListener<Molecule>, Scalable, MouseWheelListener, ComponentListener {

From source file org.ujmp.jung.JungVisualizationViewer.java

public class JungVisualizationViewer<N, E> extends AbstractPanel
        implements MouseListener, TableModelListener, ComponentListener, GraphMouseListener<N> {
    private static final long serialVersionUID = 7328433763448698033L;

    public static enum GraphLayout {
        CircleLayout, FRLayout, FRLayout2, ISOMLayout, KKLayout, SpringLayout, SpringLayout2

From source file LayeredPaneDemo4.java

class MDIPane extends JLayeredPane implements ComponentListener {
    public MDIPane() {
        addComponentListener(this);
        setOpaque(true);

        // default background color