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

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

Introduction

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

Usage

From source file MyTreeModelListener.java

class MyTreeModelListener implements TreeModelListener {
    public void treeNodesChanged(TreeModelEvent e) {
        DefaultMutableTreeNode node;
        node = (DefaultMutableTreeNode) (e.getTreePath().getLastPathComponent());
        try {
            int index = e.getChildIndices()[0];

From source file MyTreeModelListener.java

class MyTreeModelListener implements TreeModelListener {
    public void treeNodesChanged(TreeModelEvent e) {
        DefaultMutableTreeNode node;
        node = (DefaultMutableTreeNode) (e.getTreePath().getLastPathComponent());

        try {

From source file net.sf.mzmine.modules.visualization.ida.IDABottomPanel.java

/**
 * IDA visualizer's bottom panel
 */
class IDABottomPanel extends JPanel implements TreeModelListener, ActionListener {

    private static final long serialVersionUID = 1L;

From source file net.sf.mzmine.modules.visualization.msms.MsMsBottomPanel.java

/**
 * MS/MS visualizer's bottom panel
 */
class MsMsBottomPanel extends JPanel implements TreeModelListener, ActionListener {

    private static final long serialVersionUID = 1L;

From source file cz.lidinsky.editor.Editor.java

/**
 *
 *  GUI visual editor.
 *
 */
public class Editor implements TreeSelectionListener, TreeModelListener, FileListener {

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

class LabelsTreeModelListener implements TreeModelListener {

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

    private final Logger logger = Logger.getLogger(LabelsTreeModelListener.class);

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";

From source file org.trianacode.gui.hci.ApplicationFrame.java

/**
 * @author Mathew Shields & Ian Taylor
 * @version $Revision: 4051 $
 */
public class ApplicationFrame extends TrianaWindow implements TaskListener, TaskGraphListener, ToolSelectionHandler,
        SelectionManager, TreeModelListener, ComponentListener, LocalDeployAssistant, FocusListener,