|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BookDataDisplay
An interface for all components that can display BookData.
Distribution Licence: JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence
Method Summary | |
---|---|
void |
addURLEventListener(URLEventListener listener)
Add a listener for when someone clicks on a browser 'link' |
void |
copy()
Copy the selection to the clipboard |
Book |
getBook()
Accessor for the Book used in the current display, or null if we are not displaying anything. |
Component |
getComponent()
Accessor for the Swing component |
Key |
getKey()
The Book Key that we are displaying, or null if we are not displaying anything |
void |
refresh()
Cause the BookData to be re-displayed. |
void |
removeURLEventListener(URLEventListener listener)
Remove a listener for when someone clicks on a browser 'link' |
void |
setBookData(Book book,
Key key)
Set the BookData to be displayed. |
Method Detail |
---|
void copy()
void addURLEventListener(URLEventListener listener)
listener
- The listener to addvoid removeURLEventListener(URLEventListener listener)
listener
- The listener to removeComponent getComponent()
void setBookData(Book book, Key key)
book
- The Book to read data fromkey
- The key to read from the given bookvoid refresh()
Key getKey()
Book getBook()
|
Copyright ? 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |