Class browser.AppletDisplayItem
All Packages This Package Previous Next
Class browser.AppletDisplayItem
java.lang.Object
|
+----browser.Observable
|
+----awt.DisplayItem
|
+----browser.AppletDisplayItem
-
public class
AppletDisplayItem
-
extends DisplayItem
-
implements Alignable
Class AppletDisplayItem is created as a place holder for all
applets that appear in hotjava-aware html documents.
-
Version:
-
1.26, 11 May 1995
-
Author:
-
Arthur van Hoff
-
BORDER
-
Thickness of the load-status icon border.
-
CREATED
-
-
DEFAULT_SIZE
-
Size of status icons + border.
-
DESTROYED
-
-
ERROR
-
-
INITIALIZING
-
-
LOADED
-
-
LOADING
-
-
STARTED
-
-
STOPPED
-
-
appletDelayedImage
-
"Applet Delayed" icon.
-
appletFailedImage
-
"Applet Failed" icon.
-
appletLoadingImage
-
"Applet Loading" icon.
-
AppletDisplayItem(DisplayItemWindow, URL, TagRef)
-
Creates an applet display item, if possible use the width/height
attributes to resize to the proper initial size.
-
destroy()
-
Destroy the applet
-
getAlign()
-
Get alignment for formatting.
-
getStatus()
-
Get the status of the applet.
-
gotFocus()
-
Got focus
-
init()
-
Initialize the applet.
-
keyPressed(int)
-
KeyPressed
-
load()
-
Load the applet
-
lostFocus()
-
Lost focus
-
paint(Window, int, int)
-
Paint the applet, after damage.
-
paint(Graphics)
-
Paint the applet, given a graphics context.
-
requestUpdate()
-
-
start()
-
Start the applet
-
stop()
-
Stop the applet
-
trackEnter(Event)
-
Mouse enter
-
trackExit(Event)
-
Mouse exit
-
trackMotion(Event)
-
Mouse move
-
trackStart(Event)
-
Mouse down
-
trackStop(Event)
-
Mouse up
-
update(Window, int, int)
-
Paint the applet, after damage.
-
update(Graphics)
-
Paint the applet, given a graphics context.
CREATED
public final static int CREATED
LOADING
public final static int LOADING
LOADED
public final static int LOADED
INITIALIZING
public final static int INITIALIZING
STARTED
public final static int STARTED
STOPPED
public final static int STOPPED
DESTROYED
public final static int DESTROYED
ERROR
public final static int ERROR
BORDER
public final static int BORDER
-
Thickness of the load-status icon border.
DEFAULT_SIZE
public final static int DEFAULT_SIZE
-
Size of status icons + border.
appletDelayedImage
public static Image appletDelayedImage
-
"Applet Delayed" icon.
appletFailedImage
public static Image appletFailedImage
-
"Applet Failed" icon.
appletLoadingImage
public static Image appletLoadingImage
-
"Applet Loading" icon.
AppletDisplayItem
public AppletDisplayItem(DisplayItemWindow parent,
URL documentURL,
TagRef tag)
-
Creates an applet display item, if possible use the width/height
attributes to resize to the proper initial size.
getStatus
public final int getStatus()
-
Get the status of the applet.
getAlign
public int getAlign()
-
Get alignment for formatting.
requestUpdate
public void requestUpdate()
load
public void load()
-
Load the applet
init
public void init()
-
Initialize the applet. This should be called after
the parent of the display item is set. The font will
be the default font of the applet.
start
public void start()
-
Start the applet
stop
public void stop()
-
Stop the applet
destroy
public void destroy()
-
Destroy the applet
paint
public void paint(Window w,
int x,
int y)
-
Paint the applet, after damage.
-
Overrides:
-
paint in class DisplayItem
update
public void update(Window w,
int x,
int y)
-
Paint the applet, after damage.
-
Overrides:
-
update in class DisplayItem
paint
public void paint(Graphics g)
-
Paint the applet, given a graphics context.
update
public void update(Graphics g)
-
Paint the applet, given a graphics context.
trackStart
public void trackStart(Event e)
-
Mouse down
-
Overrides:
-
trackStart in class DisplayItem
trackMotion
public void trackMotion(Event e)
-
Mouse move
-
Overrides:
-
trackMotion in class DisplayItem
trackStop
public void trackStop(Event e)
-
Mouse up
-
Overrides:
-
trackStop in class DisplayItem
trackEnter
public void trackEnter(Event e)
-
Mouse enter
-
Overrides:
-
trackEnter in class DisplayItem
trackExit
public void trackExit(Event e)
-
Mouse exit
-
Overrides:
-
trackExit in class DisplayItem
gotFocus
public void gotFocus()
-
Got focus
-
Overrides:
-
gotFocus in class DisplayItem
lostFocus
public void lostFocus()
-
Lost focus
-
Overrides:
-
lostFocus in class DisplayItem
keyPressed
public void keyPressed(int key)
-
KeyPressed
-
Overrides:
-
keyPressed in class DisplayItem
All Packages This Package Previous Next