@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); doPopup(name); } } });
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); doPopup(name); } } });
@Override public void mouseClicked(MouseEvent e) { if (((e.getModifiers() & InputEvent.BUTTON1_MASK) != InputEvent.BUTTON1_MASK) || e.isAltDown()) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); visualize(name, e.getX(), e.getY()); } else { visualize(null, e.getX(), e.getY()); } } } });
@Override public void mouseClicked(MouseEvent e) { if (((e.getModifiers() & InputEvent.BUTTON1_MASK) != InputEvent.BUTTON1_MASK) || e.isAltDown()) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); visualize(name, e.getX(), e.getY()); } else { visualize(null, e.getX(), e.getY()); } } } });
@Override public void mouseClicked(MouseEvent e) { if (((e.getModifiers() & InputEvent.BUTTON1_MASK) != InputEvent.BUTTON1_MASK) || e.isAltDown()) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); visualize(name, e.getX(), e.getY()); } else { visualize(null, e.getX(), e.getY()); } } } });
@Override public void mouseClicked(MouseEvent e) { if (((e.getModifiers() & InputEvent.BUTTON1_MASK) != InputEvent.BUTTON1_MASK) || e.isAltDown()) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); visualize(name, e.getX(), e.getY()); } else { visualize(null, e.getX(), e.getY()); } } } });
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object insts = m_history.getNamedObject(name); if (insts instanceof Instances) { try { m_matrixPanel.setInstances((Instances) insts); m_matrixPanel.repaint(); } catch (Exception ex) { ex.printStackTrace(); } } } } });
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object insts = m_history.getNamedObject(name); if (insts instanceof Instances) { try { m_matrixPanel.setInstances((Instances) insts); m_matrixPanel.repaint(); } catch (Exception ex) { ex.printStackTrace(); } } } } });
@Override public void mouseClicked( MouseEvent e ) { int index = m_history.getList().locationToIndex( e.getPoint() ); if ( index != -1 ) { String name = m_history.getNameAtIndex( index ); // doPopup(name); Object pic = m_history.getNamedObject( name ); if ( pic instanceof BufferedImage ) { m_plotter.setImage( (BufferedImage) pic ); m_plotter.repaint(); } } } } );
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object pic = m_history.getNamedObject(name); if (pic instanceof BufferedImage) { m_plotter.setImage((BufferedImage) pic); m_plotter.repaint(); } } } });
@Override public void mouseClicked( MouseEvent e ) { int index = m_history.getList().locationToIndex( e.getPoint() ); if ( index != -1 ) { String name = m_history.getNameAtIndex( index ); // doPopup(name); Object pic = m_history.getNamedObject( name ); if ( pic instanceof BufferedImage ) { m_plotter.setImage( (BufferedImage) pic ); m_plotter.repaint(); } } } } );
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object pic = m_history.getNamedObject(name); if (pic instanceof BufferedImage) { m_plotter.setImage((BufferedImage) pic); m_plotter.repaint(); } } } });
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object pic = m_history.getNamedObject(name); if (pic instanceof BufferedImage) { m_plotter.setImage((BufferedImage) pic); m_plotter.repaint(); } } } });
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object pic = m_history.getNamedObject(name); if (pic instanceof BufferedImage) { m_plotter.setImage((BufferedImage) pic); m_plotter.repaint(); } } } });
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object data = m_history.getNamedObject(name); if (data instanceof Data) { PlotData2D threshData = ((Data) data).getPrimaryPayload(); Attribute classAtt = ((Data) data) .getPayloadElement(StepManager.CON_AUX_DATA_CLASS_ATTRIBUTE); try { m_cbPanel.setDataSet(threshData, classAtt); m_cbPanel.repaint(); } catch (Exception ex) { ex.printStackTrace(); } } } } });
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object inst = m_history.getNamedObject(name); if (inst instanceof Instances) { m_currentInstances = (Instances) inst; m_summarizer.setInstances((Instances) inst, getSettings()); m_summarizer.repaint(); m_parent.revalidate(); } } } });
@Override public void mouseClicked(MouseEvent e) { int index = m_history.getList().locationToIndex(e.getPoint()); if (index != -1) { String name = m_history.getNameAtIndex(index); // doPopup(name); Object inst = m_history.getNamedObject(name); if (inst instanceof Instances) { m_currentInstances = (Instances) inst; m_summarizer.setInstances((Instances) inst, getSettings()); m_summarizer.repaint(); m_parent.revalidate(); } } } });
@Override public void valueChanged( ListSelectionEvent e ) { if ( !e.getValueIsAdjusting() ) { ListSelectionModel lm = (ListSelectionModel) e.getSource(); for ( int i = e.getFirstIndex(); i <= e.getLastIndex(); i++ ) { if ( lm.isSelectedIndex( i ) ) { // m_AttSummaryPanel.setAttribute(i); if ( i != -1 ) { String name = m_history.getNameAtIndex( i ); Object pic = m_history.getNamedObject( name ); if ( pic != null && pic instanceof BufferedImage ) { m_plotter.setImage( (BufferedImage) pic ); m_plotter.repaint(); } } break; } } } } } );
@Override public void valueChanged(ListSelectionEvent e) { if (!e.getValueIsAdjusting()) { ListSelectionModel lm = (ListSelectionModel) e.getSource(); for (int i = e.getFirstIndex(); i <= e.getLastIndex(); i++) { if (lm.isSelectedIndex(i)) { // m_AttSummaryPanel.setAttribute(i); if (i != -1) { String name = m_history.getNameAtIndex(i); Object pic = m_history.getNamedObject(name); if (pic != null && pic instanceof BufferedImage) { m_plotter.setImage((BufferedImage) pic); m_plotter.repaint(); } } break; } } } } });
@Override public void valueChanged(ListSelectionEvent e) { if (!e.getValueIsAdjusting()) { ListSelectionModel lm = (ListSelectionModel) e.getSource(); for (int i = e.getFirstIndex(); i <= e.getLastIndex(); i++) { if (lm.isSelectedIndex(i)) { // m_AttSummaryPanel.setAttribute(i); if (i != -1) { String name = m_history.getNameAtIndex(i); Object pic = m_history.getNamedObject(name); if (pic != null && pic instanceof BufferedImage) { m_plotter.setImage((BufferedImage) pic); m_plotter.repaint(); } } break; } } } } });