IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.gui
Class TextFieldMinLengthProperty

java.lang.Object
  extended bycom.ibm.dse.gui.TextFieldMinLengthProperty
All Implemented Interfaces:
java.io.Serializable

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

Constructor Summary
TextFieldMinLengthProperty()
          This constructor creates a TextFieldMinLengthProperty object.
TextFieldMinLengthProperty(int minLength, java.lang.String eMessage)
          This constructor creates a TextFieldMinLengthProperty object.
 
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
 

Constructor Detail

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.
Method Detail

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.


setMinLength

public void setMinLength(int newValue)
Sets the minimum length property (int) value.

Parameters:
newValue - int, the new value for the property.

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005