
org.jline.consoleui.elements.items.ConsoleUIItemIF 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.items;
public interface ConsoleUIItemIF {
boolean isSelectable();
String getName();
default boolean isDisabled() {
return false;
}
String getText();
default String getDisabledText() {
return "";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy