public void addPropertiesFieldBehavior(BaseField fldDisplay, String strProperty)
    {
        BaseField fldProperties = this.getField(PropertiesRecord.PROPERTIES);
        FieldListener listener = new CopyConvertersHandler(new PropertiesConverter(fldProperties, strProperty));
        listener.setRespondsToMode(DBConstants.INIT_MOVE, false);
        listener.setRespondsToMode(DBConstants.READ_MOVE, false);
        fldDisplay.addListener(listener);
        listener = new CopyConvertersHandler(fldDisplay, new PropertiesConverter(fldProperties, strProperty));
        fldProperties.addListener(listener);
    }
public void addPropertiesFieldBehavior ( BaseField fldDisplay , String strProperty ) { BaseField fldProperties = this . getField ( PropertiesRecord . PROPERTIES ) ; FieldListener listener = new CopyConvertersHandler ( new PropertiesConverter ( fldProperties , strProperty ) ) ; listener . setRespondsToMode ( DBConstants . INIT_MOVE , false ) ; listener . setRespondsToMode ( DBConstants . READ_MOVE , false ) ; fldDisplay . addListener ( listener ) ; listener = new CopyConvertersHandler ( fldDisplay , new PropertiesConverter ( fldProperties , strProperty ) ) ; fldProperties . addListener ( listener ) ; }
Add the behaviors to sync this property to this virtual field.