fixed minor inconveniences

This commit is contained in:
delvh 2020-03-16 11:21:41 +01:00
parent 1fb4ddaa47
commit 98b82d74d0
2 changed files with 13 additions and 5 deletions

View File

@ -194,12 +194,25 @@ public class ComponentList<E> extends JPanel {
return selected;
}
/**
* @return the model
* @since Envoy v0.1-beta
*/
public ComponentListModel<E> getModel() { return model; }
/**
* @return the multipleSelectionEnabled
* @since Envoy v0.1-beta
*/
public boolean isMultipleSelectionEnabled() { return multipleSelectionEnabled; }
/**
* @param multipleSelectionEnabled if true, multiple elements can be selected in
* the component list
* @since Envoy v0.1-beta
*/
public void setMultipleSelectionEnabled(boolean multipleSelectionEnabled) { this.multipleSelectionEnabled = multipleSelectionEnabled; }
/**
* Enables the selection of multiple elements.
*

View File

@ -27,11 +27,6 @@ public class UserComponentListRenderer implements ComponentListCellRenderer<User
private static final long serialVersionUID = -2379244319112111284L;
/**
* @since Envoy v0.1-beta
*/
public UserComponentListRenderer() {}
@Override
public JComponent getListCellComponent(ComponentList<? extends User> list, User value, boolean isSelected) {
final JPanel panel = new JPanel();