< prev index next >

src/java.desktop/share/classes/javax/swing/event/TreeSelectionEvent.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  23  * questions.
  24  */
  25 
  26 package javax.swing.event;
  27 
  28 import java.util.EventObject;
  29 import javax.swing.tree.TreePath;
  30 
  31 /**
  32  * An event that characterizes a change in the current
  33  * selection.  The change is based on any number of paths.
  34  * TreeSelectionListeners will generally query the source of
  35  * the event for the new selected status of each potentially
  36  * changed row.
  37  * <p>
  38  * <strong>Warning:</strong>
  39  * Serialized objects of this class will not be compatible with
  40  * future Swing releases. The current serialization support is
  41  * appropriate for short term storage or RMI between applications running
  42  * the same version of Swing.  As of 1.4, support for long term storage
  43  * of all JavaBeans&trade;
  44  * has been added to the <code>java.beans</code> package.
  45  * Please see {@link java.beans.XMLEncoder}.
  46  *
  47  * @see TreeSelectionListener
  48  * @see javax.swing.tree.TreeSelectionModel
  49  *
  50  * @author Scott Violet
  51  */
  52 @SuppressWarnings("serial") // Same-version serialization only
  53 public class TreeSelectionEvent extends EventObject
  54 {
  55     /** Paths this event represents. */
  56     protected TreePath[]     paths;
  57     /** For each path identifies if that path is in fact new. */
  58     protected boolean[]       areNew;
  59     /** leadSelectionPath before the paths changed, may be null. */
  60     protected TreePath        oldLeadSelectionPath;
  61     /** leadSelectionPath after the paths changed, may be null. */
  62     protected TreePath        newLeadSelectionPath;
  63 




  23  * questions.
  24  */
  25 
  26 package javax.swing.event;
  27 
  28 import java.util.EventObject;
  29 import javax.swing.tree.TreePath;
  30 
  31 /**
  32  * An event that characterizes a change in the current
  33  * selection.  The change is based on any number of paths.
  34  * TreeSelectionListeners will generally query the source of
  35  * the event for the new selected status of each potentially
  36  * changed row.
  37  * <p>
  38  * <strong>Warning:</strong>
  39  * Serialized objects of this class will not be compatible with
  40  * future Swing releases. The current serialization support is
  41  * appropriate for short term storage or RMI between applications running
  42  * the same version of Swing.  As of 1.4, support for long term storage
  43  * of all JavaBeans
  44  * has been added to the <code>java.beans</code> package.
  45  * Please see {@link java.beans.XMLEncoder}.
  46  *
  47  * @see TreeSelectionListener
  48  * @see javax.swing.tree.TreeSelectionModel
  49  *
  50  * @author Scott Violet
  51  */
  52 @SuppressWarnings("serial") // Same-version serialization only
  53 public class TreeSelectionEvent extends EventObject
  54 {
  55     /** Paths this event represents. */
  56     protected TreePath[]     paths;
  57     /** For each path identifies if that path is in fact new. */
  58     protected boolean[]       areNew;
  59     /** leadSelectionPath before the paths changed, may be null. */
  60     protected TreePath        oldLeadSelectionPath;
  61     /** leadSelectionPath after the paths changed, may be null. */
  62     protected TreePath        newLeadSelectionPath;
  63 


< prev index next >