Example usage for javax.swing.event TreeWillExpandListener interface-usage

List of usage examples for javax.swing.event TreeWillExpandListener interface-usage

Introduction

In this page you can find the example usage for javax.swing.event TreeWillExpandListener interface-usage.

Usage

From source file Main.java

class MyTreeWillExpandListener implements TreeWillExpandListener {
    public void treeWillExpand(TreeExpansionEvent evt) throws ExpandVetoException {
        JTree tree = (JTree) evt.getSource();

        TreePath path = evt.getPath();
        boolean veto = false;

From source file ser321.media.MediaJavaClient.java

/**
 * Copyright (c) 2015 Tim Lindquist,
 * Software Engineering,
 * Arizona State University at the Polytechnic campus
 * <p/>
 * This program is free software; you can redistribute it and/or

From source file org.photovault.swingui.volumetree.VolumeTreeController.java

/**
 * Controller for the volume tree pane in main user interface.
 * @author Harri Kaimio
 * @since 0.6.0
 */
public class VolumeTreeController extends PersistenceController

From source file edu.harvard.i2b2.query.QueryConceptTreePanel.java

/**
 *
 * @author  wp066
 */
public class QueryConceptTreePanel extends javax.swing.JPanel
        implements TreeExpansionListener, TreeWillExpandListener, ActionListener {

From source file com.mindcognition.mindraider.ui.swing.trash.TrashJPanel.java

public class TrashJPanel extends JPanel
        implements TreeWillExpandListener, TreeExpansionListener, LabelCustodianListener {
    private static final Logger logger = Logger.getLogger(TrashJPanel.class);

    public static final int LEVEL_ROOT = 0;
    public static final int LEVEL_FOLDERS = 1;

From source file com.mindcognition.mindraider.ui.swing.explorer.LabelsTree.java

class TreeWillExpandListenerImplementation implements TreeWillExpandListener {
    private static final Log logger = LogFactory.getLog(TreeWillExpandListenerImplementation.class); // {{debug}}

    public void treeWillCollapse(TreeExpansionEvent e) throws ExpandVetoException {
        logger.debug("Tree will collapse " + e.getPath());
    }

From source file edu.harvard.i2b2.query.ui.QueryConceptTreePanel.java

public class QueryConceptTreePanel extends javax.swing.JPanel
        implements TreeExpansionListener, TreeWillExpandListener, ActionListener {
    private static final Log log = LogFactory.getLog(QueryConceptTreePanel.class);

    private DefaultMutableTreeNode top = null;
    private DefaultTreeModel treeModel = null;

From source file edu.harvard.i2b2.query.ui.ConceptTreePanel.java

public class ConceptTreePanel extends javax.swing.JPanel
        implements TreeExpansionListener, TreeWillExpandListener, ActionListener {
    private static final Log log = LogFactory.getLog(ConceptTreePanel.class);

    private DefaultMutableTreeNode top = null;
    private DefaultTreeModel treeModel = null;

From source file edu.harvard.i2b2.previousquery.ui.QueryPreviousRunsPanel.java

public class QueryPreviousRunsPanel extends javax.swing.JPanel
        implements ActionListener, TreeExpansionListener, TreeWillExpandListener {

    private static final Log log = LogFactory.getLog(QueryPreviousRunsPanel.class);
    private static final int MAX_STACK_SIZE = 28;
    private DefaultMutableTreeNode top = null;

From source file edu.harvard.i2b2.query.ui.GroupPanel.java

public class GroupPanel extends javax.swing.JPanel
        implements TreeExpansionListener, TreeWillExpandListener, ActionListener {
    private static final Log log = LogFactory.getLog(GroupPanel.class);

    private DefaultMutableTreeNode top = null;
    private DefaultTreeModel treeModel = null;