home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / tree / FixedHeightLayoutCache$SearchInfo.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.4 KB  |  27 lines

  1. package javax.swing.tree;
  2.  
  3. class FixedHeightLayoutCache$SearchInfo {
  4.    protected FixedHeightLayoutCache.FHTreeStateNode node;
  5.    protected boolean isNodeParentNode;
  6.    protected int childIndex;
  7.    // $FF: synthetic field
  8.    private final FixedHeightLayoutCache this$0;
  9.  
  10.    private FixedHeightLayoutCache$SearchInfo(FixedHeightLayoutCache var1) {
  11.       this.this$0 = var1;
  12.    }
  13.  
  14.    protected TreePath getPath() {
  15.       if (this.node == null) {
  16.          return null;
  17.       } else {
  18.          return this.isNodeParentNode ? this.node.getTreePath().pathByAddingChild(this.this$0.treeModel.getChild(this.node.getUserObject(), this.childIndex)) : this.node.path;
  19.       }
  20.    }
  21.  
  22.    // $FF: synthetic method
  23.    FixedHeightLayoutCache$SearchInfo(FixedHeightLayoutCache var1, FixedHeightLayoutCache.1 var2) {
  24.       this(var1);
  25.    }
  26. }
  27.