home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Component;
- import java.awt.Image;
- import java.awt.Rectangle;
- import java.util.Vector;
-
- public class JDPTreeBranch extends Vector {
- public String name;
- public int branchIndex;
- public boolean selected;
- public boolean expanded;
- public int icon;
- public Image iconImage;
- public Vector leaves;
- Rectangle expandRect;
- Rectangle textRect;
- public boolean dragAndDrop;
- public Object dropKey;
- public String dropMessage;
- Object thisObject;
- String compType;
- String compPosition;
- String[] text;
- String[][] properties;
- Component[] relatedComps;
- Vector treeVector;
-
- public String branchToString() {
- 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 + "]";
- }
- }
-