Methods Summary |
---|
public void | enter()The status message area is updated to show the destination URL.
showStatus((anchor != null)
? "Go To " + anchor.toExternalForm()
: null);
|
public void | exit()The status message area is updated to show the destination URL.
showStatus(null);
|
public void | handleArg(java.lang.String arg)The argument string is the URL to be fetched.
try {
anchor = new URL(parent.getDocumentBase(), arg);
} catch (MalformedURLException e) {
anchor = null;
}
|
public boolean | isTerminal()The isTerminal method indicates whether events should propagate
to the areas underlying this one.
return true;
|
public boolean | lift(int x, int y)The new URL is fetched when the user releases the mouse button
only if they are still in the area.
if (inside(x, y) && anchor != null) {
showDocument(anchor);
}
return true;
|