xq.gwt.mvc.model.ListItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of XqGwtMvc Show documentation
Show all versions of XqGwtMvc Show documentation
A framework for implementing the MVP variant of the Model View Controller design pattern in the context of GWT
The newest version!
package xq.gwt.mvc.model;
import java.io.Serializable;
public class ListItem implements Comparable, Serializable{
/**
*
*/
private static final long serialVersionUID = 8824958766515884070L;
public String value;
public String caption;
@Override
public String toString(){
return caption;
}
public int compareTo(ListItem o) {
return this.caption.compareTo(o.caption);
}
public ListItem(){}
public ListItem(String value, String caption){
this.value = value;
this.caption = caption;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy