All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.hdf.jhv.JHVImageFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----ncsa.hdf.jhv.JHVImageFrame
- public class JHVImageFrame
- extends Frame
- implements ItemListener, ActionListener, AdjustmentListener
This class displays an image in seprate window. More image processing is here.
- Version:
- 1.50 9/6/97
-
BACKWARD
-
-
DIGIT_VALUE
-
-
FORWARD
-
-
HISTOGRAM_PLOT
-
-
NEXT
- the constants of the animation operation
-
NONE_PLOT
-
-
NONE_VALUE
-
-
PIXEL_VALUE
-
-
PREVIOUS
-
-
RADIAL_PLOT
-
-
zoomFactor
-
-
JHVImageFrame(JHVCanvas, Rectangle)
- Create the seprate frame based on the HDF browser's image canvas.
-
JHVImageFrame(JHVCanvas, SDSDimInfo, Rectangle)
- Create the seprate frame based on the HDF browser's image canvas.
-
actionPerformed(ActionEvent)
- Handles Button Events
-
adjustmentValueChanged(AdjustmentEvent)
- Handles the event.
-
buttonDisable()
- Disables annimated button
-
buttonEnable()
- Enables annimated button
-
close()
-
-
createContourMenu(String)
- create a image contour menu by provoded title
-
createDisplayItems()
- create new GUI for ImageFrame
-
createEditMenu(String)
- create a edit menu by provoded title such like bright/contrast ...
-
createFileMenu(String)
- create a file menu by provoded title
-
createFilterMenu(String)
- create a image filter menu by provoded title
-
createImageMenu(String)
- create a image process menu by provoded title such like bright/contrast ...
-
createJHVImageMenuBar()
- create menubar for JHV image viewer
-
createPaletteMenu(String)
- create a palette menu by provoded title
-
createPlotMenu(String)
- create a plot menu by provoded title
-
createViewMenu(String)
- create a view menu by provoded title
-
handleContourMenuEvent(String)
-
-
handleEditMenuEvent(String)
-
-
handleFilterEvent(String)
-
-
handleImageMenuEvent(String)
-
-
handleMenuEvent(String)
-
-
handlePaletteMenuEvent(String)
-
-
handlePlotMenuEvent(CheckboxMenuItem)
-
-
handleTextFieldEvent(TextField, String)
-
-
handleViewMenuEvent(CheckboxMenuItem)
-
-
itemStateChanged(ItemEvent)
-
-
openNewPalette()
-
-
popup()
- popup the new frame actually
-
set_Cursor(Cursor)
-
-
setImage(int)
- set the action flag for displaying the image
-
setImageFilter(ImageFilter)
-
-
setNewPalette()
-
-
setSliceInfo(SDSDimInfo)
-
-
setSubsetRange(Rectangle)
-
-
setTitle()
- setup the frame tittle
NEXT
public static final int NEXT
- the constants of the animation operation
PREVIOUS
public static final int PREVIOUS
BACKWARD
public static final int BACKWARD
FORWARD
public static final int FORWARD
zoomFactor
public float zoomFactor
NONE_VALUE
public static final int NONE_VALUE
PIXEL_VALUE
public static final int PIXEL_VALUE
DIGIT_VALUE
public static final int DIGIT_VALUE
NONE_PLOT
public static final int NONE_PLOT
RADIAL_PLOT
public static final int RADIAL_PLOT
HISTOGRAM_PLOT
public static final int HISTOGRAM_PLOT
JHVImageFrame
public JHVImageFrame(JHVCanvas canvas_,
Rectangle subset)
- Create the seprate frame based on the HDF browser's image canvas.
This frame will display the HDF raster image with scroll panel
- Parameters:
- app - the JHV applet name
JHVImageFrame
public JHVImageFrame(JHVCanvas canvas_,
SDSDimInfo slice,
Rectangle subset)
- Create the seprate frame based on the HDF browser's image canvas.
This frame will display the HDF raster image with scroll panel
- Parameters:
- app - the JHV applet name
setTitle
public void setTitle()
- setup the frame tittle
set_Cursor
public void set_Cursor(Cursor cursor)
createJHVImageMenuBar
public MenuBar createJHVImageMenuBar()
- create menubar for JHV image viewer
createFileMenu
public Menu createFileMenu(String menuTitle)
- create a file menu by provoded title
- Parameters:
- menuTitle - the menu title
createViewMenu
public Menu createViewMenu(String menuTitle)
- create a view menu by provoded title
- Parameters:
- menuTitle - the menu title
createPlotMenu
public Menu createPlotMenu(String menuTitle)
- create a plot menu by provoded title
- Parameters:
- menuTitle - the menu title
createEditMenu
public Menu createEditMenu(String menuTitle)
- create a edit menu by provoded title such like bright/contrast ...
- Parameters:
- menuTitle - the menu title
createPaletteMenu
public Menu createPaletteMenu(String menuTitle)
- create a palette menu by provoded title
- Parameters:
- menuTitle - the menu title
createImageMenu
public Menu createImageMenu(String menuTitle)
- create a image process menu by provoded title such like bright/contrast ...
- Parameters:
- menuTitle - the menu title
createFilterMenu
public Menu createFilterMenu(String menuTitle)
- create a image filter menu by provoded title
- Parameters:
- menuTitle - the menu title
createContourMenu
public Menu createContourMenu(String menuTitle)
- create a image contour menu by provoded title
- Parameters:
- menuTitle - the menu title
createDisplayItems
public Panel createDisplayItems()
- create new GUI for ImageFrame
setImage
public void setImage(int actionFlag) throws IOException
- set the action flag for displaying the image
- Parameters:
- actionFlag - the action flag value
- Throws: IOException
- If an I/O error has occurred.
popup
public void popup()
- popup the new frame actually
close
public void close()
buttonEnable
public void buttonEnable()
- Enables annimated button
buttonDisable
public void buttonDisable()
- Disables annimated button
handleMenuEvent
public void handleMenuEvent(String arg)
handleEditMenuEvent
public void handleEditMenuEvent(String arg)
handleViewMenuEvent
public void handleViewMenuEvent(CheckboxMenuItem item)
handlePlotMenuEvent
public void handlePlotMenuEvent(CheckboxMenuItem item)
setNewPalette
public void setNewPalette()
openNewPalette
public void openNewPalette()
handlePaletteMenuEvent
public void handlePaletteMenuEvent(String arg)
handleTextFieldEvent
public void handleTextFieldEvent(TextField target,
String arg)
setImageFilter
public void setImageFilter(ImageFilter filter)
handleImageMenuEvent
public void handleImageMenuEvent(String arg)
handleFilterEvent
public void handleFilterEvent(String arg)
handleContourMenuEvent
public void handleContourMenuEvent(String arg)
actionPerformed
public void actionPerformed(ActionEvent e)
- Handles Button Events
setSubsetRange
public void setSubsetRange(Rectangle rect)
itemStateChanged
public void itemStateChanged(ItemEvent e)
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
- Handles the event. Returns true if the event is handled and
should not be passed to the parent of this component. The default
event handler calls some helper methods to make life easier
on the programmer.
- Parameters:
- evt - the event
- See Also:
- handleEvent
setSliceInfo
public void setSliceInfo(SDSDimInfo info)
All Packages Class Hierarchy This Package Previous Next Index