com.ibm.dse.gui
Class TextFieldMinLengthProperty
java.lang.Object
|
+--com.ibm.dse.gui.TextFieldMinLengthProperty
- public class TextFieldMinLengthProperty
- extends java.lang.Object
- implements java.io.Serializable
The TextFieldMinLengthProperty class is used by the TextFieldMinLengthEditor to encapsulate the minimum
number char and the error message specified by the user in a SpTexField.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getErrorMessage()
Gets the error message property value. |
int |
getMinLength()
Gets the minimum length property value. |
void |
setErrorMessage(java.lang.String newValue)
Sets the error message property (java.lang.String) value. |
void |
setMinLength(int newValue)
Sets the minimum length property (int) value. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TextFieldMinLengthProperty
public TextFieldMinLengthProperty()
- This constructor creates a TextFieldMinLengthProperty object.
TextFieldMinLengthProperty
public TextFieldMinLengthProperty(int minLength,
java.lang.String eMessage)
- This constructor creates a TextFieldMinLengthProperty object.
- Parameters:
minLength
- int Minimum char number.eMessage
- String Error Message when user input is not correct length.
getErrorMessage
public java.lang.String getErrorMessage()
- Gets the error message property value.
- Returns:
- java.lang.String - Error message property
getMinLength
public int getMinLength()
- Gets the minimum length property value.
- Returns:
- int - minimum length
setErrorMessage
public void setErrorMessage(java.lang.String newValue)
- Sets the error message property (java.lang.String) value.
- Parameters:
errorMessage
- String - the new value for the property.
setMinLength
public void setMinLength(int newValue)
- Sets the minimum length property (int) value.
- Parameters:
newValue
- int, the new value for the property.