org.zaval.lw.mask
Class MaskPosController

java.lang.Object
  |
  +--org.zaval.util.ValidationObject
        |
        +--org.zaval.misc.PosController
              |
              +--org.zaval.lw.mask.MaskPosController
All Implemented Interfaces:
Validationable

public class MaskPosController
extends PosController

This class is specific implementation of the pos controller for the masked text field component.


Fields inherited from class org.zaval.misc.PosController
BEG, DOWN, END, prevCol, prevLine, prevOffset, UP
 
Fields inherited from class org.zaval.util.ValidationObject
isValidFlag
 
Constructor Summary
MaskPosController(MaskedText m)
          Constructs the controller with the specified masked text.
 
Method Summary
 void seek(int v)
          Moves the current position by additing specified value.
 
Methods inherited from class org.zaval.misc.PosController
addPosListener, calcMaxOffset, clearPos, getCurrentCol, getCurrentLine, getMaxOffset, getOffset, getOffsetByPoint, getPointByOffset, getPosInfo, perform, recalc, removePosListener, seekLineTo, seekLineTo, setOffset, setPosInfo, setRowCol
 
Methods inherited from class org.zaval.util.ValidationObject
invalidate, isValid, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaskPosController

public MaskPosController(MaskedText m)
Constructs the controller with the specified masked text.
Parameters:
m - the specified masked text.
Method Detail

seek

public void seek(int v)
Description copied from class: PosController
Moves the current position by additing specified value. The method works by setOffset method.
Overrides:
seek in class PosController
Following copied from class: org.zaval.misc.PosController
Parameters:
off - the specified value.


Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org