public enum ClusterLabelType extends java.lang.Enum<ClusterLabelType> implements de.ims.icarus.util.id.Identity
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getLabel(Cluster cluster,
DocumentData document) |
java.lang.String |
getName() |
java.lang.Object |
getOwner() |
protected abstract Span |
getSignificantSpan(Cluster cluster,
DocumentData document) |
static ClusterLabelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterLabelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterLabelType FIRST
public static final ClusterLabelType LAST
public static final ClusterLabelType SHORTEST
public static final ClusterLabelType LONGEST
public static ClusterLabelType[] values()
for (ClusterLabelType c : ClusterLabelType.values()) System.out.println(c);
public static ClusterLabelType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
getId
in interface de.ims.icarus.util.id.Identity
Identity.getId()
public java.lang.String getName()
getName
in interface de.ims.icarus.util.id.Identity
Identity.getName()
public java.lang.String getDescription()
getDescription
in interface de.ims.icarus.util.id.Identity
Identity.getDescription()
public javax.swing.Icon getIcon()
getIcon
in interface de.ims.icarus.util.id.Identity
Identity.getIcon()
public java.lang.Object getOwner()
getOwner
in interface de.ims.icarus.util.id.Identity
Identity.getOwner()
public java.lang.String getLabel(Cluster cluster, DocumentData document)
protected abstract Span getSignificantSpan(Cluster cluster, DocumentData document)