1 37 package net.sourceforge.cruisecontrol.taglib; 38 39 44 public class Tab { 45 private final String name; 46 private String url; 47 private final String label; 48 private final boolean selected; 49 private final boolean row; 50 51 public Tab(String name, String url, String label, boolean selected) { 52 this(name, url, label, selected, false); 53 } 54 public Tab(String name, String url, String label, boolean selected, boolean row) { 55 this.name = name; 56 this.url = url; 57 this.label = label; 58 this.selected = selected; 59 this.row = row; 60 } 61 62 public String getName() { 63 return name; 64 } 65 66 public String getUrl() { 67 return url; 68 } 69 70 public void setUrl(String url) { 71 this.url = url; 72 } 73 74 public String getLabel() { 75 return label; 76 } 77 78 public boolean isSelected() { 79 return selected; 80 } 81 82 public boolean isRow() { 83 return row; 84 } 85 } 86 | Popular Tags |