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

org.fcrepo.client.console.ArrayInputPanel Maven / Gradle / Ivy

There is a newer version: 3.8.1
Show newest version
/* The contents of this file are subject to the license and copyright terms
 * detailed in the license directory at the root of the source tree (also 
 * available online at http://fedora-commons.org/license/).
 */
package org.fcrepo.client.console;

import java.util.ArrayList;

import javax.swing.JLabel;

/**
 * @author Chris Wilper
 */
public class ArrayInputPanel
        extends InputPanel {

    private static final long serialVersionUID = 1L;

    private final ArrayList m_inputPanels;

    public ArrayInputPanel(Class cl) {
        m_inputPanels = new ArrayList();
        add(new JLabel("Array handler not implemented, will be null."));
    }

    @Override
    public Object getValue() {
        Object[] out = null;
        if (m_inputPanels.size() > 0) {
            out = new Object[m_inputPanels.size()];
        }
        return out;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy