public class LabelValueBean extends Object implements Comparable, Serializable
<html:options> tag.
 Note: this class has a natural ordering that is inconsistent with equals.
org.apache.struts.util.LabelValueBean, 
直列化された形式| 修飾子とタイプ | フィールドと説明 | 
|---|---|
static Comparator | 
CASE_INSENSITIVE_ORDER
Comparator that can be used for a case insensitive sort of
  
LabelValueBean objects. | 
| コンストラクタと説明 | 
|---|
LabelValueBean()
Default constructor. 
 | 
LabelValueBean(String label,
              String value)
Construct an instance with the supplied property values. 
 | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
int | 
compareTo(Object o)
Compare LabelValueBeans based on the label, because that's the human
 viewable part of the object. 
 | 
boolean | 
equals(Object obj)
LabelValueBeans are equal if their values are both null or equal. 
 | 
String | 
getLabel()  | 
String | 
getValue()  | 
int | 
hashCode()
The hash code is based on the object's value. 
 | 
void | 
setLabel(String label)  | 
void | 
setValue(String value)  | 
String | 
toString()
Return a string representation of this object. 
 | 
public static final Comparator CASE_INSENSITIVE_ORDER
LabelValueBean objects.public String getLabel()
public void setLabel(String label)
public String getValue()
public void setValue(String value)
public int compareTo(Object o)
compareTo インタフェース内 ComparableComparablepublic String toString()
public boolean equals(Object obj)
equals クラス内 ObjectObject.equals(Object)public int hashCode()
hashCode クラス内 ObjectObject.hashCode()