|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sf.jlaunchpad.util.FormatElement
public class FormatElement
Helper class for the format attribute.
Field Summary | |
---|---|
protected java.lang.String |
value
The selected value in this enumeration. |
Constructor Summary | |
---|---|
FormatElement()
Constructor for FormatElement |
Method Summary | |
---|---|
static FormatElement |
getDefault()
Get the default value - CHECKSUM. |
java.text.MessageFormat |
getFormat()
Convert this enumerated type to a MessageFormat . |
java.lang.String |
getValue()
|
java.lang.String[] |
getValues()
Get the valid values. |
int |
indexOfValue(java.lang.String value)
get the index of a value in this enumeration. |
void |
setValue(java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String value
Constructor Detail |
---|
public FormatElement()
Method Detail |
---|
public final void setValue(java.lang.String value)
value
- the String
value of the attributepublic final int indexOfValue(java.lang.String value)
value
- the string value to look for.
getValues()
public final java.lang.String getValue()
public static FormatElement getDefault()
public java.text.MessageFormat getFormat()
MessageFormat
.
MessageFormat
object.public java.lang.String[] getValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |