|
||||||||||
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.book.install.SitePane
public class SitePane
A panel for use within a SitesPane to display one set of Books that are installed or could be installed.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormNested Class Summary | |
---|---|
private class |
SitePane.CustomBooksListener
When new books are added we need to relfect the change in this tree. |
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 ActionFactory |
actions
actions are held by this ActionFactory |
private static String |
AVAILABLE_BOOKS_LABEL
|
private static String |
DELETE
|
private TextPaneBookMetaDataDisplay |
display
|
private static String |
INSTALL
|
private static String |
INSTALL_SEARCH
|
private static String |
INSTALLED_BOOKS_LABEL
|
protected Installer |
installer
From which we get our list of installable books |
private JLabel |
lblDesc
|
private static String |
REFRESH
|
private static String |
SELECTED_BOOK_LABEL
|
private static long |
serialVersionUID
Serialization ID |
private JTree |
treAvailable
|
private static String |
UNINDEX
|
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 | |
---|---|
|
SitePane()
For local installations |
|
SitePane(Installer bookListInstaller)
For remote installations |
private |
SitePane(Installer bookListInstaller,
String labelAcronymn)
Internal ctor |
Method Summary | |
---|---|
private Component |
createAvailablePanel(String labelAcronymn,
BookList books)
|
private Component |
createPanelActions()
|
private Component |
createScrolledTree(BookList books)
|
private Component |
createSelectedPanel()
|
private Component |
createSplitPane(Component left,
Component right)
|
private TreeModel |
createTreeModel(BookList books)
|
void |
doDelete()
Delete the current book |
void |
doInstall()
Kick off the installer |
void |
doInstallSearch()
Kick off the installer |
void |
doRefresh()
Reload and redisplay the list of books |
void |
doUnindex()
Delete the current book |
private Book |
getBook(Object anObj)
|
private void |
initialize(String labelAcronymn,
BookList books)
Build the GUI components |
protected void |
selected()
Something has been (un)selected in the tree |
void |
setTreeModel(BookList books)
|
private void |
updateDescription()
|
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 static final String INSTALLED_BOOKS_LABEL
private static final String AVAILABLE_BOOKS_LABEL
private static final String SELECTED_BOOK_LABEL
private static final String REFRESH
private static final String INSTALL
private static final String INSTALL_SEARCH
private static final String DELETE
private static final String UNINDEX
protected transient Installer installer
private transient ActionFactory actions
private JTree treAvailable
private transient TextPaneBookMetaDataDisplay display
private JLabel lblDesc
private static final long serialVersionUID
Constructor Detail |
---|
public SitePane()
public SitePane(Installer bookListInstaller)
private SitePane(Installer bookListInstaller, String labelAcronymn)
Method Detail |
---|
private void initialize(String labelAcronymn, BookList books)
private void updateDescription()
private Component createSplitPane(Component left, Component right)
private Component createAvailablePanel(String labelAcronymn, BookList books)
private Component createSelectedPanel()
private Component createScrolledTree(BookList books)
private TreeModel createTreeModel(BookList books)
private Book getBook(Object anObj)
private Component createPanelActions()
public void doDelete()
public void doUnindex()
public void doRefresh()
public void doInstall()
public void doInstallSearch()
protected void selected()
public void setTreeModel(BookList books)
|
Copyright ? 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |