home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / JDesignerPro / Jdp3_0.exe / data1.cab / Program_Files / JDPTreeBranch.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-04-09  |  1.4 KB  |  31 lines

  1. import java.awt.Component;
  2. import java.awt.Image;
  3. import java.awt.Rectangle;
  4. import java.util.Vector;
  5.  
  6. public class JDPTreeBranch extends Vector {
  7.    public String name;
  8.    public int branchIndex;
  9.    public boolean selected;
  10.    public boolean expanded;
  11.    public int icon;
  12.    public Image iconImage;
  13.    public Vector leaves;
  14.    Rectangle expandRect;
  15.    Rectangle textRect;
  16.    public boolean dragAndDrop;
  17.    public Object dropKey;
  18.    public String dropMessage;
  19.    Object thisObject;
  20.    String compType;
  21.    String compPosition;
  22.    String[] text;
  23.    String[][] properties;
  24.    Component[] relatedComps;
  25.    Vector treeVector;
  26.  
  27.    public String branchToString() {
  28.       return this.name + "[icon=" + this.icon + ",dragAndDrop=" + this.dragAndDrop + ",dropKey=" + this.dropKey + ",dropMessage=" + this.dropMessage + "\r\n" + "thisObject=" + this.thisObject + ",\r\ncompType=" + this.compType + ",compPosition=" + this.compPosition + "\r\n" + "properties=" + this.properties + "]";
  29.    }
  30. }
  31.