All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.datacleaner.panels.ConfiguredPropertyTaskPane Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
/**
 * DataCleaner (community edition)
 * Copyright (C) 2014 Neopost - Customer Information Management
 *
 * This copyrighted material is made available to anyone wishing to use, modify,
 * copy, or redistribute it subject to the terms and conditions of the GNU
 * Lesser General Public License, as published by the Free Software Foundation.
 *
 * This program 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 Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this distribution; if not, write to:
 * Free Software Foundation, Inc.
 * 51 Franklin Street, Fifth Floor
 * Boston, MA  02110-1301  USA
 */
package org.datacleaner.panels;

import java.util.List;

import org.datacleaner.descriptors.ConfiguredPropertyDescriptor;

/**
 * Defines a task pane with configured properties for a component.
 */
public final class ConfiguredPropertyTaskPane {

    private final boolean _expanded;
    private final String _title;
    private final String _iconImagePath;
    private final List _properties;

    public ConfiguredPropertyTaskPane(final String title, final String iconImagePath,
            final List properties) {
        this(title, iconImagePath, properties, true);
    }

    public ConfiguredPropertyTaskPane(final String title, final String iconImagePath,
            final List properties, final boolean expanded) {
        _title = title;
        _iconImagePath = iconImagePath;
        _properties = properties;
        _expanded = expanded;
    }

    public boolean isExpanded() {
        return _expanded;
    }

    public List getProperties() {
        return _properties;
    }

    public String getIconImagePath() {
        return _iconImagePath;
    }

    public String getTitle() {
        return _title;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy