|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.binding.beans.Model
com.jgoodies.bookfinder.model.SearchResultModel
public final class SearchResultModel
References all application-level data or sub models and provides convenience accessors.
Field Summary | |
---|---|
static String |
PROPERTYNAME_ALL_BOOKS
|
static String |
PROPERTYNAME_FILTERED_BOOKS
|
static String |
PROPERTYNAME_MESSAGE
|
Method Summary | |
---|---|
int |
getBooksCount()
Returns the number of all books. |
ListModel |
getFilteredBooks()
Returns the ListModel of books accepted by the filter. |
int |
getFilteredBooksCount()
Returns the number of books accepted by the filter. |
String |
getMessage()
Returns the current user message text. |
boolean |
hasBooks()
Checks and answers if we have books. |
boolean |
hasMessage()
Checks and answers if we have a message. |
Methods inherited from class com.jgoodies.binding.beans.Model |
---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTYNAME_MESSAGE
public static final String PROPERTYNAME_ALL_BOOKS
public static final String PROPERTYNAME_FILTERED_BOOKS
Method Detail |
---|
public int getBooksCount()
public boolean hasBooks()
public int getFilteredBooksCount()
public ListModel getFilteredBooks()
TODO: Return an unmodifiable ListModel
public String getMessage()
public boolean hasMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |