/** * Add a destination/source field pair (on valid record, move dest to source). * @param iDestFieldSeq The destination field. * @param iSourceFieldSeq The source field. * @param bMoveToDependent If true adds a MoveOnValidHandler to the secondary record. * @param bMoveBackOnChange If true, adds a CopyFieldHandler to the destination field (moves to the source). */ public MoveOnValidHandler addFieldSeqPair(int iDestFieldSeq, int iSourceFieldSeq, boolean bMoveToDependent, boolean bMoveBackOnChange) { // BaseField will return iSourceFieldSeq if m_OwnerField is 'Y'es return this.addFieldPair(this.getOwner().getRecord().getField(iDestFieldSeq), m_record.getField(iSourceFieldSeq), bMoveToDependent, bMoveBackOnChange, null, null); } /**
/** * This method is specifically for making sure a handle is moved to this field on valid. * The field must be a ReferenceField. * @param iFieldSeq int On valid, move to this field. */ public MoveOnValidHandler addFieldSeqPair(int iFieldSeq) { m_bMoveBehavior = true; MoveOnValidHandler moveBehavior = new MoveOnValidHandler(this.getOwner().getRecord().getField(iFieldSeq)); m_record.addListener(moveBehavior); return moveBehavior; } /**
/** * This method is specifically for making sure a handle is moved to this field on valid. * The field must be a ReferenceField. * @param iFieldSeq int On valid, move to this field. */ public MoveOnValidHandler addFieldSeqPair(int iFieldSeq) { m_bMoveBehavior = true; MoveOnValidHandler moveBehavior = new MoveOnValidHandler(this.getOwner().getRecord().getField(iFieldSeq)); m_record.addListener(moveBehavior); return moveBehavior; } /**
/** * Add a destination/source field pair (on valid record, move dest to source). * @param iDestFieldSeq The destination field. * @param iSourceFieldSeq The source field. * @param bMoveToDependent If true adds a MoveOnValidHandler to the secondary record. * @param bMoveBackOnChange If true, adds a CopyFieldHandler to the destination field (moves to the source). */ public MoveOnValidHandler addFieldSeqPair(String iDestFieldSeq, String iSourceFieldSeq, boolean bMoveToDependent, boolean bMoveBackOnChange) { // BaseField will return iSourceFieldSeq if m_OwnerField is 'Y'es return this.addFieldPair(this.getOwner().getRecord().getField(iDestFieldSeq), m_record.getField(iSourceFieldSeq), bMoveToDependent, bMoveBackOnChange, null, null); } /**
/** * Add a destination/source field pair (on valid record, move dest to source). * @param iDestFieldSeq The destination field. * @param iSourceFieldSeq The source field. * @param bMoveToDependent If true adds a MoveOnValidHandler to the secondary record. * @param bMoveBackOnChange If true, adds a CopyFieldHandler to the destination field (moves to the source). */ public MoveOnValidHandler addFieldSeqPair(int iDestFieldSeq, int iSourceFieldSeq, boolean bMoveToDependent, boolean bMoveBackOnChange) { // BaseField will return iSourceFieldSeq if m_OwnerField is 'Y'es return this.addFieldPair(this.getOwner().getRecord().getField(iDestFieldSeq), m_record.getField(iSourceFieldSeq), bMoveToDependent, bMoveBackOnChange, null, null); } /**
/** * Add a destination/source field pair (on valid record, move dest to source). * @param iDestFieldSeq The destination field. * @param iSourceFieldSeq The source field. * @param bMoveToDependent If true adds a MoveOnValidHandler to the secondary record. * @param bMoveBackOnChange If true, adds a CopyFieldHandler to the destination field (moves to the source). */ public MoveOnValidHandler addFieldSeqPair(int iDestFieldSeq, int iSourceFieldSeq, boolean bMoveToDependent, boolean bMoveBackOnChange) { // BaseField will return iSourceFieldSeq if m_OwnerField is 'Y'es return this.addFieldPair(this.getOwner().getRecord().getField(iDestFieldSeq), m_record.getField(iSourceFieldSeq), bMoveToDependent, bMoveBackOnChange, null, null); } /**
/** * Add the set of fields that will move on a valid record. * @param iDestFieldSeq The destination field. * @param iSourceFieldSeq The source field. * @param bMoveToDependent If true adds a MoveOnValidHandler to the secondary record. * @param bMoveBackOnChange If true, adds a CopyFieldHandler to the destination field (moves to the source). * @param convCheckMark Check mark to check before moving. * @param convBackconvCheckMark Check mark to check before moving back. */ public MoveOnValidHandler addFieldSeqPair(String iDestFieldSeq, String iSourceFieldSeq, boolean bMoveToDependent, boolean bMoveBackOnChange, Converter convCheckMark, Converter convBackconvCheckMark) { // BaseField will return iSourceFieldSeq if m_OwnerField is 'Y'es return this.addFieldPair(this.getOwner().getRecord().getField(iDestFieldSeq), m_record.getField(iSourceFieldSeq), bMoveToDependent, bMoveBackOnChange, convCheckMark, convBackconvCheckMark); } /**
/** * This method is specifically for making sure a handle is moved to this field on valid. * The field must be a ReferenceField. * @param iFieldSeq int On valid, move to this field. */ public MoveOnValidHandler addFieldSeqPair(int iFieldSeq) { m_bMoveBehavior = true; MoveOnValidHandler moveBehavior = new MoveOnValidHandler(this.getOwner().getRecord().getField(iFieldSeq)); m_record.addListener(moveBehavior); return moveBehavior; } /**
/** * This method is specifically for making sure a handle is moved to this field on valid. * The field must be a ReferenceField. * @param iFieldSeq int On valid, move to this field. */ public MoveOnValidHandler addFieldSeqPair(String iFieldSeq) { m_bMoveBehavior = true; MoveOnValidHandler moveBehavior = new MoveOnValidHandler(this.getOwner().getRecord().getField(iFieldSeq)); m_record.addListener(moveBehavior); return moveBehavior; } /**
/** * Add the set of fields that will move on a valid record. * @param iDestFieldSeq The destination field. * @param iSourceFieldSeq The source field. * @param bMoveToDependent If true adds a MoveOnValidHandler to the secondary record. * @param bMoveBackOnChange If true, adds a CopyFieldHandler to the destination field (moves to the source). * @param convCheckMark Check mark to check before moving. * @param convBackconvCheckMark Check mark to check before moving back. */ public MoveOnValidHandler addFieldSeqPair(int iDestFieldSeq, int iSourceFieldSeq, boolean bMoveToDependent, boolean bMoveBackOnChange, Converter convCheckMark, Converter convBackconvCheckMark) { // BaseField will return iSourceFieldSeq if m_OwnerField is 'Y'es return this.addFieldPair(this.getOwner().getRecord().getField(iDestFieldSeq), m_record.getField(iSourceFieldSeq), bMoveToDependent, bMoveBackOnChange, convCheckMark, convBackconvCheckMark); } /**
/** * Add the set of fields that will move on a valid record. * @param iDestFieldSeq The destination field. * @param iSourceFieldSeq The source field. * @param bMoveToDependent If true adds a MoveOnValidHandler to the secondary record. * @param bMoveBackOnChange If true, adds a CopyFieldHandler to the destination field (moves to the source). * @param convCheckMark Check mark to check before moving. * @param convBackconvCheckMark Check mark to check before moving back. */ public MoveOnValidHandler addFieldSeqPair(int iDestFieldSeq, int iSourceFieldSeq, boolean bMoveToDependent, boolean bMoveBackOnChange, Converter convCheckMark, Converter convBackconvCheckMark) { // BaseField will return iSourceFieldSeq if m_OwnerField is 'Y'es return this.addFieldPair(this.getOwner().getRecord().getField(iDestFieldSeq), m_record.getField(iSourceFieldSeq), bMoveToDependent, bMoveBackOnChange, convCheckMark, convBackconvCheckMark); } /**
/** * Add the set of fields that will move on a valid record. * @param iDestFieldSeq The destination field. * @param iSourceFieldSeq The source field. * @param bMoveToDependent If true adds a MoveOnValidHandler to the secondary record. * @param bMoveBackOnChange If true, adds a CopyFieldHandler to the destination field (moves to the source). * @param convCheckMark Check mark to check before moving. * @param convBackconvCheckMark Check mark to check before moving back. */ public MoveOnValidHandler addFieldSeqPair(int iDestFieldSeq, int iSourceFieldSeq, boolean bMoveToDependent, boolean bMoveBackOnChange, Converter convCheckMark, Converter convBackconvCheckMark) { // BaseField will return iSourceFieldSeq if m_OwnerField is 'Y'es return this.addFieldPair(this.getOwner().getRecord().getField(iDestFieldSeq), m_record.getField(iSourceFieldSeq), bMoveToDependent, bMoveBackOnChange, convCheckMark, convBackconvCheckMark); } /**
try Object handle = this.getOwner().getData(); if ((handle == null) || ((this.getOwner() instanceof ReferenceField) && (((Integer)handle).intValue() == 0))) iErrorCode = m_keyField.moveFieldToThis(this.getOwner(), DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); // SCREEN_MOVE says this is coming from here return iErrorCode;
try Object handle = this.getOwner().getData(); if ((handle == null) || ((this.getOwner() instanceof ReferenceField) && (((Integer)handle).intValue() == 0))) iErrorCode = m_KeyField.moveFieldToThis(this.getOwner(), DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); // SCREEN_MOVE says this is coming from here return iErrorCode;
try Object handle = this.getOwner().getData(); if ((handle == null) || ((this.getOwner() instanceof ReferenceField) && (((Integer)handle).intValue() == 0))) iErrorCode = m_KeyField.moveFieldToThis(this.getOwner(), DBConstants.DISPLAY, DBConstants.SCREEN_MOVE); // SCREEN_MOVE says this is coming from here return iErrorCode;