Package fr.soleil.globalscreen.util

Examples of fr.soleil.globalscreen.util.ITableListener


  }

  private void fireSelectedTableListener(double value) {
    // System.out.println("value=" + value);
    Enumeration<ITableListener> enumeration = listeners.elements();
    ITableListener listener = null;
    while (enumeration.hasMoreElements()) {
      listener = enumeration.nextElement();
      if (listener != null) {
        listener.selectedValueChanged(value);
      }
    }
  }
View Full Code Here


  }

  private void fireSelectedTableListener(int x, int y) {
    // System.out.println("x=" + x + ",y=" + y);
    Enumeration<ITableListener> enumeration = listeners.elements();
    ITableListener listener = null;
    while (enumeration.hasMoreElements()) {
      listener = enumeration.nextElement();
      if (listener != null) {
        listener.selectedXChanged(x);
        listener.selectedYChanged(y);
        listener.selectedPointChanged(new Point(x, y));
      }
    }
  }
View Full Code Here

        // f.setDataArrayNameList(dataArrayNameList);
        f.setY1GridStyle(IChartViewer.STYLE_LONG_DASH);

        f.setSize(640, 480);
        f.setPreferredSize(f.getSize());
        f.addTableListener(new ITableListener() {

            @Override
            public void selectedPointChanged(final Point p) {
                System.out.println("selectedPointChanged (Point) " + p);
            }
View Full Code Here

  }

  private void fireSelectedTableListener(int x, int y) {
    // System.out.println("x=" + x + ",y=" + y);
    ListIterator<ITableListener> enumeration = listeners.listIterator();
    ITableListener listener = null;
    while (enumeration.hasNext()) {
      listener = enumeration.next();
      if (listener != null) {
        listener.selectedXChanged(x);
        listener.selectedYChanged(y);
        listener.selectedPointChanged(new Point(x, y));
      }
    }
  }
View Full Code Here

  }

  @Override
  public void selectedValueChanged(Number value) {
    ListIterator<ITableListener> enumeration = listeners.listIterator();
    ITableListener listener = null;
    while (enumeration.hasNext()) {
      listener = enumeration.next();
      if (listener != null) {
        listener.selectedValueChanged(value.doubleValue());
      }
    }
  }
View Full Code Here

                .confirmation(tmpConfirmation).jframe(jf).build();

        f.setSize(640, 480);
        f.setPreferredSize(f.getSize());

        f.addTableListener(new ITableListener() {

            @Override
            public void selectedPointChanged(final Point p) {
                System.out.println("selectedPointChanged " + p);
            }
View Full Code Here

        f.setXAttributeNameList(xAttributeNameList);
        f.setYAttributeNameList(yAttributeNameList);
        f.setSize(640, 480);
        f.setPreferredSize(f.getSize());
       // f.setDisplayAttributeLabel(false);
        f.addTableListener(new ITableListener() {

            @Override
            public void selectedPointChanged(final Point p) {
                System.out.println("selectedPointChanged (Point) " + p);
            }
View Full Code Here

    }

    private void fireSelectedTableListener(final int x, final int y) {
        // System.out.println("x=" + x + ",y=" + y);
        final ListIterator<ITableListener> enumeration = listeners.listIterator();
        ITableListener listener = null;
        while (enumeration.hasNext()) {
            listener = enumeration.next();
            if (listener != null) {
                listener.selectedXChanged(x);
                listener.selectedYChanged(y);
                listener.selectedPointChanged(new Point(x, y));
            }
        }
    }
View Full Code Here

        }
    }

    private void fireSelectedValueChanged(final double value) {
        final ListIterator<ITableListener> enumeration = listeners.listIterator();
        ITableListener listener = null;
        while (enumeration.hasNext()) {
            listener = enumeration.next();
            if (listener != null) {
                listener.selectedValueChanged(value);
            }
        }
    }
View Full Code Here

TOP

Related Classes of fr.soleil.globalscreen.util.ITableListener

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.