001 package railo.runtime.tag; 002 003 public class TreeItemBean { 004 005 public static final int QUERY_AS_ROOT_YES = 1; 006 public static final int QUERY_AS_ROOT_NO = 0; 007 public static final int QUERY_AS_ROOT_CUSTOM = 2; 008 009 public static final int IMG_CD = 10; 010 public static final int IMG_COMPUTER = 11; 011 public static final int IMG_DOCUMENT = 12; 012 public static final int IMG_ELEMENT = 13; 013 public static final int IMG_FLOPPY = 14; 014 public static final int IMG_FOLDER = 15; 015 public static final int IMG_FIXED = 16; 016 public static final int IMG_REMOTE = 17; 017 public static final int IMG_CUSTOM = 18; 018 019 private String value; 020 private String display; 021 private String parent; 022 private int img=IMG_FOLDER; 023 private String imgCustom=null; 024 private int imgOpen=IMG_FOLDER; 025 private String imgOpenCustom; 026 private String href; 027 private String target; 028 //private String query; 029 //private int queryAsRoot=QUERY_AS_ROOT_YES; 030 //private String queryAsRootCustom; 031 boolean expand=true; 032 033 /** 034 * @return the display 035 */ 036 public String getDisplay() { 037 return display; 038 } 039 /** 040 * @param display the display to set 041 */ 042 public void setDisplay(String display) { 043 this.display = display; 044 } 045 /** 046 * @return the expand 047 */ 048 public boolean isExpand() { 049 return expand; 050 } 051 /** 052 * @param expand the expand to set 053 */ 054 public void setExpand(boolean expand) { 055 this.expand = expand; 056 } 057 /** 058 * @return the href 059 */ 060 public String getHref() { 061 return href; 062 } 063 /** 064 * @param href the href to set 065 */ 066 public void setHref(String href) { 067 this.href = href; 068 } 069 /** 070 * @return the img 071 */ 072 public int getImg() { 073 return img; 074 } 075 /** 076 * @param img the img to set 077 */ 078 public void setImg(int img) { 079 this.img = img; 080 } 081 /** 082 * @return the imgCustom 083 */ 084 public String getImgCustom() { 085 return imgCustom; 086 } 087 /** 088 * @param imgCustom the imgCustom to set 089 */ 090 public void setImgCustom(String imgCustom) { 091 this.imgCustom = imgCustom; 092 } 093 /** 094 * @return the imgOpen 095 */ 096 public int getImgOpen() { 097 return imgOpen; 098 } 099 /** 100 * @param imgOpen the imgOpen to set 101 */ 102 public void setImgOpen(int imgOpen) { 103 this.imgOpen = imgOpen; 104 } 105 /** 106 * @return the imgOpenCustom 107 */ 108 public String getImgOpenCustom() { 109 return imgOpenCustom; 110 } 111 /** 112 * @param imgOpenCustom the imgOpenCustom to set 113 */ 114 public void setImgOpenCustom(String imgOpenCustom) { 115 this.imgOpenCustom = imgOpenCustom; 116 } 117 /** 118 * @return the parent 119 */ 120 public String getParent() { 121 return parent; 122 } 123 /** 124 * @param parent the parent to set 125 */ 126 public void setParent(String parent) { 127 this.parent = parent; 128 } 129 130 /** 131 * @return the target 132 */ 133 public String getTarget() { 134 return target; 135 } 136 /** 137 * @param target the target to set 138 */ 139 public void setTarget(String target) { 140 this.target = target; 141 } 142 /** 143 * @return the value 144 */ 145 public String getValue() { 146 return value; 147 } 148 /** 149 * @param value the value to set 150 */ 151 public void setValue(String value) { 152 this.value = value; 153 } 154 }