public boolean isValidProperty ( String strProperty ) { if ( m_rgstrValidParams != null ) { for ( int i = 0 ; i < m_rgstrValidParams . length ; i ++ ) { if ( m_rgstrValidParams [ i ] . equalsIgnoreCase ( strProperty ) ) { // Valid property if ( m_strCurrentProperty != strProperty ) { return true ; // Valid property } } } } return false ; // Not a valid property }
This method gets called when a bound property is changed . Propagate the event to all listeners .