All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.InvisibleHTMLLink

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----symantec.itools.awt.InvisibleButton
                           |
                           +----symantec.itools.awt.InvisibleHTMLLink

public class InvisibleHTMLLink
extends InvisibleButton
Use this component to create an invisible rectangular button, usually within an image, that displays the document at a given URL when clicked.


Variable Index

 o context
Applet context that shows the document.
 o frame
Frame specifier for showing a URL document in a browser or applet viewer.
 o url
The URL of the document to show when the button is clicked.

Constructor Index

 o InvisibleHTMLLink()
Constructs a default InvisibleHTMLLink.

Method Index

 o action(Event, Object)
Handles internal actions for this component.
 o getFrame()
Gets the frame specifier for showing a URL document in a browser or applet viewer.
 o getURL()
Returns the URL of the document to show when the button is clicked.
 o setAppletContext(AppletContext)
Sets the applet context used to view documents.
 o setFrame(String)
Sets the frame specifier for showing a URL document in a browser or applet viewer.
 o setURL(URL)
Sets the URL of the document to show when the button is clicked.
 o validate()
Ensures that this component is laid out properly, as needed.

Variables

 o url
  protected URL url
The URL of the document to show when the button is clicked.

 o context
  protected AppletContext context
Applet context that shows the document.

 o frame
  protected String frame
Frame specifier for showing a URL document in a browser or applet viewer. It is interpreted as follows:

Constructors

 o InvisibleHTMLLink
  public InvisibleHTMLLink()
Constructs a default InvisibleHTMLLink.

Methods

 o getURL
  public URL getURL()
Returns the URL of the document to show when the button is clicked.

See Also:
setURL
 o setURL
  public void setURL(URL u)
Sets the URL of the document to show when the button is clicked.

Parameters:
u - the URL
See Also:
getURL
 o setFrame
  public void setFrame(String f)
Sets the frame specifier for showing a URL document in a browser or applet viewer. It is interpreted as follows:

Parameters:
f - the frame specifier
See Also:
getFrame
 o getFrame
  public String getFrame()
Gets the frame specifier for showing a URL document in a browser or applet viewer. It is interpreted as follows:

Returns:
the frame specifier
See Also:
setFrame
 o action
  public boolean action(Event event,
                        Object what)
Handles internal actions for this component. This is a standard Java AWT method which usually gets called by the AWT method handleEvent() in response to receiving an ACTION_EVENT event. In those cases the what parameter contains the value in the event's arg field.

Parameters:
e - the event that caused this action
o - the action
Returns:
true if the action was handled
Overrides:
action in class Component
See Also:
handleEvent
 o validate
  public void validate()
Ensures that this component is laid out properly, as needed. This is a standard Java AWT method which gets called by the AWT to make sure this component and its subcomponents have a valid layout. If this component was made invalid with a call to invalidate(), then it is laid out again. It is overridden here to locate the applet containing this component.

Overrides:
validate in class Component
See Also:
invalidate
 o setAppletContext
  protected void setAppletContext(AppletContext c)
Sets the applet context used to view documents.

Parameters:
c - the new applet context

All Packages  Class Hierarchy  This Package  Previous  Next  Index