|
||||||||||
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 | |
---|---|
(package private) class |
SitePane.CustomBooksListener
When new books are added we need to reflect 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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
private ActionFactory |
actions
actions are held by this ActionFactory |
private TextPaneBookMetaDataDisplay |
display
|
protected Installer |
installer
From which we get our list of installable books |
private JLabel |
lblDesc
|
private static long |
serialVersionUID
Serialization ID |
private JTree |
treAvailable
|
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 |
doChooseFont()
Get a font for the current selection |
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 |
doResetFont()
Resets any font specifically set for this Book / Language |
void |
doUnindex()
Delete the current book |
void |
doUnlock()
Unlock the current book |
private Book |
getBook(Object anObj)
|
private Language |
getLanguage(Object anObj)
|
private void |
initialize(String labelAcronymn,
BookList books)
Build the GUI components |
private void |
readObject(ObjectInputStream is)
Serialization support. |
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 |
---|
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 Language getLanguage(Object anObj)
private Component createPanelActions()
public void doDelete()
public void doUnlock()
public void doUnindex()
public void doRefresh()
public void doInstall()
public void doInstallSearch()
public void doChooseFont()
public void doResetFont()
protected void selected()
public void setTreeModel(BookList books)
private void readObject(ObjectInputStream is) throws IOException, ClassNotFoundException
is
-
IOException
ClassNotFoundException
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |