|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction net.sf.japi.swing.bookmarks.BookmarkManager.Bookmark net.sf.japi.swing.bookmarks.BookmarkManager.BookmarkItem
public class BookmarkManager.BookmarkItem
Class for Bookmark Items.
Field Summary |
---|
Fields inherited from class net.sf.japi.swing.bookmarks.BookmarkManager.Bookmark |
---|
folder |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
BookmarkManager.BookmarkItem(String title,
String url)
Create a BookmarkItem. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs. |
JMenuItem |
createMenu()
Create a MenuItem for this Bookmark |
String |
getURL()
Get this BookmarkItem's url. |
void |
setURL(String url)
Set this BookmarkItem's url. |
void |
store(Node n)
Store bookmarks in an XML Document. |
Methods inherited from class net.sf.japi.swing.bookmarks.BookmarkManager.Bookmark |
---|
children, getAllowsChildren, getChildAt, getChildCount, getFolder, getIndex, getParent, getTitle, insert, isLeaf, remove, remove, removeFromParent, setFolder, setParent, setTitle, setUserObject, toString |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BookmarkManager.BookmarkItem(String title, String url)
title
- title for this BookmarkItemurl
- URL for this BookmarkItemMethod Detail |
---|
public void setURL(String url)
url
- new url for this BookmarkItempublic String getURL()
public JMenuItem createMenu()
createMenu
in class BookmarkManager.Bookmark
public void actionPerformed(ActionEvent e)
public void store(Node n)
store
in class BookmarkManager.Bookmark
n
- Node (Element or Document) to attach to
|
JAPI Yet another Java API API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |