com.jidesoft.grouper.DefaultObjectGrouper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jide-oss Show documentation
Show all versions of jide-oss Show documentation
JIDE Common Layer (Professional Swing Components)
package com.jidesoft.grouper;
/**
* Default implementation of ObjectGrouper
. Its getGroupValue simply returns the value directly.
*/
public class DefaultObjectGrouper extends AbstractObjectGrouper {
private String _name;
public DefaultObjectGrouper() {
this("");
}
public DefaultObjectGrouper(String name) {
_name = name;
}
public Object getValue(Object value) {
return value;
}
public Class> getType() {
return Object.class;
}
public String getName() {
return _name;
}
public void setName(String name) {
_name = name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy