JDIC API V0.8 Release 4
A B D E F G H I M 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.
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 class org.jdesktop.jdic.filetypes.AssociationAlreadyRegisteredException
Constructs an AssociationAlreadyRegisteredException object with no detail message.
AssociationAlreadyRegisteredException(String) - Constructor for class 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 class org.jdesktop.jdic.filetypes.AssociationException
Constructs an AssociationException object with no detail message.
AssociationException(String) - Constructor for class 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 class org.jdesktop.jdic.filetypes.AssociationNotRegisteredException
Constructs an AssociationNotRegisteredException object with no detail message.
AssociationNotRegisteredException(String) - Constructor for class 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.
addAction(Action) - Method in class org.jdesktop.jdic.filetypes.Association
Adds a given action to the action list of this Association.
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
Overrides the same method of java.awt.Canvas in order to paint the browser window.
addWebBrowserListener(WebBrowserListener) - Method in class org.jdesktop.jdic.browser.WebBrowser
Adds a WebBrowserEvent listener.

B

back() - Method in class org.jdesktop.jdic.browser.WebBrowser
Navigates to the previous session history item.
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 class org.jdesktop.jdic.desktop.DesktopException
Constructs a DesktopException without a detail message.
DesktopException(String) - Constructor for class org.jdesktop.jdic.desktop.DesktopException
Constructs a DesktopException with a detail message.
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.

F

forward() - Method in class org.jdesktop.jdic.browser.WebBrowser
Navigates to the next session history item.

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.
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.
getData() - Method in class org.jdesktop.jdic.browser.WebBrowserEvent
Returns the event data.
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.
getFileExtList() - Method in class org.jdesktop.jdic.filetypes.Association
Returns the file extension list 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.
getID() - Method in class org.jdesktop.jdic.browser.WebBrowserEvent
Returns the event ID.
getIconFileName() - Method in class org.jdesktop.jdic.filetypes.Association
Returns the icon file name representing this Association.
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.
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
Returns a Status object, which indicates the status of this WebBrowser object.
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
Retrieves the URL that is currently being displayed.
getVerb() - Method in class org.jdesktop.jdic.filetypes.Action
Returns the value of the verb field.

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

isBackEnabled() - Method in class org.jdesktop.jdic.browser.WebBrowser.Status
Tests whether the back navigation operation is enabled.
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.Status
Tests whether the forward navigation operation is enabled.
isInitialized() - Method in class org.jdesktop.jdic.browser.WebBrowser.Status
Tests whether the WebBrowser object is initialized successfully.
isPrintable(File) - Static method in class org.jdesktop.jdic.desktop.Desktop
Tests whether the given file could be printed.

M

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.
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.

O

open(File) - Static method in class org.jdesktop.jdic.desktop.Desktop
Launches the associated application to open the given 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. 

P

paint(Graphics) - Method in class org.jdesktop.jdic.browser.WebBrowser
Overrides the same method of java.awt.Canvas in order to paint the browser window.
print(File) - Static method in class org.jdesktop.jdic.desktop.Desktop
Prints the given file.

R

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 class org.jdesktop.jdic.filetypes.RegisterFailedException
Constructs a RegisterFailedException object with no detail message.
RegisterFailedException(String) - Constructor for class org.jdesktop.jdic.filetypes.RegisterFailedException
Constructs a RegisterFailedException object with the specified detail message.
refresh() - Method in class org.jdesktop.jdic.browser.WebBrowser
Reloads the URL that is currently being displayed in the WebBrowser component.
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.
removeFileExtension(String) - Method in class org.jdesktop.jdic.filetypes.Association
Removes the given file extension from the file extension list of this Association.
removeWebBrowserListener(WebBrowserListener) - Method in class org.jdesktop.jdic.browser.WebBrowser
Removes a WebBrowserEvent listener.

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.
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.
setDebug(boolean) - Static method in class org.jdesktop.jdic.browser.WebBrowser
Sets trace messages on or off.
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.
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.
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.
setURL() - Method in class org.jdesktop.jdic.browser.WebBrowser
Sets the document 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.
stop() - Method in class org.jdesktop.jdic.browser.WebBrowser
Stops loading of the current URL.

T

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.

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

WEBBROWSER_BEFORE_NAVIGATE - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired before a navigation occurs in the given object (on either a window or frameset element).
WEBBROWSER_BEFORE_NEWWINDOW - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when a new window is to be created.
WEBBROWSER_COMMAND_STATE_CHANGE - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when the enabled state of a command changes.
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 download.
WEBBROWSER_DOWNLOAD_PROGRESS - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when the progress of a download 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_FOCUS_REQUEST - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when WebBrowser need to get Focus.
WEBBROWSER_INIT_FAILED - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when initialization of WebBrowser fails.
WEBBROWSER_INIT_WINDOW_SUCC - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when initialization of WebBrowser Window succeeds.
WEBBROWSER_RETURN_URL - Static variable in class org.jdesktop.jdic.browser.WebBrowserEvent
Event fired when the current URL is requested by a WebBrowser object's getURL method.
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(URL) - Constructor for class org.jdesktop.jdic.browser.WebBrowser
Constructs a new WebBrowser with an URL specified.
WebBrowser.Status - Class in org.jdesktop.jdic.browser
An inner class which is used for retrieving the WebBrowser's properties, such as the initialization status, back and forward status.
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.
willOpenURL(URL) - Method in class org.jdesktop.jdic.browser.WebBrowser
Called before every navigation operation occurs.
willOpenWindow() - Method in class org.jdesktop.jdic.browser.WebBrowser
Called before every new window is to be created.

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

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.