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

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

Introduction

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

Usage

From source file Main.java

class MyTreeExpansionListener implements TreeExpansionListener {
    public void treeExpanded(TreeExpansionEvent evt) {
        JTree tree = (JTree) evt.getSource();

        TreePath path = evt.getPath();
        System.out.println("treeExpanded");

From source file it.unibas.spicygui.vista.listener.WidgetMoveExpansionListener.java

public class WidgetMoveExpansionListener implements TreeExpansionListener {

    private static Log logger = LogFactory.getLog(WidgetMoveExpansionListener.class);
    private JLayeredPane jLayeredPane;
    private GraphSceneGlassPane glassPane;
    private Component source;

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 org.kepler.objectmanager.library.LibraryManager.java

/**
 * The LibraryManager is used for managing the Actor Library. It maintains an
 * index for increased performance. Any code that adds, updates, or removes
 * items in the library should use the LibraryManager class directly.
 * 
 *@author Aaron Schultz

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

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

    public void treeCollapsed(TreeExpansionEvent e) {
        logger.debug("Tree colapsed event..." + e.getPath());
    }

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

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

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 com.lp.client.frame.component.PanelDokumentenablage.java

public class PanelDokumentenablage extends PanelDialog
        implements TreeSelectionListener, TreeModelListener, TreeExpansionListener, DropListener {

    private static final long serialVersionUID = 3513778783444609709L;

    private static final String MUST_LOAD_CHILDREN = "mustLoadChildren";