Package javax.swing.event

Examples of javax.swing.event.EventListenerList


           boolean copy, boolean save, boolean print, boolean zoom,
           boolean tooltips)
   {

      setChart(chart);
      this.chartMouseListeners = new EventListenerList();
      this.info = new ChartRenderingInfo();
      setPreferredSize(new Dimension(width, height));
      this.useBuffer = useBuffer;
      this.refreshBuffer = false;
      this.minimumDrawWidth = minimumDrawWidth;
View Full Code Here


      stream.defaultReadObject();
      this.zoomFillPaint = SerialUtilities.readPaint(stream);
      this.zoomOutlinePaint = SerialUtilities.readPaint(stream);

      // we create a new but empty chartMouseListeners list
      this.chartMouseListeners = new EventListenerList();

      // register as a listener with sub-components...
      if (this.chart != null)
      {
         this.chart.addChangeListener(this);
View Full Code Here

     * Creates a file system model, using the specified {@code root} as the
     * model root.
     */
    public SimpleFileSystemModel(File root) {
        this.root = root;
        this.listenerList = new EventListenerList();
    }
View Full Code Here

     * @throws NullPointerException if {@code model} is {@code null}
     */
    public TreeModelSupport(TreeModel model) {
        if (model == null)
            throw new NullPointerException("model must not be null");
        listeners = new EventListenerList();
        this.treeModel = model;
    }
View Full Code Here

        this.minorTickMarkInsideLength = 0.0f;
        this.minorTickMarkOutsideLength = 2.0f;

        this.plot = null;

        this.listenerList = new EventListenerList();

    }
View Full Code Here

     */
    public Object clone() throws CloneNotSupportedException {
        Axis clone = (Axis) super.clone();
        // It's up to the plot which clones up to restore the correct references
        clone.plot = null;
        clone.listenerList = new EventListenerList();
        return clone;
    }
View Full Code Here

        this.tickLabelPaint = SerialUtilities.readPaint(stream);
        this.axisLineStroke = SerialUtilities.readStroke(stream);
        this.axisLinePaint = SerialUtilities.readPaint(stream);
        this.tickMarkStroke = SerialUtilities.readStroke(stream);
        this.tickMarkPaint = SerialUtilities.readPaint(stream);
        this.listenerList = new EventListenerList();
    }
View Full Code Here

    /**
     * @return
     */
    private EventListenerList getEventListenerList() {
        if (listeners == null) {
            listeners = new EventListenerList();
        }
        return listeners;
    }
View Full Code Here

        this.labelAnchor = RectangleAnchor.TOP_LEFT;
        this.labelOffset = new RectangleInsets(3.0, 3.0, 3.0, 3.0);
        this.labelOffsetType = LengthAdjustmentType.CONTRACT;
        this.labelTextAnchor = TextAnchor.CENTER;

        this.listenerList = new EventListenerList();
    }
View Full Code Here

        this.paint = SerialUtilities.readPaint(stream);
        this.stroke = SerialUtilities.readStroke(stream);
        this.outlinePaint = SerialUtilities.readPaint(stream);
        this.outlineStroke = SerialUtilities.readStroke(stream);
        this.labelPaint = SerialUtilities.readPaint(stream);
        this.listenerList = new EventListenerList();
    }
View Full Code Here

TOP

Related Classes of javax.swing.event.EventListenerList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.