|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.dem.objects.FormFieldCustomization
public class FormFieldCustomization
The customization of a form field
Field Summary | |
---|---|
static String |
MESSAGE_HELP_ID
the configuration id to save the help message |
static String |
MESSAGE_HINT_ID
the configuration id to save the hint message |
static String |
MESSAGE_LABEL_ID
the configuration id to save the label message |
Constructor Summary | |
---|---|
FormFieldCustomization(String fieldID)
|
Method Summary | |
---|---|
String |
getCustomMessage(String messageID,
String language,
String defaultValue)
Utility method that returns the desired customized message or the default one if no customization exists |
String |
getFieldID()
Inspector for the 'fieldID' attribute. |
FeatureState |
getMandatory()
Inspector for the 'mandatory' attribute. |
MessageList |
getMessages()
Inspector for the 'messages' attribute. |
FormFieldCustomization |
setFieldID(String fieldID)
Modifier for the 'fieldID' attribute. |
FormFieldCustomization |
setMandatory(FeatureState mandatory)
Modifier for the 'mandatory' attribute. |
FormFieldCustomization |
setMessages(MessageList messages)
Modifier for the 'messages' attribute. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String MESSAGE_HELP_ID
public static final String MESSAGE_HINT_ID
public static final String MESSAGE_LABEL_ID
Constructor Detail |
---|
public FormFieldCustomization(String fieldID)
fieldID
- Method Detail |
---|
public String getCustomMessage(String messageID, String language, String defaultValue)
messageID
- the message ID to getlanguage
- the desired languagedefaultValue
- the default value of not custom message exists
public String getFieldID()
public FeatureState getMandatory()
public MessageList getMessages()
public FormFieldCustomization setFieldID(String fieldID)
fieldID
- the new fieldID value to set
public FormFieldCustomization setMandatory(FeatureState mandatory)
mandatory
- the new mandatory value to set
public FormFieldCustomization setMessages(MessageList messages)
messages
- the new messages value to set
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |