Example usage for java.beans PropertyEditorSupport subclass-usage

List of usage examples for java.beans PropertyEditorSupport subclass-usage

Introduction

In this page you can find the example usage for java.beans PropertyEditorSupport subclass-usage.

Usage

From source file gov.nih.nci.cabig.caaers.tools.editors.DateEditor.java

/**
 * There is a requirement that the Date fields should accept variour combination of dates
 * Eg:-
 *  m/d/yy
 *  m/dd/yyyy
 *  mm/dd/yy

From source file org.cloudfoundry.identity.uaa.authentication.login.PromptEditor.java

/**
 * @author Dave Syer
 *
 */
public class PromptEditor extends PropertyEditorSupport {

From source file org.jboss.windup.config.spring.property.StoryPointEffortTypeEditor.java

public class StoryPointEffortTypeEditor extends PropertyEditorSupport {
    private static final Log LOG = LogFactory.getLog(StoryPointEffortTypeEditor.class);

    public void setAsText(String hours) {
        if (hours != null) {
            int h = Integer.parseInt(hours);

From source file edu.vt.middleware.gator.support.AbstractParamArrayEditor.java

/**
 * Converts between an array of {@link ParamConfig} items and a text
 * representation of the following form:
 * <pre>
 * name=value
 * name=value

From source file edu.vt.middleware.gator.web.support.AbstractParamArrayEditor.java

/**
 * Converts between an array of {@link ParamConfig} items and a text
 * representation of the following form:
 * <pre>
 * name=value
 * name=value

From source file org.opensprout.osaf.propertyeditor.FilePropertyEditor.java

/**
 * This PropertyEditor maps MulipartFile to File,
 * @author Whiteship
 */
public class FilePropertyEditor extends PropertyEditorSupport {

From source file edu.northwestern.bioinformatics.studycalendar.core.editors.ControlledVocabularyEditor.java

/**
 * @author Rhett Sutphin
 */
public class ControlledVocabularyEditor extends PropertyEditorSupport {
    private static final String LOOKUP_METHOD = "getById";

From source file org.opensprout.osaf.propertyeditor.AbstractGenericPropertyEditor.java

/**
 * Generic PropertyEditor uses dao to load entity by id.
 * @author Whiteship
 * @param <T> Entity class type
 * @param <D> GenericDao type
 */

From source file com.amediamanager.util.CommaDelimitedTagEditor.java

public class CommaDelimitedTagEditor extends PropertyEditorSupport {

    // Convert a string to a Set of Tags
    public void setAsText(String text) {
        Set<Tag> tags = new HashSet<Tag>();
        String[] strings = text.split(",");

From source file org.openmrs.module.orderentryui.propertyeditor.DosingTypeEditor.java

public class DosingTypeEditor extends PropertyEditorSupport {

    /**
     * @should set using id
     * @should set using uuid
     *