borland Packages  Class Hierarchy  jbcl.model Package  Index 

ItemEditMaskState component

java.lang.Object
   +----borland.jbcl.model.ItemEditMaskState

About the ItemEditMaskState component

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.


ItemEditMaskState variables

Variables implemented in this class

ItemEditMaskState constructors

ItemEditMaskState properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

ItemEditMaskState methods

Methods implemented in java.lang.Object


ItemEditMaskState variables

cursorPos

  public int cursorPos
The position of the cursor in the display string.

displayString

  public StringBuffer displayString
The string the control displays to the user.

ItemEditMaskState constructors

ItemEditMaskState()

  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.

ItemEditMaskState(int, int)

  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:

size
The size of the display string.
cursorPos
The initial position of the cursor in the display string.