站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.awt.image.ImageObserver - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Interface
java.awt.image.ImageObserver

Packages that use ImageObserver
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.image Provides classes for creating and modifying images. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.colorchooser Contains classes and interfaces used by the JColorChooser component. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
javax.swing.table Provides classes and interfaces for dealing with java.awt.swing.JTable. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.tree Provides classes and interfaces for dealing with java.awt.swing.JTree. 
 

Uses of ImageObserver in java.applet
 

Classes in java.applet that implement ImageObserver
 class Applet
          An applet is a small program that is intended not to be run on its own, but rather to be embedded inside another application.
 

Uses of ImageObserver in java.awt
 

Classes in java.awt that implement ImageObserver
 class Button
          This class creates a labeled button.
 class Canvas
          A Canvas component represents a blank rectangular area of the screen onto which the application can draw or from which the application can trap input events from the user.
 class Checkbox
          A check box is a graphical component that can be in either an "on" (true) or "off" (false) state.
 class Choice
          The Choice class presents a pop-up menu of choices.
 class Component
          A component is an object having a graphical representation that can be displayed on the screen and that can interact with the user.
 class Container
          A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT components.
 class Dialog
          A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.
 class FileDialog
          The FileDialog class displays a dialog window from which the user can select a file.
 class Frame
          A Frame is a top-level window with a title and a border.
 class Label
          A Label object is a component for placing text in a container.
 class List
          The List component presents the user with a scrolling list of text items.
 class Panel
          Panel is the simplest container class.
 class Scrollbar
          The Scrollbar class embodies a scroll bar, a familiar user-interface object.
 class ScrollPane
          A container class which implements automatic horizontal and/or vertical scrolling for a single child component.
 class TextArea
          A TextArea object is a multi-line region that displays text.
 class TextComponent
          The TextComponent class is the superclass of any component that allows the editing of some text.
 class TextField
          A TextField object is a text component that allows for the editing of a single line of text.
 class Window
          A Window object is a top-level window with no borders and no menubar.
 

Methods in java.awt with parameters of type ImageObserver
 boolean Component.prepareImage(Image image, ImageObserver observer)
          Prepares an image for rendering on this component.
 boolean Component.prepareImage(Image image, int width, int height, ImageObserver observer)
          Prepares an image for rendering on this component at the specified width and height.
 int Component.checkImage(Image image, ImageObserver observer)
          Returns the status of the construction of a screen representation of the specified image.
 int Component.checkImage(Image image, int width, int height, ImageObserver observer)
          Returns the status of the construction of a screen representation of the specified image.
abstract  boolean Graphics.drawImage(Image img, int x, int y, ImageObserver observer)
          Draws as much of the specified image as is currently available.
abstract  boolean Graphics.drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)
          Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
abstract  boolean Graphics.drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)
          Draws as much of the specified image as is currently available.
abstract  boolean Graphics.drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
          Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
abstract  boolean Graphics.drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
          Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
abstract  boolean Graphics.drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
          Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
abstract  boolean Toolkit.prepareImage(Image image, int width, int height, ImageObserver observer)
          Prepares an image for rendering.
abstract  int Toolkit.checkImage(Image image, int width, int height, ImageObserver observer)
          Indicates the construction status of a specified image that is being prepared for display.
abstract  int Image.getWidth(ImageObserver observer)
          Determines the width of the image.
abstract  int Image.getHeight(ImageObserver observer)
          Determines the height of the image.
abstract  Object Image.getProperty(String name, ImageObserver observer)
          Gets a property of this image by name.
abstract  boolean Graphics2D.drawImage(Image img, AffineTransform xform, ImageObserver obs)
          Renders an image, applying a transform from image space into user space before drawing.
 

Uses of ImageObserver in java.awt.image
 

Methods in java.awt.image with parameters of type ImageObserver
 int BufferedImage.getWidth(ImageObserver observer)
          Returns the actual width of the image.
 int BufferedImage.getHeight(ImageObserver observer)
          Returns the actual height of the image.
 Object BufferedImage.getProperty(String name, ImageObserver observer)
          Returns a property of the image by name.
 

Uses of ImageObserver in javax.swing
 

Classes in javax.swing that implement ImageObserver
 class AbstractButton
          Defines the common behaviors for the JButton, JToggleButton, JCheckbox, and the JRadioButton classes.
 class Box
          A lightweight container that uses a BoxLayout object as its layout manager.
static class Box.Filler
          An implementation of a lightweight component that participates in layout but has no view.
 class CellRendererPane
          This class is inserted in between cell renderers and the components that use them.
 class DefaultListCellRenderer
          Renders an item in a list.
static class DefaultListCellRenderer.UIResource
          A subclass of DefaultListCellRenderer that implements UIResource.
 class JApplet
          An extended version of java.applet.Applet that adds support for interposing input and painting behavior in front of the applets children (see glassPane), support for special children that are managed by a LayeredPane (see rootPane) and for Swing MenuBars.
 class JButton
          An implementation of a "push" button.
 class JCheckBox
          An implementation of a CheckBox -- an item that can be selected or deselected, and which displays its state to the user.
 class JCheckBoxMenuItem
          A menu item that can be selected or deselected.
 class JColorChooser
          JColorChooser provides a pane of controls designed to allow a user to manipulate and select a color.
 class JComboBox
          Swing's implementation of a ComboBox -- a combination of a text field and drop-down list that lets the user either type in a value or select it from a list that is displayed when the user asks for it.
 class JComponent
          The base class for the Swing components.
 class JDesktopPane
          A container used to create a multiple-document interface or a virtual desktop.
 class JDialog
          The main class for creating a dialog window.
 class JEditorPane
          A text component to edit various kinds of content.
 class JFileChooser
          JFileChooser provides a simple mechanism for the user to chooser a file.
 class JFrame
          An extended version of java.awt.Frame that adds support for interposing input and painting behavior in front of the frame's children (see glassPane), support for special children that are managed by a LayeredPane (see rootPane) and for Swing MenuBars.
 class JInternalFrame
          A lightweight object that provides many of the features of a native frame, including dragging, closing, becoming an icon, resizing, title display, and support for a menu bar.
static class JInternalFrame.JDesktopIcon
          This component represents an iconified version of a JInternalFrame.
 class JLabel
          A display area for a short text string or an image, or both.
 class JLayeredPane
          JLayeredPane adds depth to a JFC/Swing container, allowing components to overlap each other when needed.
 class JList
          A component that allows the user to select one or more objects from a list.
 class JMenu
          An implementation of a menu -- a popup window containing JMenuItems that is displayed when the user selects an item on the JMenuBar.
 class JMenuBar
          An implementation of a MenuBar.
 class JMenuItem
          An implementation of a MenuItem.
 class JOptionPane
          JOptionPane makes it easy to pop up a standard dialog box that prompts users for a value or informs them of something.
 class JPanel
          JPanel is a generic lightweight container.
 class JPasswordField
          JPasswordField is a lightweight component that allows the editing of a single line of text where the view indicates something was typed, but does not show the original characters.
 class JPopupMenu
          An implementation of a Popup Menu -- a small window which pops up and displays a series of choices.
static class JPopupMenu.Separator
          A popupmenu-specific separator.
 class JProgressBar
          A component that displays an integer value within a bounded interval.
 class JRadioButton
          An implementation of a radio button -- an item that can be selected or deselected, and which displays its state to the user.
 class JRadioButtonMenuItem
          An implementation of a RadioButtonMenuItem.
 class JRootPane
          The fundamental component in the container hierarchy.
 class JScrollBar
          An implementation of a scrollbar.
 class JScrollPane
          A specialized container that manages a viewport, optional vertical and horizontal scrollbars, and optional row and column heading viewports.
protected  class JScrollPane.ScrollBar
          By default JScrollPane creates scrollbars that are instances of this class.
 class JSeparator
          An implementation of a Menu Separator -- a divider between menu items that breaks them up into logical groupings.
 class JSlider
          A component that lets the user graphically select a value by slding a knob within a bounded interval.
 class JSplitPane
          JSplitPane is used to divide two (and only two) Components.
 class JTabbedPane
          A component which lets the user switch between a group of components by clicking on a tab with a given title and/or icon.
 class JTable
          JTable is a user-interface component that presents data in a two-dimensional table format.
 class JTextArea
          A TextArea is a multi-line area that displays plain text.
 class JTextField
          JTextField is a lightweight component that allows the editing of a single line of text.
 class JTextPane
          A text component that can be marked up with attributes that are represented graphically.
 class JToggleButton
          An implementation of a two-state button.
 class JToolBar
          JToolBar provides a component which is useful for displaying commonly used Actions or controls.
static class JToolBar.Separator
          A toolbar-specific separator.
 class JToolTip
          Used to display a "Tip" for a Component.
 class JTree
          A control that displays a set of hierarchical data as an outline.
 class JViewport
          The "viewport" or "porthole" through which you see the underlying information.
 class JWindow
          A JWindow is a container that can be displayed anywhere on the user's desktop.
 

Methods in javax.swing that return ImageObserver
 ImageObserver ImageIcon.getImageObserver()
          Return the umage observer for the image
 

Methods in javax.swing with parameters of type ImageObserver
 boolean DebugGraphics.drawImage(Image img, int x, int y, ImageObserver observer)
          Overrides Graphics.drawImage.
 boolean DebugGraphics.drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)
          Overrides Graphics.drawImage.
 boolean DebugGraphics.drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)
          Overrides Graphics.drawImage.
 boolean DebugGraphics.drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
          Overrides Graphics.drawImage.
 boolean DebugGraphics.drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
          Overrides Graphics.drawImage.
 boolean DebugGraphics.drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
          Overrides Graphics.drawImage.
 void ImageIcon.setImageObserver(ImageObserver observer)
          Set the image observer for the image.
 

Uses of ImageObserver in javax.swing.colorchooser
 

Classes in javax.swing.colorchooser that implement ImageObserver
 class AbstractColorChooserPanel
          The is the abstract superclass for color choosers.
 

Uses of ImageObserver in javax.swing.plaf.basic
 

Classes in javax.swing.plaf.basic that implement ImageObserver
 class BasicArrowButton
          JButton object that draws a scaled Arrow in one of the cardinal directions.
 class BasicComboBoxRenderer
          ComboBox renderer
static class BasicComboBoxRenderer.UIResource
          A subclass of BasicComboBoxRenderer that implements UIResource.
 class BasicComboPopup
          This is an implementation of the ComboPopup interface.
 class BasicInternalFrameTitlePane
          The class that manages a basic title bar
 class BasicInternalFrameTitlePane.SystemMenuBar
          This inner class is marked "public" due to a compiler bug.
 class BasicSplitPaneDivider
          Divider used by BasicSplitPaneUI.
protected  class BasicToolBarUI.DragWindow
           
 

Uses of ImageObserver in javax.swing.plaf.metal
 

Classes in javax.swing.plaf.metal that implement ImageObserver
 class MetalComboBoxButton
          JButton subclass to help out MetalComboBoxUI
 class MetalComboBoxUI.MetalComboPopup
          This inner class is marked "public" due to a compiler bug.
protected  class MetalFileChooserUI.FileRenderer
           
 class MetalFileChooserUI.FilterComboBoxRenderer
          Render different type sizes and styles.
 class MetalScrollButton
          JButton object for Metal scrollbar arrows.
 

Uses of ImageObserver in javax.swing.table
 

Classes in javax.swing.table that implement ImageObserver
 class DefaultTableCellRenderer
          The standard class for rendering (displaying) individual cells in a JTable.
static class DefaultTableCellRenderer.UIResource
          A subclass of DefaultTableCellRenderer that implements UIResource.
 class JTableHeader
          This is the column header part of a JTable.
 

Uses of ImageObserver in javax.swing.text
 

Classes in javax.swing.text that implement ImageObserver
 class JTextComponent
          JTextComponent is the base class for swing text components.
 

Uses of ImageObserver in javax.swing.tree
 

Classes in javax.swing.tree that implement ImageObserver
 class DefaultTreeCellEditor.DefaultTextField
          TextField used when no editor is supplied.
 class DefaultTreeCellEditor.EditorContainer
          Container responsible for placing the editingComponent.
 class DefaultTreeCellRenderer
          Displays an entry in a tree.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.