Java Doc for Component.java in  » Apache-Harmony-Java-SE » java-package » java » awt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » java package » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component

All known Subclasses:   java.awt.Canvas,  java.awt.TextComponent,  java.awt.List,  java.awt.Scrollbar,  java.awt.Container,  java.awt.Choice,  java.awt.Checkbox,  java.awt.Button,  java.awt.Label,
Component
abstract public class Component implements ImageObserver,MenuContainer,Serializable(Code)

Inner Class :abstract protected class AccessibleAWTComponent extends AccessibleContext implements Serializable,AccessibleComponent
Inner Class :protected class BltBufferStrategy extends BufferStrategy
Inner Class :protected class FlipBufferStrategy extends BufferStrategy
Inner Class :class ComponentState implements State

Field Summary
final public static  floatBOTTOM_ALIGNMENT
    
final public static  floatCENTER_ALIGNMENT
    
final public static  floatLEFT_ALIGNMENT
    
final public static  floatRIGHT_ALIGNMENT
    
final public static  floatTOP_ALIGNMENT
    
final transient  ComponentBehaviorbehaviour
    
 Cursorcursor
    
 booleandeprecatedEventHandler
    
transient  booleandispatchToIM
    
 DropTargetdropTarget
    
 inth
    
 Containerparent
    
transient  RedrawManagerredrawManager
    
transient  MultiRectArearepaintRegion
    
final transient  Toolkittoolkit
    
 int[]traversalIDs
    
 booleanvisible
    
 intw
    
 intx
    
 inty
    

Constructor Summary
protected  Component()
    

Method Summary
public  booleanaction(Event evt, Object what)
    
public  voidadd(PopupMenu popup)
    
 voidaddAWTComponentListener(ComponentListener l)
    
 voidaddAWTFocusListener(FocusListener l)
    
 voidaddAWTInputMethodListener(InputMethodListener l)
    
 voidaddAWTKeyListener(KeyListener l)
    
 voidaddAWTMouseListener(MouseListener l)
    
 voidaddAWTMouseMotionListener(MouseMotionListener l)
    
 voidaddAWTMouseWheelListener(MouseWheelListener l)
    
public  voidaddComponentListener(ComponentListener l)
    
public  voidaddFocusListener(FocusListener l)
    
public  voidaddHierarchyBoundsListener(HierarchyBoundsListener l)
    
public  voidaddHierarchyListener(HierarchyListener l)
    
public  voidaddInputMethodListener(InputMethodListener l)
    
public  voidaddKeyListener(KeyListener l)
    
public  voidaddMouseListener(MouseListener l)
    
public  voidaddMouseMotionListener(MouseMotionListener l)
    
public  voidaddMouseWheelListener(MouseWheelListener l)
    
 voidaddNewEvent(AWTEvent event)
    
public  voidaddNotify()
    
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
    
public  voidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener)
    
public  voidapplyComponentOrientation(ComponentOrientation orientation)
    
public  booleanareFocusTraversalKeysSet(int id)
    
 StringautoName()
    
public  Rectanglebounds()
    
public  intcheckImage(Image image, int width, int height, ImageObserver observer)
    
public  intcheckImage(Image image, ImageObserver observer)
    
protected  AWTEventcoalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)
    
public  booleancontains(Point p)
    
public  booleancontains(int x, int y)
    
 AccessibleContextcreateAccessibleContext()
    
 ComponentBehaviorcreateBehavior()
    
public  ImagecreateImage(ImageProducer producer)
    
public  ImagecreateImage(int width, int height)
    
public  VolatileImagecreateVolatileImage(int width, int height, ImageCapabilities caps)
    
public  VolatileImagecreateVolatileImage(int width, int height)
    
public  voiddeliverEvent(Event evt)
    
public  voiddisable()
    
final protected  voiddisableEvents(long eventsToDisable)
    
final public  voiddispatchEvent(AWTEvent e)
    
public  voiddoLayout()
    
public  voidenable()
    
public  voidenable(boolean b)
    
final protected  voidenableEvents(long eventsToEnable)
    
public  voidenableInputMethods(boolean enable)
    
 voidfinishChildrenHierarchyChange(Component changed, Container changedParent, int ancestorFlags)
    
 voidfinishHierarchyChange(Component changed, Container changedParent, int ancestorFlags)
    
protected  voidfirePropertyChange(String propertyName, int oldValue, int newValue)
    
protected  voidfirePropertyChange(String propertyName, boolean oldValue, boolean newValue)
    
protected  voidfirePropertyChange(String propertyName, Object oldValue, Object newValue)
    
public  voidfirePropertyChange(String propertyName, byte oldValue, byte newValue)
    
public  voidfirePropertyChange(String propertyName, char oldValue, char newValue)
    
public  voidfirePropertyChange(String propertyName, short oldValue, short newValue)
    
public  voidfirePropertyChange(String propertyName, long oldValue, long newValue)
    
public  voidfirePropertyChange(String propertyName, float oldValue, float newValue)
    
public  voidfirePropertyChange(String propertyName, double oldValue, double newValue)
    
public  AccessibleContextgetAccessibleContext()
    
public  floatgetAlignmentX()
    
public  floatgetAlignmentY()
    
public  ColorgetBackground()
    
public  RectanglegetBounds()
    
public  RectanglegetBounds(Rectangle rv)
    
public  ColorModelgetColorModel()
    
public  ComponentgetComponentAt(Point p)
    
public  ComponentgetComponentAt(int x, int y)
    
public  ComponentListener[]getComponentListeners()
    
public  ComponentOrientationgetComponentOrientation()
    
public  CursorgetCursor()
    
 ComponentgetCursorAncestor()
    
 ColorgetDefaultBackground()
    
 ColorgetDefaultForeground()
    
 DimensiongetDefaultMinimumSize()
    
 DimensiongetDefaultPreferredSize()
    
public  DropTargetgetDropTarget()
    
public  ContainergetFocusCycleRootAncestor()
    
public  FocusListener[]getFocusListeners()
    
public  Set<AWTKeyStroke>getFocusTraversalKeys(int id)
    
public  booleangetFocusTraversalKeysEnabled()
    
public  FontgetFont()
    
public  FontMetricsgetFontMetrics(Font f)
    
public  ColorgetForeground()
    
public  GraphicsgetGraphics()
    
public  GraphicsConfigurationgetGraphicsConfiguration()
    
 ComponentgetHWAncestor()
    
 ComponentgetHWSurface()
    
public  intgetHeight()
    
public  HierarchyBoundsListener[]getHierarchyBoundsListeners()
    
public  HierarchyListener[]getHierarchyListeners()
    
public  booleangetIgnoreRepaint()
    
 StringgetIndentStr(int indent)
    
public  InputContextgetInputContext()
    
public  InputMethodListener[]getInputMethodListeners()
    
public  InputMethodRequestsgetInputMethodRequests()
    
 InsetsgetInsets()
    
public  KeyListener[]getKeyListeners()
    
public  T[]getListeners(Class<T> listenerType)
    
public  LocalegetLocale()
    
public  PointgetLocation(Point rv)
    
public  PointgetLocation()
    
public  PointgetLocationOnScreen()
    
public  DimensiongetMaximumSize()
    
public  DimensiongetMinimumSize()
    
public  MouseListener[]getMouseListeners()
    
public  MouseMotionListener[]getMouseMotionListeners()
    
public  PointgetMousePosition()
    
public  MouseWheelListener[]getMouseWheelListeners()
    
public  StringgetName()
    
 InsetsgetNativeInsets()
    
 NativeWindowgetNativeWindow()
    
 MultiRectAreagetObscuredRegion(Rectangle part)
    
public  ContainergetParent()
    
public  ComponentPeergetPeer()
    
public  DimensiongetPreferredSize()
    
public  PropertyChangeListener[]getPropertyChangeListeners()
    
public  PropertyChangeListener[]getPropertyChangeListeners(String propertyName)
    
 CursorgetRealCursor()
    
 ContainergetRealParent()
     Gets only parent of a child component, but not owner of a window.
 RedrawManagergetRedrawManager()
    
 AWTEventgetRelativeEvent(int id)
    
public  DimensiongetSize()
    
public  DimensiongetSize(Dimension rv)
    
 TextFieldKitgetTextFieldKit()
    
 TextKitgetTextKit()
    
public  ToolkitgetToolkit()
    
final public  ObjectgetTreeLock()
    
public  intgetWidth()
    
 WindowgetWindowAncestor()
    
public  intgetX()
    
public  intgetY()
    
public  booleangotFocus(Event evt, Object what)
    
public  booleanhandleEvent(Event evt)
    
public  booleanhasFocus()
    
public  voidhide()
    
public  booleanimageUpdate(Image img, int infoflags, int x, int y, int w, int h)
    
 voidinitGraphics(Graphics g, PaintEvent e)
    
public  booleaninside(int x, int y)
    
public  voidinvalidate()
    
public  booleanisBackgroundSet()
    
 booleanisCoalescer()
    
public  booleanisCursorSet()
    
public  booleanisDisplayable()
    
public  booleanisDoubleBuffered()
    
public  booleanisEnabled()
    
 booleanisEventEnabled(long eventMask)
    
public  booleanisFocusCycleRoot(Container container)
    
public  booleanisFocusOwner()
    
public  booleanisFocusTraversable()
    
 booleanisFocusabilityExplicitlySet()
    
public  booleanisFocusable()
    
public  booleanisFontSet()
    
public  booleanisForegroundSet()
    
 booleanisIndirectlyEnabled()
     "Recursive" isEnabled().
 booleanisKeyEnabled()
    
public  booleanisLightweight()
    
public  booleanisMaximumSizeSet()
    
public  booleanisMinimumSizeSet()
    
 booleanisMouseEventEnabled(long eventMask)
    
 booleanisMouseExitedExpected()
    
public  booleanisOpaque()
    
 booleanisPeerFocusable()
    
public  booleanisPreferredSizeSet()
    
 booleanisPrepainter()
    
public  booleanisShowing()
    
public  booleanisValid()
    
public  booleanisVisible()
    
public  booleankeyDown(Event evt, int key)
    
public  booleankeyUp(Event evt, int key)
    
public  voidlayout()
    
public  voidlist(PrintStream out, int indent)
    
public  voidlist(PrintWriter out)
    
public  voidlist(PrintWriter out, int indent)
    
public  voidlist(PrintStream out)
    
public  voidlist()
    
public  Componentlocate(int x, int y)
    
public  Pointlocation()
    
public  booleanlostFocus(Event evt, Object what)
    
 voidmapToDisplay(boolean b)
    
public  DimensionminimumSize()
    
public  booleanmouseDown(Event evt, int x, int y)
    
public  booleanmouseDrag(Event evt, int x, int y)
    
public  booleanmouseEnter(Event evt, int x, int y)
    
public  booleanmouseExit(Event evt, int x, int y)
    
public  booleanmouseMove(Event evt, int x, int y)
    
public  booleanmouseUp(Event evt, int x, int y)
    
public  voidmove(int x, int y)
    
 voidmoveFocus()
     This method is called when some property of a component changes, making it unfocusable, e.
 voidmoveFocusOnHide()
     For Container there's a difference between moving focus when being made invisible or made unfocusable in some other way, because when container is made invisible, component still remains visible, i.
 voidnativeWindowCreated(NativeWindow win)
    
public  voidnextFocus()
    
 voidnotifyInputMethod(Rectangle bounds)
     Calls InputContextImpl.notifyClientWindowChanged.
final  voidonDrawImage(Image image, Point destLocation, Dimension destSize, Rectangle source)
    
public  voidpaint(Graphics g)
    
public  voidpaintAll(Graphics g)
    
protected  StringparamString()
    
public  booleanpostEvent(Event evt)
    
 voidpostEvent(AWTEvent e)
    
 voidpostHierarchyBoundsEvents(Component changed, int id)
    
 voidpostprocessEvent(AWTEvent e, long eventMask)
    
public  DimensionpreferredSize()
    
 voidprepaint(Graphics g)
    
 voidprepare4HierarchyChange()
    
 voidprepareChildren4HierarchyChange()
    
public  booleanprepareImage(Image image, ImageObserver observer)
    
public  booleanprepareImage(Image image, int width, int height, ImageObserver observer)
    
 voidpreprocessFocusEvent(FocusEvent e)
    
 voidpreprocessKeyEvent(KeyEvent e)
    
 voidpreprocessMouseEvent(MouseEvent e)
    
 voidpreprocessMouseMotionEvent(MouseEvent e)
    
public  voidprint(Graphics g)
    
public  voidprintAll(Graphics g)
    
protected  voidprocessComponentEvent(ComponentEvent e)
    
protected  voidprocessEvent(AWTEvent e)
    
protected  voidprocessFocusEvent(FocusEvent e)
    
protected  voidprocessHierarchyBoundsEvent(HierarchyEvent e)
    
protected  voidprocessHierarchyEvent(HierarchyEvent e)
    
protected  voidprocessInputMethodEvent(InputMethodEvent e)
    
protected  voidprocessKeyEvent(KeyEvent e)
    
protected  voidprocessMouseEvent(MouseEvent e)
    
protected  voidprocessMouseMotionEvent(MouseEvent e)
    
protected  voidprocessMouseWheelEvent(MouseWheelEvent e)
    
 booleanpropagateFont()
     Invalidate the component if it inherits the font from the parent.
public  voidremove(MenuComponent menu)
    
public  voidremoveComponentListener(ComponentListener l)
    
public  voidremoveFocusListener(FocusListener l)
    
public  voidremoveHierarchyBoundsListener(HierarchyBoundsListener l)
    
public  voidremoveHierarchyListener(HierarchyListener l)
    
public  voidremoveInputMethodListener(InputMethodListener l)
    
public  voidremoveKeyListener(KeyListener l)
    
public  voidremoveMouseListener(MouseListener l)
    
public  voidremoveMouseMotionListener(MouseMotionListener l)
    
public  voidremoveMouseWheelListener(MouseWheelListener l)
    
 voidremoveNextEvent(int id)
    
public  voidremoveNotify()
    
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
    
public  voidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener)
    
 voidremoveRelativeEvent()
    
public  voidrepaint(long tm, int x, int y, int width, int height)
    
public  voidrepaint(int x, int y, int width, int height)
    
public  voidrepaint()
    
public  voidrepaint(long tm)
    
protected  booleanrequestFocus(boolean temporary)
    
public  voidrequestFocus()
    
 booleanrequestFocusImpl(boolean temporary, boolean crossWindow, boolean rejectionRecovery)
    
protected  booleanrequestFocusInWindow(boolean temporary)
    
public  booleanrequestFocusInWindow()
    
 voidresetDefaultSize()
    
public  voidreshape(int x, int y, int w, int h)
    
public  voidresize(int width, int height)
    
public  voidresize(Dimension size)
    
public  voidsetBackground(Color c)
    
public  voidsetBounds(int x, int y, int w, int h)
    
 voidsetBounds(int x, int y, int w, int h, int bMask, boolean updateBehavior)
    
public  voidsetBounds(Rectangle r)
    
 voidsetCaretPos(int x, int y)
    
 voidsetCaretPosImpl(int x, int y)
    
public  voidsetComponentOrientation(ComponentOrientation o)
    
public  voidsetCursor(Cursor cursor)
    
 voidsetCursor()
    
public  voidsetDropTarget(DropTarget dt)
    
public  voidsetEnabled(boolean value)
    
 voidsetEnabledImpl(boolean value)
    
public  voidsetFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)
    
public  voidsetFocusTraversalKeysEnabled(boolean value)
    
public  voidsetFocusable(boolean focusable)
    
public  voidsetFont(Font f)
    
 voidsetFontImpl(Font f)
    
public  voidsetForeground(Color c)
    
public  voidsetIgnoreRepaint(boolean value)
    
public  voidsetLocale(Locale locale)
    
public  voidsetLocation(Point p)
    
public  voidsetLocation(int x, int y)
    
public  voidsetMaximumSize(Dimension maximumSize)
    
public  voidsetMinimumSize(Dimension minimumSize)
    
 voidsetMouseExitedExpected(boolean expected)
    
public  voidsetName(String name)
    
 voidsetParent(Container parent)
    
public  voidsetPreferredSize(Dimension preferredSize)
    
 voidsetRedrawManager()
    
public  voidsetSize(int width, int height)
    
public  voidsetSize(Dimension d)
    
 voidsetTextFieldKit(TextFieldKit kit)
    
 voidsetTextKit(TextKit kit)
    
public  voidsetVisible(boolean b)
    
public  voidshow()
    
public  voidshow(boolean b)
    
public  Dimensionsize()
    
 voidspreadHierarchyBoundsEvents(Component changed, int id)
    
public  StringtoString()
    
 voidtransferFocus(int dir)
    
public  voidtransferFocus()
    
public  voidtransferFocusBackward()
    
public  voidtransferFocusUpCycle()
    
public  voidupdate(Graphics g)
    
public  voidvalidate()
    
 voidvalidateImpl()
    

Field Detail
BOTTOM_ALIGNMENT
final public static float BOTTOM_ALIGNMENT(Code)



CENTER_ALIGNMENT
final public static float CENTER_ALIGNMENT(Code)



LEFT_ALIGNMENT
final public static float LEFT_ALIGNMENT(Code)



RIGHT_ALIGNMENT
final public static float RIGHT_ALIGNMENT(Code)



TOP_ALIGNMENT
final public static float TOP_ALIGNMENT(Code)



behaviour
final transient ComponentBehavior behaviour(Code)



cursor
Cursor cursor(Code)



deprecatedEventHandler
boolean deprecatedEventHandler(Code)



dispatchToIM
transient boolean dispatchToIM(Code)



dropTarget
DropTarget dropTarget(Code)



h
int h(Code)



parent
Container parent(Code)



redrawManager
transient RedrawManager redrawManager(Code)



repaintRegion
transient MultiRectArea repaintRegion(Code)



toolkit
final transient Toolkit toolkit(Code)



traversalIDs
int[] traversalIDs(Code)



visible
boolean visible(Code)



w
int w(Code)



x
int x(Code)



y
int y(Code)




Constructor Detail
Component
protected Component()(Code)




Method Detail
action
public boolean action(Event evt, Object what)(Code)



add
public void add(PopupMenu popup)(Code)



addAWTComponentListener
void addAWTComponentListener(ComponentListener l)(Code)



addAWTFocusListener
void addAWTFocusListener(FocusListener l)(Code)



addAWTInputMethodListener
void addAWTInputMethodListener(InputMethodListener l)(Code)



addAWTKeyListener
void addAWTKeyListener(KeyListener l)(Code)



addAWTMouseListener
void addAWTMouseListener(MouseListener l)(Code)



addAWTMouseMotionListener
void addAWTMouseMotionListener(MouseMotionListener l)(Code)



addAWTMouseWheelListener
void addAWTMouseWheelListener(MouseWheelListener l)(Code)



addComponentListener
public void addComponentListener(ComponentListener l)(Code)



addFocusListener
public void addFocusListener(FocusListener l)(Code)



addHierarchyBoundsListener
public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)



addHierarchyListener
public void addHierarchyListener(HierarchyListener l)(Code)



addInputMethodListener
public void addInputMethodListener(InputMethodListener l)(Code)



addKeyListener
public void addKeyListener(KeyListener l)(Code)



addMouseListener
public void addMouseListener(MouseListener l)(Code)



addMouseMotionListener
public void addMouseMotionListener(MouseMotionListener l)(Code)



addMouseWheelListener
public void addMouseWheelListener(MouseWheelListener l)(Code)



addNewEvent
void addNewEvent(AWTEvent event)(Code)



addNotify
public void addNotify()(Code)



addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)



addPropertyChangeListener
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)



applyComponentOrientation
public void applyComponentOrientation(ComponentOrientation orientation)(Code)



areFocusTraversalKeysSet
public boolean areFocusTraversalKeysSet(int id)(Code)



autoName
String autoName()(Code)



bounds
public Rectangle bounds()(Code)



checkImage
public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)



checkImage
public int checkImage(Image image, ImageObserver observer)(Code)



coalesceEvents
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)



contains
public boolean contains(Point p)(Code)



contains
public boolean contains(int x, int y)(Code)



createAccessibleContext
AccessibleContext createAccessibleContext()(Code)
accessible context specific for particular component



createBehavior
ComponentBehavior createBehavior()(Code)



createImage
public Image createImage(ImageProducer producer)(Code)



createImage
public Image createImage(int width, int height)(Code)



createVolatileImage
public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)



createVolatileImage
public VolatileImage createVolatileImage(int width, int height)(Code)



deliverEvent
public void deliverEvent(Event evt)(Code)



disable
public void disable()(Code)



disableEvents
final protected void disableEvents(long eventsToDisable)(Code)



dispatchEvent
final public void dispatchEvent(AWTEvent e)(Code)



doLayout
public void doLayout()(Code)



enable
public void enable()(Code)



enable
public void enable(boolean b)(Code)



enableEvents
final protected void enableEvents(long eventsToEnable)(Code)



enableInputMethods
public void enableInputMethods(boolean enable)(Code)



finishChildrenHierarchyChange
void finishChildrenHierarchyChange(Component changed, Container changedParent, int ancestorFlags)(Code)



finishHierarchyChange
void finishHierarchyChange(Component changed, Container changedParent, int ancestorFlags)(Code)



firePropertyChange
protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)



firePropertyChange
protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)



firePropertyChange
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)



firePropertyChange
public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)



firePropertyChange
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)



firePropertyChange
public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)



firePropertyChange
public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)



firePropertyChange
public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)



firePropertyChange
public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)



getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)



getAlignmentX
public float getAlignmentX()(Code)



getAlignmentY
public float getAlignmentY()(Code)



getBackground
public Color getBackground()(Code)



getBounds
public Rectangle getBounds()(Code)



getBounds
public Rectangle getBounds(Rectangle rv)(Code)



getColorModel
public ColorModel getColorModel()(Code)



getComponentAt
public Component getComponentAt(Point p)(Code)



getComponentAt
public Component getComponentAt(int x, int y)(Code)



getComponentListeners
public ComponentListener[] getComponentListeners()(Code)



getComponentOrientation
public ComponentOrientation getComponentOrientation()(Code)



getCursor
public Cursor getCursor()(Code)



getCursorAncestor
Component getCursorAncestor()(Code)
Gets the ancestor(or component itself) whose cursor is set when pointer is inside component actual Cursor to be displayed



getDefaultBackground
Color getDefaultBackground()(Code)



getDefaultForeground
Color getDefaultForeground()(Code)



getDefaultMinimumSize
Dimension getDefaultMinimumSize()(Code)



getDefaultPreferredSize
Dimension getDefaultPreferredSize()(Code)



getDropTarget
public DropTarget getDropTarget()(Code)



getFocusCycleRootAncestor
public Container getFocusCycleRootAncestor()(Code)



getFocusListeners
public FocusListener[] getFocusListeners()(Code)



getFocusTraversalKeys
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)



getFocusTraversalKeysEnabled
public boolean getFocusTraversalKeysEnabled()(Code)



getFont
public Font getFont()(Code)



getFontMetrics
public FontMetrics getFontMetrics(Font f)(Code)



getForeground
public Color getForeground()(Code)



getGraphics
public Graphics getGraphics()(Code)



getGraphicsConfiguration
public GraphicsConfiguration getGraphicsConfiguration()(Code)



getHWAncestor
Component getHWAncestor()(Code)
the nearest heavyweight ancestor in hierarchy ornull if not found



getHWSurface
Component getHWSurface()(Code)
heavyweight component that is equal to or is a nearestheavyweight container of the current component, ornull if not found



getHeight
public int getHeight()(Code)



getHierarchyBoundsListeners
public HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)



getHierarchyListeners
public HierarchyListener[] getHierarchyListeners()(Code)



getIgnoreRepaint
public boolean getIgnoreRepaint()(Code)



getIndentStr
String getIndentStr(int indent)(Code)



getInputContext
public InputContext getInputContext()(Code)



getInputMethodListeners
public InputMethodListener[] getInputMethodListeners()(Code)



getInputMethodRequests
public InputMethodRequests getInputMethodRequests()(Code)



getInsets
Insets getInsets()(Code)



getKeyListeners
public KeyListener[] getKeyListeners()(Code)



getListeners
public T[] getListeners(Class<T> listenerType)(Code)



getLocale
public Locale getLocale()(Code)



getLocation
public Point getLocation(Point rv)(Code)



getLocation
public Point getLocation()(Code)



getLocationOnScreen
public Point getLocationOnScreen() throws IllegalComponentStateException(Code)



getMaximumSize
public Dimension getMaximumSize()(Code)



getMinimumSize
public Dimension getMinimumSize()(Code)



getMouseListeners
public MouseListener[] getMouseListeners()(Code)



getMouseMotionListeners
public MouseMotionListener[] getMouseMotionListeners()(Code)



getMousePosition
public Point getMousePosition() throws HeadlessException(Code)



getMouseWheelListeners
public MouseWheelListener[] getMouseWheelListeners()(Code)



getName
public String getName()(Code)



getNativeInsets
Insets getNativeInsets()(Code)



getNativeWindow
NativeWindow getNativeWindow()(Code)



getObscuredRegion
MultiRectArea getObscuredRegion(Rectangle part)(Code)
Determine the component's area hidden behind the windows that have higher Z-order, including windows of other applications
Parameters:
  part - - the part of the component to determine its hidden area, ornull for the whole component the calculated region, or null if it cannot be determined



getParent
public Container getParent()(Code)



getPeer
public ComponentPeer getPeer()(Code)



getPreferredSize
public Dimension getPreferredSize()(Code)



getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners()(Code)



getPropertyChangeListeners
public PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)



getRealCursor
Cursor getRealCursor()(Code)
Gets the ancestor Cursor if Component is disabled (directly or via an ancestor) even if Cursor is explicitly set actual Cursor to be displayed



getRealParent
Container getRealParent()(Code)
Gets only parent of a child component, but not owner of a window. parent of child component, null if component is a top-level(Window instance)



getRedrawManager
RedrawManager getRedrawManager()(Code)



getRelativeEvent
AWTEvent getRelativeEvent(int id)(Code)



getSize
public Dimension getSize()(Code)



getSize
public Dimension getSize(Dimension rv)(Code)



getTextFieldKit
TextFieldKit getTextFieldKit()(Code)



getTextKit
TextKit getTextKit()(Code)



getToolkit
public Toolkit getToolkit()(Code)



getTreeLock
final public Object getTreeLock()(Code)



getWidth
public int getWidth()(Code)



getWindowAncestor
Window getWindowAncestor()(Code)



getX
public int getX()(Code)



getY
public int getY()(Code)



gotFocus
public boolean gotFocus(Event evt, Object what)(Code)



handleEvent
public boolean handleEvent(Event evt)(Code)



hasFocus
public boolean hasFocus()(Code)



hide
public void hide()(Code)



imageUpdate
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)



initGraphics
void initGraphics(Graphics g, PaintEvent e)(Code)



inside
public boolean inside(int x, int y)(Code)



invalidate
public void invalidate()(Code)



isBackgroundSet
public boolean isBackgroundSet()(Code)



isCoalescer
boolean isCoalescer()(Code)



isCursorSet
public boolean isCursorSet()(Code)



isDisplayable
public boolean isDisplayable()(Code)



isDoubleBuffered
public boolean isDoubleBuffered()(Code)



isEnabled
public boolean isEnabled()(Code)



isEventEnabled
boolean isEventEnabled(long eventMask)(Code)



isFocusCycleRoot
public boolean isFocusCycleRoot(Container container)(Code)



isFocusOwner
public boolean isFocusOwner()(Code)



isFocusTraversable
public boolean isFocusTraversable()(Code)



isFocusabilityExplicitlySet
boolean isFocusabilityExplicitlySet()(Code)
true if focusability was explicitly set via a call tosetFocusable() or via overriding isFocusable() orisFocusTraversable()



isFocusable
public boolean isFocusable()(Code)



isFontSet
public boolean isFontSet()(Code)



isForegroundSet
public boolean isForegroundSet()(Code)



isIndirectlyEnabled
boolean isIndirectlyEnabled()(Code)
"Recursive" isEnabled(). true if not only component itself is enabled but its heavyweightparent is also "indirectly" enabled



isKeyEnabled
boolean isKeyEnabled()(Code)



isLightweight
public boolean isLightweight()(Code)



isMaximumSizeSet
public boolean isMaximumSizeSet()(Code)



isMinimumSizeSet
public boolean isMinimumSizeSet()(Code)



isMouseEventEnabled
boolean isMouseEventEnabled(long eventMask)(Code)



isMouseExitedExpected
boolean isMouseExitedExpected()(Code)



isOpaque
public boolean isOpaque()(Code)



isPeerFocusable
boolean isPeerFocusable()(Code)
true if component has a focusable peer



isPreferredSizeSet
public boolean isPreferredSizeSet()(Code)



isPrepainter
boolean isPrepainter()(Code)



isShowing
public boolean isShowing()(Code)



isValid
public boolean isValid()(Code)



isVisible
public boolean isVisible()(Code)



keyDown
public boolean keyDown(Event evt, int key)(Code)



keyUp
public boolean keyUp(Event evt, int key)(Code)



layout
public void layout()(Code)



list
public void list(PrintStream out, int indent)(Code)



list
public void list(PrintWriter out)(Code)



list
public void list(PrintWriter out, int indent)(Code)



list
public void list(PrintStream out)(Code)



list
public void list()(Code)



locate
public Component locate(int x, int y)(Code)



location
public Point location()(Code)



lostFocus
public boolean lostFocus(Event evt, Object what)(Code)



mapToDisplay
void mapToDisplay(boolean b)(Code)



minimumSize
public Dimension minimumSize()(Code)



mouseDown
public boolean mouseDown(Event evt, int x, int y)(Code)



mouseDrag
public boolean mouseDrag(Event evt, int x, int y)(Code)



mouseEnter
public boolean mouseEnter(Event evt, int x, int y)(Code)



mouseExit
public boolean mouseExit(Event evt, int x, int y)(Code)



mouseMove
public boolean mouseMove(Event evt, int x, int y)(Code)



mouseUp
public boolean mouseUp(Event evt, int x, int y)(Code)



move
public void move(int x, int y)(Code)



moveFocus
void moveFocus()(Code)
This method is called when some property of a component changes, making it unfocusable, e. g. hide(), removeNotify(), setEnabled(false), setFocusable(false) is called, and therefore automatic forward focus traversal is necessary



moveFocusOnHide
void moveFocusOnHide()(Code)
For Container there's a difference between moving focus when being made invisible or made unfocusable in some other way, because when container is made invisible, component still remains visible, i. e. its hide() or setVisible() is not called.



nativeWindowCreated
void nativeWindowCreated(NativeWindow win)(Code)
Called when native resource for this component is created (for heavyweights only)



nextFocus
public void nextFocus()(Code)



notifyInputMethod
void notifyInputMethod(Rectangle bounds)(Code)
Calls InputContextImpl.notifyClientWindowChanged.



onDrawImage
final void onDrawImage(Image image, Point destLocation, Dimension destSize, Rectangle source)(Code)



paint
public void paint(Graphics g)(Code)



paintAll
public void paintAll(Graphics g)(Code)



paramString
protected String paramString()(Code)



postEvent
public boolean postEvent(Event evt)(Code)



postEvent
void postEvent(AWTEvent e)(Code)



postHierarchyBoundsEvents
void postHierarchyBoundsEvents(Component changed, int id)(Code)



postprocessEvent
void postprocessEvent(AWTEvent e, long eventMask)(Code)



preferredSize
public Dimension preferredSize()(Code)



prepaint
void prepaint(Graphics g)(Code)



prepare4HierarchyChange
void prepare4HierarchyChange()(Code)



prepareChildren4HierarchyChange
void prepareChildren4HierarchyChange()(Code)



prepareImage
public boolean prepareImage(Image image, ImageObserver observer)(Code)



prepareImage
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)



preprocessFocusEvent
void preprocessFocusEvent(FocusEvent e)(Code)



preprocessKeyEvent
void preprocessKeyEvent(KeyEvent e)(Code)



preprocessMouseEvent
void preprocessMouseEvent(MouseEvent e)(Code)



preprocessMouseMotionEvent
void preprocessMouseMotionEvent(MouseEvent e)(Code)



print
public void print(Graphics g)(Code)



printAll
public void printAll(Graphics g)(Code)



processComponentEvent
protected void processComponentEvent(ComponentEvent e)(Code)



processEvent
protected void processEvent(AWTEvent e)(Code)



processFocusEvent
protected void processFocusEvent(FocusEvent e)(Code)



processHierarchyBoundsEvent
protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)



processHierarchyEvent
protected void processHierarchyEvent(HierarchyEvent e)(Code)



processInputMethodEvent
protected void processInputMethodEvent(InputMethodEvent e)(Code)



processKeyEvent
protected void processKeyEvent(KeyEvent e)(Code)



processMouseEvent
protected void processMouseEvent(MouseEvent e)(Code)



processMouseMotionEvent
protected void processMouseMotionEvent(MouseEvent e)(Code)



processMouseWheelEvent
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)



propagateFont
boolean propagateFont()(Code)
Invalidate the component if it inherits the font from the parent. This method is overridden in Container. true if the component was invalidated, false otherwise



remove
public void remove(MenuComponent menu)(Code)



removeComponentListener
public void removeComponentListener(ComponentListener l)(Code)



removeFocusListener
public void removeFocusListener(FocusListener l)(Code)



removeHierarchyBoundsListener
public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)



removeHierarchyListener
public void removeHierarchyListener(HierarchyListener l)(Code)



removeInputMethodListener
public void removeInputMethodListener(InputMethodListener l)(Code)



removeKeyListener
public void removeKeyListener(KeyListener l)(Code)



removeMouseListener
public void removeMouseListener(MouseListener l)(Code)



removeMouseMotionListener
public void removeMouseMotionListener(MouseMotionListener l)(Code)



removeMouseWheelListener
public void removeMouseWheelListener(MouseWheelListener l)(Code)



removeNextEvent
void removeNextEvent(int id)(Code)



removeNotify
public void removeNotify()(Code)



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)



removePropertyChangeListener
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)



removeRelativeEvent
void removeRelativeEvent()(Code)



repaint
public void repaint(long tm, int x, int y, int width, int height)(Code)



repaint
public void repaint(int x, int y, int width, int height)(Code)



repaint
public void repaint()(Code)



repaint
public void repaint(long tm)(Code)



requestFocus
protected boolean requestFocus(boolean temporary)(Code)



requestFocus
public void requestFocus()(Code)



requestFocusImpl
boolean requestFocusImpl(boolean temporary, boolean crossWindow, boolean rejectionRecovery)(Code)



requestFocusInWindow
protected boolean requestFocusInWindow(boolean temporary)(Code)



requestFocusInWindow
public boolean requestFocusInWindow()(Code)



resetDefaultSize
void resetDefaultSize()(Code)



reshape
public void reshape(int x, int y, int w, int h)(Code)



resize
public void resize(int width, int height)(Code)



resize
public void resize(Dimension size)(Code)



setBackground
public void setBackground(Color c)(Code)



setBounds
public void setBounds(int x, int y, int w, int h)(Code)



setBounds
void setBounds(int x, int y, int w, int h, int bMask, boolean updateBehavior)(Code)
Update the component bounds and post the appropriate events



setBounds
public void setBounds(Rectangle r)(Code)



setCaretPos
void setCaretPos(int x, int y)(Code)
Set native caret at the given position
Note: this method takes AWT lock inside because it walks through the component hierarchy



setCaretPosImpl
void setCaretPosImpl(int x, int y)(Code)
This method should be called only at event dispatch thread



setComponentOrientation
public void setComponentOrientation(ComponentOrientation o)(Code)



setCursor
public void setCursor(Cursor cursor)(Code)



setCursor
void setCursor()(Code)
Set current cursor shape to Component's Cursor



setDropTarget
public void setDropTarget(DropTarget dt)(Code)



setEnabled
public void setEnabled(boolean value)(Code)



setEnabledImpl
void setEnabledImpl(boolean value)(Code)



setFocusTraversalKeys
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)



setFocusTraversalKeysEnabled
public void setFocusTraversalKeysEnabled(boolean value)(Code)



setFocusable
public void setFocusable(boolean focusable)(Code)



setFont
public void setFont(Font f)(Code)



setFontImpl
void setFontImpl(Font f)(Code)



setForeground
public void setForeground(Color c)(Code)



setIgnoreRepaint
public void setIgnoreRepaint(boolean value)(Code)



setLocale
public void setLocale(Locale locale)(Code)



setLocation
public void setLocation(Point p)(Code)



setLocation
public void setLocation(int x, int y)(Code)



setMaximumSize
public void setMaximumSize(Dimension maximumSize)(Code)



setMinimumSize
public void setMinimumSize(Dimension minimumSize)(Code)



setMouseExitedExpected
void setMouseExitedExpected(boolean expected)(Code)



setName
public void setName(String name)(Code)



setParent
void setParent(Container parent)(Code)
To be called by container



setPreferredSize
public void setPreferredSize(Dimension preferredSize)(Code)



setRedrawManager
void setRedrawManager()(Code)



setSize
public void setSize(int width, int height)(Code)



setSize
public void setSize(Dimension d)(Code)



setTextFieldKit
void setTextFieldKit(TextFieldKit kit)(Code)



setTextKit
void setTextKit(TextKit kit)(Code)



setVisible
public void setVisible(boolean b)(Code)



show
public void show()(Code)



show
public void show(boolean b)(Code)



size
public Dimension size()(Code)



spreadHierarchyBoundsEvents
void spreadHierarchyBoundsEvents(Component changed, int id)(Code)



toString
public String toString()(Code)



transferFocus
void transferFocus(int dir)(Code)



transferFocus
public void transferFocus()(Code)



transferFocusBackward
public void transferFocusBackward()(Code)



transferFocusUpCycle
public void transferFocusUpCycle()(Code)



update
public void update(Graphics g)(Code)



validate
public void validate()(Code)



validateImpl
void validateImpl()(Code)



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final public Class<? extends Object> getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify()(Code)(Java Doc)
final public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait(long millis, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait(long millis) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.