All Packages Class Hierarchy This Package Previous Next Index
Class JBMSTours.PictureFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----JBMSTours.PictureFrame
- public class PictureFrame
- extends Frame
Look at the Source.
The frame for the picture, which loads the image and places
it onto the canvas. Uses minimal AWT code.. Used by Cloudview to display
Picture objects.
-
PictureFrame(String, byte[])
- Constructor.
-
PictureFrame(String, String)
- Takes the name and a URL.
-
paint(Graphics)
- Paint the picture.
-
trackSizeAndShow()
- A utility method.
-
update(Graphics)
- Update it.
PictureFrame
public PictureFrame(String name,
byte im[]) throws Exception
- Constructor. Takes a name and byte array.
- Throws: Exception
- if there's a problem creating the PictureFrame.
PictureFrame
public PictureFrame(String name,
String url) throws Exception
- Takes the name and a URL.
- Throws: Exception
- if there's a problem creating the PictureFrame.
trackSizeAndShow
public void trackSizeAndShow() throws Exception
- A utility method.
- Throws: Exception
- if there's a problem creating the PictureFrame.
paint
public void paint(Graphics g)
- Paint the picture.
- Overrides:
- paint in class Container
update
public void update(Graphics g)
- Update it.
- Overrides:
- update in class Container
All Packages Class Hierarchy This Package Previous Next Index