borland Packages Class Hierarchy jbcl.model Package Index
java.lang.Object +----borland.jbcl.model.ItemEditMaskState
Variables Constructors Properties Methods
Implements Serializable
The ItemEditMaskState class carries state information for a control while it is using an ItemEditMask interface. The control owns this information, though it is instantiated by the ItemEditMask. This allows multiple controls to share a common ItemEditMask.
public int cursorPosThe position of the cursor in the display string.
public StringBuffer displayStringThe string the control displays to the user.
public ItemEditMaskState()Constructs an ItemEditMaskState object. The default size of the string buffer is 16 characters, and the cursor is initially positioned at the beginning of the display string.
public ItemEditMaskState(int size, int cursorPos)Constructs an ItemEditMaskState object using the specified dispaly string size and the specified cursor position in the display string.
Parameters: