JDIC API V0.9 Release 3
A B D E F G H I M N O P R S T U W

A

Action - Class in org.jdesktop.jdic.filetypes
This class represents an action that could be applied to a particular file type.
Action(String, String) - Constructor for class org.jdesktop.jdic.filetypes.Action
Constructor of an Action object.
Action(String, String, String) - Constructor for class org.jdesktop.jdic.filetypes.Action
Constructor of an Action object.
addAction(Action) - Method in class org.jdesktop.jdic.filetypes.Association
Adds a given action to the action list of this Association.
addActionListener(ActionListener) - Method in class org.jdesktop.jdic.tray.TrayIcon
Adds the specified ActionListener to the list of ActionListeners for this component.
addBalloonActionListener(ActionListener) - Method in class org.jdesktop.jdic.tray.TrayIcon
Adds the specified ActionListener to the list of ActionListeners for this trayicon's balloon message.
addFileExtension(String) - Method in class org.jdesktop.jdic.filetypes.Association
Adds one file extension to the file extension list of this Association.
addNotify() - Method in class org.jdesktop.jdic.browser.WebBrowser
Creates the peer for this WebBrowser component.
addTrayIcon(TrayIcon) - Method in class org.jdesktop.jdic.tray.SystemTray
Adds a TrayIcon to the SystemTray
addWebBrowserListener(WebBrowserListener) - Method in class org.jdesktop.jdic.browser.WebBrowser
Adds a WebBrowserEvent listener to the listener list.
Association - Class in org.jdesktop.jdic.filetypes
This class represents a file type association.
Association() - Constructor for class org.jdesktop.jdic.filetypes.Association
 
AssociationAlreadyRegisteredException - Exception in org.jdesktop.jdic.filetypes
An AssociationAlreadyRegisteredException is thrown by certain methods of AssociationService while trying to add an association already existed in the system.
AssociationAlreadyRegisteredException() - Constructor for exception org.jdesktop.jdic.filetypes.AssociationAlreadyRegisteredException
Constructs an AssociationAlreadyRegisteredException object with no detail message.
AssociationAlreadyRegisteredException(String) - Constructor for exception org.jdesktop.jdic.filetypes.AssociationAlreadyRegisteredException
Constructs an AssociationAlreadyRegisteredException object with the specified detail message.
AssociationException - Exception in org.jdesktop.jdic.filetypes
The AssociationException class and its subclasses are thrown by certain methods of AssociationService to indicate the operation fails.
AssociationException() - Constructor for exception org.jdesktop.jdic.filetypes.AssociationException
Constructs an AssociationException object with no detail message.
AssociationException(String) - Constructor for exception org.jdesktop.jdic.filetypes.AssociationException
Constructs an AssociationException object with the specified detail message.
AssociationNotRegisteredException - Exception in org.jdesktop.jdic.filetypes
An AssociationNotRegisteredException is thrown by certain methods of AssociationService while trying to remove an association not existed in the system.
AssociationNotRegisteredException() - Constructor for exception org.jdesktop.jdic.filetypes.AssociationNotRegisteredException
Constructs an AssociationNotRegisteredException object with no detail message.
AssociationNotRegisteredException(String) - Constructor for exception org.jdesktop.jdic.filetypes.AssociationNotRegisteredException
Constructs an AssociationNotRegisteredException object with the specified detail message.
AssociationService - Class in org.jdesktop.jdic.filetypes
The AssociationService class provides several methods to access the file type associations.
AssociationService() - Constructor for class org.jdesktop.jdic.filetypes.AssociationService
Constructor of an AssociationService object.

B

back() - Method in class org.jdesktop.jdic.browser.WebBrowser
Navigates backward one item in the history list.
browse(URL) - Static method in class org.jdesktop.jdic.desktop.Desktop
Launches the system default browser to show the given URL.

D

Desktop - Class in org.jdesktop.jdic.desktop
The Desktop class provides several methods to interact with the system applications and facilities.
DesktopException - Exception in org.jdesktop.jdic.desktop
A DesktopException is thrown by certain methods of Desktop class to indicate that the passed paramaters are invalid or the operation fails.
DesktopException() - Constructor for exception org.jdesktop.jdic.desktop.DesktopException
Constructs a DesktopException without a detail message.
DesktopException(String) - Constructor for exception org.jdesktop.jdic.desktop.DesktopException
Constructs a DesktopException with a detail message.
displayMessage(String, String, int) - Method in class org.jdesktop.jdic.tray.TrayIcon
Displays a popup message near the tray icon.
dispose() - Method in class org.jdesktop.jdic.browser.WebBrowser
Release this instance's resource and make it undisplayable.
documentCompleted(WebBrowserEvent) - Method in interface org.jdesktop.jdic.browser.WebBrowserListener
Invoked when the document loading has been completed.
downloadCompleted(WebBrowserEvent) - Method in interface org.jdesktop.jdic.browser.WebBrowserListener
Invoked when a download operation finishes, is halted, or fails.
downloadError(WebBrowserEvent) - Method in interface org.jdesktop.jdic.browser.WebBrowserListener
Invoked when an error occurs during a download operation.
downloadProgress(WebBrowserEvent) - Method in interface org.jdesktop.jdic.browser.WebBrowserListener
Invoked when the progress of a download operation is updated.
downloadStarted(WebBrowserEvent) - Method in interface org.jdesktop.jdic.browser.WebBrowserListener
Invoked when a download operation is beginning.

E

edit(File) - Static method in class org.jdesktop.jdic.desktop.Desktop
Launches the associated editor to edit the given file.
equals(Object) - Method in class org.jdesktop.jdic.filetypes.Action
Overrides the same method of java.lang.Object.
equals(Object) - Method in class org.jdesktop.jdic.filetypes.Association
Overrides the same method of java.lang.Object.
ERROR_MESSAGE_TYPE - Static variable in class org.jdesktop.jdic.tray.TrayIcon
Used for error messages.
executeScript(String) - Method in class org.jdesktop.jdic.browser.WebBrowser
Executes specified JavaScript code in a currently opened document.

F

forward() - Method in class org.jdesktop.jdic.browser.WebBrowser
Navigates forward one item in the history list.

G

getActionByVerb(String) - Method in class org.jdesktop.jdic.filetypes.Association
Returns the action, whose verb field is the same with the specified verb.
getActionList() - Method in class org.jdesktop.jdic.filetypes.Association
Returns the action list of this Association.
getAssociationByContent(URL) - Method in class org.jdesktop.jdic.filetypes.AssociationService
Returns the association representing the file type of the file the given URL points to.
getAttachments() - Method in class org.jdesktop.jdic.desktop.Message
Gets an iterator of the message "Attachment" file list.
getBccAddrs() - Method in class org.jdesktop.jdic.desktop.Message
Gets an iterator of the message "Bcc" address list.
getBody() - Method in class org.jdesktop.jdic.desktop.Message
Gets the "Body" field of the message.
getBrowserBinary() - Static method in class org.jdesktop.jdic.browser.WebBrowser
Deprecated. As of release 0.9 of JDIC. This method was unnecessarily exposed and will be removed in a future release.
getBrowserPath() - Static method in class org.jdesktop.jdic.browser.WebBrowserUtil
Deprecated.  
getCcAddrs() - Method in class org.jdesktop.jdic.desktop.Message
Gets an iterator of the message "Cc" address list.
getCommand() - Method in class org.jdesktop.jdic.filetypes.Action
Returns the value of the command field.
getContent() - Method in class org.jdesktop.jdic.browser.WebBrowser
Returns the HTML content of a document, opened in a browser.
getData() - Method in class org.jdesktop.jdic.browser.WebBrowserEvent
Returns the event data.
getDefaultSystemTray() - Static method in class org.jdesktop.jdic.tray.SystemTray
Gets the default SystemTray for the desktop.
getDescription() - Method in class org.jdesktop.jdic.filetypes.Action
Returns the value of the description field.
getDescription() - Method in class org.jdesktop.jdic.filetypes.Association
Returns the description string of this Association.
getFileExtensionAssociation(String) - Method in class org.jdesktop.jdic.filetypes.AssociationService
Returns the association representing the file type of the given file extension.
getFileExtList() - Method in class org.jdesktop.jdic.filetypes.Association
Returns the file extension list of this Association.
getIconFileName() - Method in class org.jdesktop.jdic.filetypes.Association
Returns the icon file name representing this Association.
getID() - Method in class org.jdesktop.jdic.browser.WebBrowserEvent
Returns the event ID.
getLocationOnScreen() - Method in class org.jdesktop.jdic.tray.TrayIcon
Gets the location on screen for this TrayIcon
getMimeType() - Method in class org.jdesktop.jdic.filetypes.Association
Returns the MIME type of this Association.
getMimeTypeAssociation(String) - Method in class org.jdesktop.jdic.filetypes.AssociationService
Returns the association representing the file type of the given MIME type.
getMozillaGreHome() - Static method in class org.jdesktop.jdic.browser.WebBrowserUtil
Deprecated.  
getName() - Method in class org.jdesktop.jdic.filetypes.Association
Returns the name of the MIME files the association is stored in for Gnome/Unix platforms.
getStatus() - Method in class org.jdesktop.jdic.browser.WebBrowser
Deprecated. The WebBrowser.Status inner class is deprecated as of release 0.9 of JDIC. Its APIs have been moved to this Browser class. This API is no longer used, and will be removed in a future release.
getSubject() - Method in class org.jdesktop.jdic.desktop.Message
Gets the "Subject" field of the message.
getToAddrs() - Method in class org.jdesktop.jdic.desktop.Message
Gets an iterator of the message "To" address list.
getURL() - Method in class org.jdesktop.jdic.browser.WebBrowser
Returns the URL of the resource that is currently being displayed.
getVerb() - Method in class org.jdesktop.jdic.filetypes.Action
Returns the value of the verb field.
getWebBrowserListeners() - Method in class org.jdesktop.jdic.browser.WebBrowser
Returns an array of all the registered WebBrowser listeners.

H

hashCode() - Method in class org.jdesktop.jdic.filetypes.Action
Overrides the same method of java.lang.Object.
hashCode() - Method in class org.jdesktop.jdic.filetypes.Association
Overrides the same method of java.lang.Object.

I

INFO_MESSAGE_TYPE - Static variable in class org.jdesktop.jdic.tray.TrayIcon
Used for information messages.
isAutoDispose() - Method in class org.jdesktop.jdic.browser.WebBrowser
Return the boolean flag which indicates how to dispose this instance.
isBackEnabled() - Method in class org.jdesktop.jdic.browser.WebBrowser
Checks whether this WebBrowser object's back command is enabled.
isBackEnabled() - Method in class org.jdesktop.jdic.browser.WebBrowser.Status
Deprecated. As of release 0.9 of JDIC, replaced by WebBrowser.isBackEnabled().
isDefaultBrowserMozilla() - Static method in class org.jdesktop.jdic.browser.WebBrowserUtil
Deprecated.  
isEditable(File) - Static method in class org.jdesktop.jdic.desktop.Desktop
Tests whether the given file is editable.
isForwardEnabled() - Method in class org.jdesktop.jdic.browser.WebBrowser
Checks whether this WebBrowser object's forward command is enabled.
isForwardEnabled() - Method in class org.jdesktop.jdic.browser.WebBrowser.Status
Deprecated. As of release 0.9 of JDIC, replaced by WebBrowser.isForwardEnabled().
isInitialized() - Method in class org.jdesktop.jdic.browser.WebBrowser
Checks whether this WebBrowser object is initialized successfully.
isInitialized() - Method in class org.jdesktop.jdic.browser.WebBrowser.Status
Deprecated. As of release 0.9 of JDIC, replaced by WebBrowser.isInitialized().
isPrintable(File) - Static method in class org.jdesktop.jdic.desktop.Desktop
Tests whether the given file could be printed.

M

mail() - Static method in class org.jdesktop.jdic.desktop.Desktop
Launches the message compose window of the default mailer.
mail(Message) - Static method in class org.jdesktop.jdic.desktop.Desktop
Launches the message compose window of the default mailer, and fills in the message fields with the field values of the given Message object.
Message - Class in org.jdesktop.jdic.desktop
This class represents a message structure.
Message() - Constructor for class org.jdesktop.jdic.desktop.Message
Constructor of a Message object.

N

NONE_MESSAGE_TYPE - Static variable in class org.jdesktop.jdic.tray.TrayIcon
No icon is used.

O

open(File) - Static method in class org.jdesktop.jdic.desktop.Desktop
Launches the associated application to open a file
org.jdesktop.jdic.browser - package org.jdesktop.jdic.browser
Provides an AWT component to enable the embedding of a web browsing component into Java applications and applets.
org.jdesktop.jdic.desktop - package org.jdesktop.jdic.desktop
Provides classes for accessing desktop applications and facilities. 
org.jdesktop.jdic.filetypes - package org.jdesktop.jdic.filetypes
Provides classes for associating applications with file types and accessing a registered file type association. 
org.jdesktop.jdic.tray - package org.jdesktop.jdic.tray
Provides classes for creating tray icons on the desktop.

P

print(File) - Static method in class org.jdesktop.jdic.desktop.Desktop
Prints the given file.

R

refresh() - Method in class org.jdesktop.jdic.browser.WebBrowser
Reloads the URL that is currently displayed in the WebBrowser component.
RegisterFailedException - Exception in org.jdesktop.jdic.filetypes
A RegisterFailedException is thrown by certain methods of AssociationService while the registeration or unregisteration operation fails.
RegisterFailedException() - Constructor for exception org.jdesktop.jdic.filetypes.RegisterFailedException
Constructs a RegisterFailedException object with no detail message.
RegisterFailedException(String) - Constructor for exception org.jdesktop.jdic.filetypes.RegisterFailedException
Constructs a RegisterFailedException object with the specified detail message.
registerSystemAssociation(Association) - Method in class org.jdesktop.jdic.filetypes.AssociationService
Registers the given association in the system level.
registerUserAssociation(Association) - Method in class org.jdesktop.jdic.filetypes.AssociationService
Registers the given association in the user specific level.
removeAction(Action) - Method in class org.jdesktop.jdic.filetypes.Association
Removes a given action from the action list of this Association.
removeActionListener(ActionListener) - Method in class org.jdesktop.jdic.tray.TrayIcon
Removes the specified ActionListener from the list of ActionListeners for this component.
removeBalloonActionListener(ActionListener) - Method in class org.jdesktop.jdic.tray.TrayIcon
Removes the specified ActionListener from the list of ActionListeners for this trayicon's balloon message.
removeFileExtension(String) - Method in class org.jdesktop.jdic.filetypes.Association
Removes the given file extension from the file extension list of this Association.
removeNotify() - Method in class org.jdesktop.jdic.browser.WebBrowser
Makes this WebBrowser component undisplayable by destroying it native screen resource if the isAutoDispose() returns true.
removeTrayIcon(TrayIcon) - Method in class org.jdesktop.jdic.tray.SystemTray
Removes the specified TrayIcon from the SystemTray
removeWebBrowserListener(WebBrowserListener) - Method in class org.jdesktop.jdic.browser.WebBrowser
Removes a WebBrowserEvent listener from the listener list.

S

setAttachments(List) - Method in class org.jdesktop.jdic.desktop.Message
Sets the message "Attachments" field.
setBccAddrs(List) - Method in class org.jdesktop.jdic.desktop.Message
Sets the message "Bcc" address list.
setBody(String) - Method in class org.jdesktop.jdic.desktop.Message
Sets the message "Body" field.
setBounds(int, int, int, int) - Method in class org.jdesktop.jdic.browser.WebBrowser
Moves and resizes this component.
setCaption(String) - Method in class org.jdesktop.jdic.tray.TrayIcon
Sets the caption for this TrayIcon.
setCcAddrs(List) - Method in class org.jdesktop.jdic.desktop.Message
Sets the message "Cc" address list.
setCommand(String) - Method in class org.jdesktop.jdic.filetypes.Action
Sets the command field.
setContent(String) - Method in class org.jdesktop.jdic.browser.WebBrowser
Sets new HTML content.
setDebug(boolean) - Static method in class org.jdesktop.jdic.browser.WebBrowser
Enables or disables debug message output.
setDescription(String) - Method in class org.jdesktop.jdic.filetypes.Action
Sets the description field.
setDescription(String) - Method in class org.jdesktop.jdic.filetypes.Association
Sets the description string of this Association.
setIcon(Icon) - Method in class org.jdesktop.jdic.tray.TrayIcon
Sets the icon for this TrayIcon.
setIconAutoSize(boolean) - Method in class org.jdesktop.jdic.tray.TrayIcon
Sets the auto-size property.
setIconFileName(String) - Method in class org.jdesktop.jdic.filetypes.Association
Sets the icon file name representing this Association.
setMimeType(String) - Method in class org.jdesktop.jdic.filetypes.Association
Sets the MIME type of this Association.
setName(String) - Method in class org.jdesktop.jdic.filetypes.Association
Returns the name of the MIME files the association is stored in for Gnome/Unix platforms.
setPopupMenu(JPopupMenu) - Method in class org.jdesktop.jdic.tray.TrayIcon
Sets the PopupMenu for this TrayIcon.
setSubject(String) - Method in class org.jdesktop.jdic.desktop.Message
Sets the message "Subject" field.
setToAddrs(List) - Method in class org.jdesktop.jdic.desktop.Message
Sets the message "To" address list.
setToolTip(String) - Method in class org.jdesktop.jdic.tray.TrayIcon
Sets the ToolTip string for this TrayIcon.
setURL() - Method in class org.jdesktop.jdic.browser.WebBrowser
Sets the loaded page to be a blank page.
setURL(URL) - Method in class org.jdesktop.jdic.browser.WebBrowser
Navigates to a resource identified by an URL using HTTP GET method.
setURL(URL, String) - Method in class org.jdesktop.jdic.browser.WebBrowser
Navigates to a resource identified by an URL using HTTP POST method.
setVerb(String) - Method in class org.jdesktop.jdic.filetypes.Action
Sets the verb field.
statusTextChange(WebBrowserEvent) - Method in interface org.jdesktop.jdic.browser.WebBrowserListener
Invoked when the status bar text is changed.
stop() - Method in class org.jdesktop.jdic.browser.WebBrowser
Stops any page loading and rendering activities.
SystemTray - Class in org.jdesktop.jdic.tray
The SystemTray class represents the System Tray for a desktop.

T

titleChange(WebBrowserEvent) - Method in interface org.jdesktop.jdic.browser.WebBrowserListener
Invoked when the title of a document is changed.
toString() - Method in class org.jdesktop.jdic.filetypes.Action
Overrides the same method of java.lang.Object.
toString() - Method in class org.jdesktop.jdic.filetypes.Association
Overrides the same method of java.lang.Object.
TrayIcon - Class in org.jdesktop.jdic.tray
The TrayIcon class represents a tray Icon that can be added to a System tray.
TrayIcon(Icon) - Constructor for class org.jdesktop.jdic.tray.TrayIcon
TrayIcon constructor - creates a TrayIcon with the specified Icon
TrayIcon(Icon, String) - Constructor for class org.jdesktop.jdic.tray.TrayIcon
TrayIcon constructor - creates a TrayIcon with the specified Icon and the specified caption.
TrayIcon(Icon, String, JPopupMenu) - Constructor for class org.jdesktop.jdic.tray.TrayIcon
TrayIcon constructor - creates a TrayIcon with the specified Icon the specified caption and Popup menu.

U

unregisterSystemAssociation(Association) - Method in class org.jdesktop.jdic.filetypes.AssociationService
Unregisters the given association in the system level.
unregisterUserAssociation(Association) - Method in class org.jdesktop.jdic.filetypes.AssociationService
Unregisters the given association in the user specific level.

W

WARNING_MESSAGE_TYPE - Static variable in class org.jdesktop.jdic.tray.TrayIcon
Used for warning messages.
WebBrowser - Class in org.jdesktop.jdic.browser
A WebBrowser component represents a blank rectangular area of the screen onto which the application can display webpages or from which the application can trap events from the browser window.
WebBrowser() - Constructor for class org.jdesktop.jdic.browser.WebBrowser
Constructs a new WebBrowser object with no URL specified.
WebBrowser(boolean) - Constructor for class org.jdesktop.jdic.browser.WebBrowser
Constructs a new WebBrowser object with the specified boolean value autoDispose as the flag which indicates whether this instance will automatically dispose itself in removeNotify() or should be disposed by the developer directly calling dispose().
WebBrowser(URL) - Constructor for class org.jdesktop.jdic.browser.WebBrowser
Constructs a new WebBrowser with an URL specified.
WebBrowser(URL, boolean) - Constructor for class org.jdesktop.jdic.browser.WebBrowser
Constructs a new WebBrowser with an specified URL and boolean flag to indicate the dispose schema.
WebBrowser.Status - Class in org.jdesktop.jdic.browser
Deprecated. As of release 0.9 of JDIC. Its APIs have been moved to org.jdesktop.jdic.browser.WebBrowser class. Will be removed in a future release.
WEBBROWSER_DOCUMENT_COMPLETED - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when the document has loaded completely.
WEBBROWSER_DOWNLOAD_COMPLETED - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when a navigation operation finishes, is halted, or fails.
WEBBROWSER_DOWNLOAD_ERROR - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when an error occurs during a navigation operation.
WEBBROWSER_DOWNLOAD_PROGRESS - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when the progress of a navigation operation is updated on the object.
WEBBROWSER_DOWNLOAD_STARTED - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when a navigation operation is beginning.
WEBBROWSER_STATUSTEXT_CHANGE - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when the status bar text changes.
WEBBROWSER_TITLE_CHANGE - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when the title of a document changes.
WebBrowserEvent - Class in org.jdesktop.jdic.browser
A WebBrowserEvent is dispatched by a WebBrowser object to indicate a defined WebBrowser event occured.
WebBrowserEvent(WebBrowser, int) - Constructor for class org.jdesktop.jdic.browser.WebBrowserEvent
Constructs a WebBrowserEvent object with source and event id.
WebBrowserEvent(WebBrowser, int, String) - Constructor for class org.jdesktop.jdic.browser.WebBrowserEvent
Constructs a WebBrowserEvent object with source, event id and event data.
WebBrowserListener - Interface in org.jdesktop.jdic.browser
The listener interface for receiving WebBrowser events.
WebBrowserUtil - Class in org.jdesktop.jdic.browser
Deprecated. As of release 0.9 of JDIC. It was meant as an inner class, but was marked "public" due to a coding error. It will be removed in a future release.
WebBrowserUtil() - Constructor for class org.jdesktop.jdic.browser.WebBrowserUtil
Deprecated.  
willOpenURL(URL) - Method in class org.jdesktop.jdic.browser.WebBrowser
Called before a navigation occurs.
willOpenWindow() - Method in class org.jdesktop.jdic.browser.WebBrowser
Called when a new window is to be created for displaying a resource.

A B D E F G H I M N O P R S T U W
JDIC API V0.9 Release 3

For more information and documentation on JDIC, see JDIC website.

That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, working code examples, license terms and bug report information.

Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.