fixed minor inconveniences
This commit is contained in:
parent
1fb4ddaa47
commit
98b82d74d0
@ -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.
|
||||
*
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user