You are on page 1of 2

java.awt.image.

ImageObserver

java.awt. MenuContainer

Serializable Component
# Component () Accessors AccessibleContext float float Color Rectangle Rectangle ColorModel Component Component ComponentOrientation Cursor DropTarget Container Set boolean Font FontMetrics Color Graphics GraphicsConfiguration int boolean InputContext InputMethodRequests Locale Point Point Point Dimension Dimension String Container Dimension Dimension Dimension Toolkit Object int int int boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean boolean void void void Collectors void void void Object String

java.awt.* Component
Component (continued)
Event Methods void void void void void void void void void void void # # # # # # AWTEvent void void void void void add / removeComponentListener (ComponentListener l) add / removeFocusListener (FocusListener l) add / removeHierarchyBoundsListener (HierarchyBoundsListener l) add / removeHierarchyListener (HierarchyListener l) add / removeInputMethodListener (InputMethodListener l) add / removeKeyListener (KeyListener l) add / removeMouseListener (MouseListener l) add / removeMouseMotionListener (MouseMotionListener l) add / removeMouseWheelListener (MouseWheelListener l) add / removePropertyChangeListener (PropertyChangeListener listener) add / removePropertyChangeListener (String propertyName, PropertyChangeListener listener) coalesceEvents (AWTEvent existingEvent, AWTEvent newEvent) disableEvents (long eventsToDisable) dispatchEvent (AWTEvent e) enableEvents (long eventsToEnable) firePropertyChange (String propertyName, Object oldValue, Object newValue) firePropertyChange (String propertyName, boolean oldValue, boolean newValue) firePropertyChange (String propertyName, int oldValue, int newValue) getComponentListeners () getFocusListeners () getHierarchyBoundsListeners () getHierarchyListeners () getInputMethodListeners () getKeyListeners () getListeners (Class listenerType) getMouseListeners () getMouseMotionListeners () getMouseWheelListeners () getPropertyChangeListeners () getPropertyChangeListeners (String propertyName) processComponentEvent (ComponentEvent e) processEvent (AWTEvent e) processFocusEvent (FocusEvent e) processHierarchyBoundsEvent (HierarchyEvent e) processHierarchyEvent (HierarchyEvent e) processInputMethodEvent (InputMethodEvent e) processKeyEvent (KeyEvent e) processMouseEvent (MouseEvent e) processMouseMotionEvent (MouseEvent e) processMouseWheelEvent (MouseWheelEvent e) applyComponentOrientation (ComponentOrientation orientation) areFocusTraversalKeysSet (int id) checkImage (Image image, ImageObserver observer) checkImage (Image image, int width, int height, ImageObserver observer) contains (Point p) contains (int x, int y) createImage (ImageProducer producer) createImage (int width, int height) createVolatileImage (int width, int height) createVolatileImage (int width, int height, ImageCapabilities caps) doLayout () enableInputMethods (boolean enable) hasFocus () imageUpdate (Image img, int infoflags, int x, int y, int w, int h) invalidate () list () list (PrintStream out) list (PrintWriter out) list (PrintStream out, int indent) list (PrintWriter out, int indent) paint (Graphics g) paintAll (Graphics g) prepareImage (Image image, ImageObserver observer) prepareImage (Image image, int width, int height, ImageObserver observer) print (Graphics g) printAll (Graphics g) repaint () repaint (long tm) repaint (int x, int y, int width, int height) repaint (long tm, int x, int y, int width, int height) requestFocus () requestFocusInWindow () transferFocus () transferFocusBackward () transferFocusUpCycle () update (Graphics g) validate () paramString () requestFocus (boolean temporary) requestFocusInWindow (boolean temporary)

getAccessibleContext () getAlignmentX () getAlignmentY () get / setBackground () get / setBounds () getBounds (Rectangle rv) getColorModel () getComponentAt (Point p) getComponentAt (int x, int y) get / setComponentOrientation () get / setCursor () get / setDropTarget () getFocusCycleRootAncestor () get / setFocusTraversalKeys (int id) get / setFocusTraversalKeysEnabled () get / setFont () getFontMetrics (Font font) get / setForeground () getGraphics () getGraphicsConfiguration () getHeight () get / setIgnoreRepaint () getInputContext () getInputMethodRequests () get / setLocale () get / setLocation () getLocation (Point rv) getLocationOnScreen () getMaximumSize () getMinimumSize () get / setName () getParent () getPreferredSize () get / setSize () getSize (Dimension rv) getToolkit () getTreeLock () getWidth () getX () getY () isBackgroundSet () isCursorSet () isDisplayable () isDoubleBuffered () is / setEnabled () isFocusCycleRoot (Container container) isFocusOwner () is / setFocusable () isFontSet () isForegroundSet () isLightweight () isOpaque () isShowing () isValid () is / setVisible () setBounds (int x, int y, int width, int height) setLocation (int x, int y) setSize (int width, int height) add (PopupMenu popup) add / removeNotify () remove (MenuComponent popup) toString ()

float TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Serializable ComponentOrientation
Static Methods ComponentOrientation getOrientation (Locale locale) Accessors boolean isHorizontal () boolean isLeftToRight () ComponentOrientation LEFT_TO_RIGHT, RIGHT_TO_LEFT, UNKNOWN

void ComponentListener[] FocusListener[] HierarchyBoundsListener[] HierarchyListener[] InputMethodListener[] KeyListener[] EventListener[] MouseListener[] MouseMotionListener[] MouseWheelListener[] PropertyChangeListener[] PropertyChangeListener[] # void # void # void # void # void # void # void # void # void # void Other Public Methods void boolean int int boolean boolean Image Image VolatileImage VolatileImage void void boolean boolean void void void void void void void void boolean boolean void void void void void void void boolean void void void void void Other Protected Methods # String # boolean # boolean

Other Grouping:
Layout float getAlignmentX () float getAlignmentY () Rectangle get / setBounds () Rectangle getBounds (Rectangle rv) Component getComponentAt (Point p) Component getComponentAt (int x, int y) int getHeight () Point get / setLocation () Point getLocation (Point rv) Point getLocationOnScreen () Dimension getMaximumSize () Dimension getMinimumSize () Container getParent () Dimension getPreferredSize () Dimension get / setSize () Dimension getSize (Dimension rv) int getWidth () int getX () int getY () boolean isValid () void setBounds (int x, int y, int width, int height) void setLocation (int x, int y) void setSize (int width, int height) boolean boolean void void void contains (Point p) contains (int x, int y) doLayout () invalidate () validate ()

Focus Container Set boolean boolean boolean boolean

getFocusCycleRootAncestor () get / setFocusTraversalKeys (int id) get / setFocusTraversalKeysEnabled () isFocusCycleRoot (Container container) isFocusOwner () is / setFocusable ()

void add / removeFocusListener (FocusListener l) FocusListener[] getFocusListeners () # void processFocusEvent (FocusEvent e) boolean boolean void boolean void void void # boolean # boolean areFocusTraversalKeysSet (int id) hasFocus () requestFocus () requestFocusInWindow () transferFocus () transferFocusBackward () transferFocusUpCycle () requestFocus (boolean temporary) requestFocusInWindow (boolean temporary)

Graphic Color ColorModel Font FontMetrics Color Graphics GraphicsConfiguration boolean boolean boolean boolean boolean boolean boolean boolean boolean int int Image Image VolatileImage VolatileImage boolean void void boolean boolean void void void void void void void

get / setBackground () getColorModel () get / setFont () getFontMetrics (Font font) get / setForeground () getGraphics () getGraphicsConfiguration () get / setIgnoreRepaint () isBackgroundSet () isDisplayable () isDoubleBuffered () isFontSet () isForegroundSet () isOpaque () isShowing () is / setVisible () checkImage (Image image, ImageObserver observer) checkImage (Image image, int width, int height, ImageObserver observer) createImage (ImageProducer producer) createImage (int width, int height) createVolatileImage (int width, int height) createVolatileImage (int width, int height, ImageCapabilities caps) ! imageUpdate (Image img, int infoflags, int x, int y, int w, int h) paint (Graphics g) paintAll (Graphics g) prepareImage (Image image, ImageObserver observer) prepareImage (Image image, int width, int height, ImageObserver observer) print (Graphics g) printAll (Graphics g) repaint () repaint (long tm) repaint (int x, int y, int width, int height) repaint (long tm, int x, int y, int width, int height) update (Graphics g)