|
||||||||||
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.splitlist.SplitBookDataDisplay
public class SplitBookDataDisplay
A quick Swing Bible display pane.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormNested 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.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
private Book |
book
What book are we currently viewing? |
private BookDataDisplay |
child
|
private Key |
key
The whole passage that we are viewing |
private List |
keyChangeListeners
The listener for KeyChangeEvents |
private static 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 command listener |
void |
copy()
|
protected void |
fireKeyChanged(KeyChangeEvent ev)
Inform the command keyChangeListeners |
Book |
getBook()
|
BookDataDisplay |
getBookDataDisplay()
|
Key |
getKey()
|
KeySidebar |
getSidebar()
|
private void |
init()
Create the GUI |
void |
removeKeyChangeListener(KeyChangeListener listener)
Remove a command listener |
void |
setBookData(Book book,
Key key)
|
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 Key key
private transient List keyChangeListeners
private transient Book book
private static final Logger log
private KeySidebar sidebar
private JSplitPane split
private BookDataDisplay child
private static final long serialVersionUID
Constructor Detail |
---|
public SplitBookDataDisplay(KeySidebar sidebar, BookDataDisplay child)
Method Detail |
---|
private void init()
public KeySidebar getSidebar()
public BookDataDisplay getBookDataDisplay()
public void setBookData(Book book, Key key)
public void showSidebar(boolean show)
show
- booleanpublic Key getKey()
public Book getBook()
public void copy()
public void addKeyChangeListener(KeyChangeListener listener)
public void removeKeyChangeListener(KeyChangeListener listener)
protected void fireKeyChanged(KeyChangeEvent ev)
|
Copyright ยจ 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |