|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.crosswire.bibledesktop.display.basic.SplitBookDataDisplay
public class SplitBookDataDisplay
A SplitBookDataDisplay consists of a KeySidebar and a BookDataDisplay in a SplitPane.
for license details.,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private BookDataDisplay |
child
|
private static org.slf4j.Logger |
log
The log stream |
private static long |
serialVersionUID
Serialization ID |
private KeySidebar |
sidebar
|
private JSplitPane |
split
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
SplitBookDataDisplay(KeySidebar sidebar,
BookDataDisplay child)
Initialize the SplitBookDataDisplay |
|
| Method Summary | |
|---|---|
void |
addKeyChangeListener(KeyChangeListener listener)
Add a listener for changes in the Key. |
void |
copy()
copy the child |
BookDataDisplay |
getBookDataDisplay()
|
org.crosswire.jsword.book.Book[] |
getBooks()
|
org.crosswire.jsword.book.Book |
getFirstBook()
Get the first book being displayed |
org.crosswire.jsword.passage.Key |
getKey()
|
KeySidebar |
getSidebar()
|
private void |
readObject(ObjectInputStream is)
Serialization support. |
void |
removeKeyChangeListener(KeyChangeListener listener)
Remove a listener for changes in the Key. |
void |
setBookData(org.crosswire.jsword.book.Book[] books,
org.crosswire.jsword.passage.Key key)
Set the books and/or key to display. |
void |
showSidebar(boolean show)
Show or hide the passage sidebar. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private KeySidebar sidebar
private JSplitPane split
private transient BookDataDisplay child
private static final org.slf4j.Logger log
private static final long serialVersionUID
| Constructor Detail |
|---|
public SplitBookDataDisplay(KeySidebar sidebar,
BookDataDisplay child)
| Method Detail |
|---|
public KeySidebar getSidebar()
public BookDataDisplay getBookDataDisplay()
public void setBookData(org.crosswire.jsword.book.Book[] books,
org.crosswire.jsword.passage.Key key)
books - key - public void showSidebar(boolean show)
show - booleanpublic org.crosswire.jsword.passage.Key getKey()
public org.crosswire.jsword.book.Book[] getBooks()
getBooks in interface org.crosswire.jsword.book.BookProviderpublic org.crosswire.jsword.book.Book getFirstBook()
getFirstBook in interface org.crosswire.jsword.book.BookProviderpublic void copy()
public void addKeyChangeListener(KeyChangeListener listener)
listener - the listener to addpublic void removeKeyChangeListener(KeyChangeListener listener)
listener - the listener to remove
private void readObject(ObjectInputStream is)
throws IOException,
ClassNotFoundException
is -
IOException
ClassNotFoundException
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||