All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.butterfaces.event.TreeNodeSelectionEvent Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
package org.butterfaces.event;

import org.butterfaces.model.tree.Node;

/**
 * {@link TreeNodeSelectionListener} corresponding event. Holding old value (is present) and new selected value.
 */
public class TreeNodeSelectionEvent {

    private final Node oldValue;
    private final Node newValue;

    public TreeNodeSelectionEvent(final Node oldValue, final Node newValue) {
        this.oldValue = oldValue;
        this.newValue = newValue;
    }

    public Node getOldValue() {
        return oldValue;
    }

    public Node getNewValue() {
        return newValue;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy