All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.hdf.awt.ScrollingPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----ncsa.hdf.awt.ScrollingPanel
- public class ScrollingPanel
- extends Panel
- implements AdjustmentListener
A panel containing a scrolling image canvas and scrollbars.
-
ScrollingPanel()
- Create a separate panel based on the image canvas.
-
ScrollingPanel(Image)
- Create a separate panel based on the image canvas.
-
ScrollingPanel(int, int)
- Create a separate panel based on the image canvas.
-
adjustmentValueChanged(AdjustmentEvent)
-
-
getMinimumSize()
-
-
getPreferredSize()
-
-
imageUpdate(Image, int, int, int, int, int)
-
-
setBounds(int, int, int, int)
-
-
setImage(Image)
- Set the image to be displayed on the panel.
-
setImage(Image, int, int)
- Set the image to be displayed on the panel by provided image size
-
setImageSize(float)
- Set the image size
-
setSize(Dimension)
-
-
setSize(int, int)
- All sizing methods are overridden as debugging aids.
ScrollingPanel
public ScrollingPanel(Image image)
- Create a separate panel based on the image canvas.
This panel will contain the image canvas and scrollbars
ScrollingPanel
public ScrollingPanel()
- Create a separate panel based on the image canvas.
This panel will contain the image canvas and scrollbars
ScrollingPanel
public ScrollingPanel(int width,
int height)
- Create a separate panel based on the image canvas.
This panel will contain the image canvas and scrollbars
setImage
public void setImage(Image image)
- Set the image to be displayed on the panel.
- Parameters:
- java.awt.Image - The image object to display
setImage
public void setImage(Image image,
int w,
int h)
- Set the image to be displayed on the panel by provided image size
- Parameters:
- java.awt.Image - The image object to display
setImageSize
public void setImageSize(float factor)
- Set the image size
imageUpdate
public boolean imageUpdate(Image img,
int infoflags,
int x,
int y,
int width,
int height)
- Overrides:
- imageUpdate in class Component
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
setSize
public void setSize(int width,
int height)
- All sizing methods are overridden as debugging aids.
- Overrides:
- setSize in class Component
setSize
public void setSize(Dimension d)
- Overrides:
- setSize in class Component
setBounds
public void setBounds(int x,
int y,
int width,
int height)
- Overrides:
- setBounds in class Component
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class Container
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Container
All Packages Class Hierarchy This Package Previous Next Index