/** * Constructor. * @param field The basefield owner of this listener (usually null and set on setOwner()). * @param iFieldSeq The field sequence in this record to move this listener's field to. * @param field The field to move this listener's field to. * @param fldCheckMark Only move if this field evaluates to true. */ public void init(BaseField field, BaseField fldDest, Converter fldCheckMark, int iFieldSeq) { BaseField fldSource = null; boolean bClearIfThisNull = true; boolean bOnlyIfDestNull = false; boolean bDontMoveNull = false; super.init(field, fldDest, fldSource, bClearIfThisNull, bOnlyIfDestNull, bDontMoveNull); this.setRespondsToMode(DBConstants.INIT_MOVE, false); // By default, only respond to screen and init moves this.setRespondsToMode(DBConstants.READ_MOVE, false); // Usually, you only want to move a string on screen change m_iFieldSeq = iFieldSeq; m_convCheckMark = fldCheckMark; } /**
/** * Constructor. * @param field The basefield owner of this listener (usually null and set on setOwner()). * @param iFieldSeq The field sequence in this record to move this listener's field to. * @param field The field to move this listener's field to. * @param fldCheckMark Only move if this field evaluates to true. */ public void init(BaseField field, BaseField fldDest, Converter fldCheckMark, String fieldName) { BaseField fldSource = null; boolean bClearIfThisNull = true; boolean bOnlyIfDestNull = false; boolean bDontMoveNull = false; super.init(field, fldDest, fldSource, bClearIfThisNull, bOnlyIfDestNull, bDontMoveNull); this.setRespondsToMode(DBConstants.INIT_MOVE, false); // By default, only respond to screen and init moves this.setRespondsToMode(DBConstants.READ_MOVE, false); // Usually, you only want to move a string on screen change this.fieldName = fieldName; m_convCheckMark = fldCheckMark; } /**
/** * Constructor. * @param field The basefield owner of this listener (usually null and set on setOwner()). * @param iFieldSeq The field sequence in this record to move this listener's field to. * @param field The field to move this listener's field to. * @param fldCheckMark Only move if this field evaluates to true. */ public void init(BaseField field, BaseField fldDest, Converter fldCheckMark, int iFieldSeq) { BaseField fldSource = null; boolean bClearIfThisNull = true; boolean bOnlyIfDestNull = false; boolean bDontMoveNull = false; super.init(field, fldDest, fldSource, bClearIfThisNull, bOnlyIfDestNull, bDontMoveNull); this.setRespondsToMode(DBConstants.INIT_MOVE, false); // By default, only respond to screen and init moves this.setRespondsToMode(DBConstants.READ_MOVE, false); // Usually, you only want to move a string on screen change m_iFieldSeq = iFieldSeq; m_convCheckMark = fldCheckMark; } /**