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

org.jline.consoleui.elements.ExpandableChoice Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2024, the original author(s).
 *
 * This software is distributable under the BSD license. See the terms of the
 * BSD license in the documentation provided with this software.
 *
 * https://opensource.org/licenses/BSD-3-Clause
 */
package org.jline.consoleui.elements;

import java.util.List;

import org.jline.consoleui.elements.items.ChoiceItemIF;

public class ExpandableChoice extends AbstractPromptableElement {

    private final List choiceItems;

    public ExpandableChoice(String message, String name, List choiceItems) {
        super(message, name);
        this.choiceItems = choiceItems;
    }

    public List getChoiceItems() {
        return choiceItems;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy