mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
library auto-sorting
This commit is contained in:
parent
31075d08a0
commit
f79aaeb132
10 changed files with 97 additions and 60 deletions
|
@ -25,12 +25,23 @@ public class BookTree extends LibraryTree {
|
|||
public final Book Book;
|
||||
private final boolean myShowAuthors;
|
||||
|
||||
BookTree(Book book, boolean showAuthors) {
|
||||
Book = book;
|
||||
myShowAuthors = showAuthors;
|
||||
}
|
||||
|
||||
BookTree(LibraryTree parent, Book book, boolean showAuthors) {
|
||||
super(parent);
|
||||
Book = book;
|
||||
myShowAuthors = showAuthors;
|
||||
}
|
||||
|
||||
BookTree(LibraryTree parent, Book book, boolean showAuthors, int position) {
|
||||
super(parent, position);
|
||||
Book = book;
|
||||
myShowAuthors = showAuthors;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return Book.getTitle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue