public int fieldChanged ( boolean bDisplayOption , int iMoveMode ) { boolean bFlag = this . compareFieldToString ( ) ; if ( m_bDisableIfMatch ) bFlag = ! bFlag ; m_fldToDisable . setEnabled ( bFlag ) ; return DBConstants . NORMAL_RETURN ; }
The Field has Changed . If the target string matches this field disable the target field .