/** * Constructor. * @param converter The next converter in the converter chain. * @param convDescField The converter to get the description from. */ public FieldDescConverter(Converter converter, Converter convDescField) { this(); this.init(converter, null, convDescField); } /**
/** * Constructor. * @param converter The next converter in the converter chain. * @param strAltDesc The description to use. */ public FieldDescConverter(Converter converter, String strAltDesc) { this(); this.init(converter, strAltDesc, null); } /**
/** * Constructor. * @param converter The next converter in the converter chain. * @param strAltDesc The description to use. */ public FieldDescConverter(Converter converter, String strAltDesc) { this(); this.init(converter, strAltDesc, null); } /**
/** * Constructor. * @param converter The next converter in the converter chain. * @param strAltDesc The description to use. */ public FieldDescConverter(Converter converter, String strAltDesc) { this(); this.init(converter, strAltDesc, null); } /**
/** * Constructor. * @param converter The next converter in the converter chain. * @param strTarget If the radio button is set, set this converter to this target string. * @param bTrueIfMatch If true, sets value on setState(true), otherwise sets it to blank. */ public void init(Converter converter, Object objTarget, boolean bTrueIfMatch) { super.init(converter, null, null); m_objTarget = objTarget; m_bTrueIfMatch = bTrueIfMatch; } /**
/** * Constructor. * @param converter The next converter in the converter chain. * @param convDescField The converter to get the description from. */ public FieldDescConverter(Converter converter, Converter convDescField) { this(); this.init(converter, null, convDescField); } /**
/** * Constructor. * @param converter The next converter in the converter chain. * @param convDescField The converter to get the description from. */ public FieldDescConverter(Converter converter, Converter convDescField) { this(); this.init(converter, null, convDescField); } /**
/** * Constructor. * @param converter The next converter in the converter chain. * @param strTarget If the radio button is set, set this converter to this target string. * @param bTrueIfMatch If true, sets value on setState(true), otherwise sets it to blank. */ public void init(Converter converter, Object objTarget, boolean bTrueIfMatch) { super.init(converter, null, null); m_objTarget = objTarget; m_bTrueIfMatch = bTrueIfMatch; } /**
/** * Constructor. * @param converter The next converter in the converter chain. * @param strTarget If the radio button is set, set this converter to this target string. * @param bTrueIfMatch If true, sets value on setState(true), otherwise sets it to blank. */ public void init(Converter converter, Object objTarget, boolean bTrueIfMatch) { super.init(converter, null, null); m_objTarget = objTarget; m_bTrueIfMatch = bTrueIfMatch; } /**
/** * Init this converter. * @param converter The target converter to set to this string. * @param strTargetValue The string to set the converter to is set to true. * @param fldTargetValue The string to set this field if set to true. * @param strAltFieldDesc An alternate description to display. * @param bTrueIfMatch If true, set to the alternate value. * @param boolMaskValue */ public void init(Converter converter, String strTargetValue, BaseField fldTargetValue, String strAltFieldDesc, boolean bTrueIfMatch, Boolean boolMaskValue) { m_fldTargetValue = fldTargetValue; m_strTargetValue = strTargetValue; m_bTrueIfMatch = bTrueIfMatch; if (boolMaskValue != null) m_boolMaskValue = boolMaskValue; else { if ((converter != null) && (converter.getField() instanceof StringField)) m_boolMaskValue = Boolean.TRUE; // String - default to true (mask) else m_boolMaskValue = Boolean.FALSE; // Other - default to false (value = target) } super.init(converter, strAltFieldDesc, null); } /**
/** * Init this converter. * @param converter The target converter to set to this string. * @param strTargetValue The string to set the converter to is set to true. * @param fldTargetValue The string to set this field if set to true. * @param strAltFieldDesc An alternate description to display. * @param bTrueIfMatch If true, set to the alternate value. * @param boolMaskValue */ public void init(Converter converter, String strTargetValue, BaseField fldTargetValue, String strAltFieldDesc, boolean bTrueIfMatch, Boolean boolMaskValue) { m_fldTargetValue = fldTargetValue; m_strTargetValue = strTargetValue; m_bTrueIfMatch = bTrueIfMatch; if (boolMaskValue != null) m_boolMaskValue = boolMaskValue; else { if ((converter != null) && (converter.getField() instanceof StringField)) m_boolMaskValue = Boolean.TRUE; // String - default to true (mask) else m_boolMaskValue = Boolean.FALSE; // Other - default to false (value = target) } super.init(converter, strAltFieldDesc, null); } /**
/** * Init this converter. * @param converter The target converter to set to this string. * @param strTargetValue The string to set the converter to is set to true. * @param fldTargetValue The string to set this field if set to true. * @param strAltFieldDesc An alternate description to display. * @param bTrueIfMatch If true, set to the alternate value. * @param boolMaskValue */ public void init(Converter converter, String strTargetValue, BaseField fldTargetValue, String strAltFieldDesc, boolean bTrueIfMatch, Boolean boolMaskValue) { m_fldTargetValue = fldTargetValue; m_strTargetValue = strTargetValue; m_bTrueIfMatch = bTrueIfMatch; if (boolMaskValue != null) m_boolMaskValue = boolMaskValue; else { if ((converter != null) && (converter.getField() instanceof StringField)) m_boolMaskValue = Boolean.TRUE; // String - default to true (mask) else m_boolMaskValue = Boolean.FALSE; // Other - default to false (value = target) } super.init(converter, strAltFieldDesc, null); } /**