|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bristle.javalib.ui.PropertyDisplayData
public class PropertyDisplayData
This class carries the display data about one property of a displayable object.
Usage: - See ObjectDisplayDataMap for typical usage. Assumptions: Effects: - None. Anticipated Changes: Notes: Implementation Notes: Portability Issues: Revision History: $Log$
Field Summary | |
---|---|
static boolean |
blnREADONLY
|
static boolean |
blnREQUIRED
|
Constructor Summary | |
---|---|
PropertyDisplayData(String strName,
DisplayDataTypeEnum dataType,
String strDataTypeMessage,
boolean blnRequired,
String strRequiredMessage,
boolean blnReadOnly,
String strReadOnlyMessage,
String strPrompt,
int intMinDisplayLength,
int intMaxLength,
String strMaxLengthMessage,
String strDisallowedChars,
String strDisallowedCharsMessage,
float fltMinValue,
String strMinValueMessage,
float fltMaxValue,
String strMaxValueMessage)
Constructor (the only way to set the values). |
Method Summary | |
---|---|
DisplayDataTypeEnum |
getDataType()
Get the data type. |
String |
getDataTypeMessage()
Get the message to show a user if the value of the property has the wrong data type. |
String |
getDisallowedChars()
Get the disallowed chars. |
String |
getDisallowedCharsMessage()
Get the message to show a user if the value of the property contains disallowed chars. |
int |
getMaxLength()
Get the max length. |
String |
getMaxLengthMessage()
Get the message to show a user if the value of the property is too long. |
float |
getMaxValue()
Get the max value. |
String |
getMaxValueMessage()
Get the message to show a user if the value of the property is more than the max. |
int |
getMinDisplayLength()
Get the min display length. |
float |
getMinValue()
Get the min value. |
String |
getMinValueMessage()
Get the message to show a user if the value of the property is less than the min. |
String |
getName()
Get the name. |
String |
getPrompt()
Get the prompt. |
String |
getReadOnlyMessage()
Get the message to show a user if the readonly value of the property is changed. |
String |
getRequiredMessage()
Get the message to show a user if the value of the property is empty. |
boolean |
isReadOnly()
Get the readonly flag. |
boolean |
isRequired()
Get the required flag. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean blnREQUIRED
public static final boolean blnREADONLY
Constructor Detail |
---|
public PropertyDisplayData(String strName, DisplayDataTypeEnum dataType, String strDataTypeMessage, boolean blnRequired, String strRequiredMessage, boolean blnReadOnly, String strReadOnlyMessage, String strPrompt, int intMinDisplayLength, int intMaxLength, String strMaxLengthMessage, String strDisallowedChars, String strDisallowedCharsMessage, float fltMinValue, String strMinValueMessage, float fltMaxValue, String strMaxValueMessage)
strName
- The name of the property.dataType
- The data type of the property.strDataTypeMessage
- The message to show a user if the value of the
property has the wrong data type.blnRequired
- Is the property required to have a value?strRequiredMessage
- The message to show a user if the value of the
property is empty.blnReadOnly
- Is the property readonly?strReadOnlyMessage
- The message to show a user if the readonly value of
the property is changed.strPrompt
- The prompt to show the user for this property.intMinDisplayLength
- The min length to show the user in a table or
any place where space is at a premium.intMaxLength
- The max char length to let the user enter.strMaxLengthMessage
- The message to show a user if the value of the
property is too long.strDisallowedChars
- Chars to prevent the user from entering as part of
the value.strDisallowedCharsMessage
- The message to show a user if the value of the
property contains disallowed chars.fltMinValue
- The min allowed value.strMinValueMessage
- The message to show a user if the value of the
property is less than the min.fltMaxValue
- The max allowed value.strMaxValueMessage
- The message to show a user if the value of the
property is more than the max.Method Detail |
---|
public String getName()
public DisplayDataTypeEnum getDataType()
public String getDataTypeMessage()
public boolean isRequired()
public String getRequiredMessage()
public boolean isReadOnly()
public String getReadOnlyMessage()
public String getPrompt()
public int getMinDisplayLength()
public int getMaxLength()
public String getMaxLengthMessage()
public String getDisallowedChars()
public String getDisallowedCharsMessage()
public float getMinValue()
public String getMinValueMessage()
public float getMaxValue()
public String getMaxValueMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |