|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.Form.Flag
public static class Form.Flag
Represents an message alert associated with a form field.
Field Summary | |
---|---|
static java.lang.String |
MESSAGE_KEY
|
static java.lang.String |
MESSAGE_TYPE_KEY
|
Constructor Summary | |
---|---|
Form.Flag(Dictionary<java.lang.String,?> flag)
|
|
Form.Flag(MessageType messageType)
Creates a new flag with the given message type and no message. |
|
Form.Flag(MessageType messageType,
java.lang.String message)
Creates a new flag with the given type and message. |
|
Form.Flag(java.lang.String flag)
|
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the flag message. |
MessageType |
getMessageType()
Returns the flag's message type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MESSAGE_TYPE_KEY
public static final java.lang.String MESSAGE_KEY
Constructor Detail |
---|
public Form.Flag(MessageType messageType)
messageType
- The type of the flag.public Form.Flag(java.lang.String flag)
public Form.Flag(Dictionary<java.lang.String,?> flag)
public Form.Flag(MessageType messageType, java.lang.String message)
messageType
- The type of the flag.message
- The message text associated with the flag, or null for
no message.Method Detail |
---|
public MessageType getMessageType()
public java.lang.String getMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |