protected Object getEditValue() {
    String editValue = tf.getText().trim();
    if (editValue.length() == 0) return null; // empty ok

    try {
      return new TimeDuration( editValue);
    } catch (java.text.ParseException e) {
      return null;
    }
 }
protected Object getEditValue() {
    String editValue = tf.getText().trim();
    if (editValue.length() == 0) return null; 

    try {
      return new TimeDuration( editValue);
    } catch (java.text.ParseException e) {
      return null;
    }
 }
protected Object getEditValue ( ) { String editValue = tf . getText ( ) . trim ( ) ; if ( editValue . length ( ) == 0 ) return null ; // empty ok try { return new TimeDuration ( editValue ) ; } catch ( java . text . ParseException e ) { return null ; } }
get current value from editComponent
get current value from editComponent