private List<Card> cards;
public FileList(List<File> files) {
- super(UiColors.Element.CONTACT_LINE,
- UiColors.Element.CONTACT_LINE_SELECTED);
-
setFiles(files);
}
String name = files.get(index).getName();
+ name = StringUtils.sanitize(name, UiColors.getInstance().isUnicode());
+
count = " " + StringUtils.padString(count, SIZE_COL_1) + " ";
name = " "
+ StringUtils.padString(name, width - SIZE_COL_1
return actions;
}
-
- @Override
- public Mode getMode() {
- return Mode.FILE_LIST;
- }
}