com.anrisoftware.prefdialog.fields.FieldFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prefdialog-api Show documentation
Show all versions of prefdialog-api Show documentation
Preferences dialog public application interface.
The newest version!
/*
* Copyright 2013-2016 Erwin Müller
*
* This file is part of prefdialog-api.
*
* prefdialog-api is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* prefdialog-api is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with prefdialog-api. If not, see .
*/
package com.anrisoftware.prefdialog.fields;
import java.awt.Component;
/**
* Factory to create a new field component.
*
* @param
* the {@link Component} for this field.
*
* @author Erwin Mueller, [email protected]
* @since 3.0
*/
public interface FieldFactory {
/**
* Creates a new field component.
*
* @param parentObject
* the parent object of this field.
*
* @param fieldName
* the name of the field in the parent object.
*
* @return the {@link FieldComponent}.
*/
FieldComponent create(Object parentObject, String fieldName);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy