Implemented SSDP client and is now using graphical list cells in ListViews

This commit is contained in:
Daniel Collin 2015-10-22 14:08:31 +00:00
parent 120dded24f
commit 34cf5865fe
16 changed files with 428 additions and 86 deletions

View file

@ -1,18 +1,30 @@
package com.coder.client.gui.selectProject;
public class ProjectListItem {
private String projectName;
class ProjectListItem {
private String name;
private String type;
private String description;
public ProjectListItem(String projectName, String type, String description) {
this.projectName = projectName;
this.name = projectName;
this.type = type;
this.description = description;
}
public String getName(){
return this.name;
}
public String getType(){
return this.type;
}
public String getDescription(){
return this.description;
}
public String toString(){
return "ProjectName="+projectName+", type="+type+", description="+description;
return "PROJECT: ProjectName="+name+", type="+type+", description="+description;
}
}