Java Doc for KeyboardFocusManager.java in  » 6.0-JDK-Modules » j2me » 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 » 6.0 JDK Modules » j2me » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.KeyboardFocusManager

All known Subclasses:   java.awt.DefaultKeyboardFocusManager,
KeyboardFocusManager
abstract public class KeyboardFocusManager implements KeyEventDispatcher,KeyEventPostProcessor(Code)


Field Summary
final public static  intBACKWARD_TRAVERSAL_KEYS
    
final public static  intDOWN_CYCLE_TRAVERSAL_KEYS
    
final public static  intFORWARD_TRAVERSAL_KEYS
    
final static  intSNFH_FAILURE
    
final static  intSNFH_SUCCESS_HANDLED
    
final static  intSNFH_SUCCESS_PROCEED
    
final static  intTRAVERSAL_KEY_LENGTH
    
final public static  intUP_CYCLE_TRAVERSAL_KEYS
    
transient  SequencedEventcurrentSequencedEvent
    
static  KeyboardFocusManagermanager
    

Constructor Summary
 KeyboardFocusManager()
    

Method Summary
public  voidaddKeyEventDispatcher(KeyEventDispatcher dispatcher)
    
public  voidaddKeyEventPostProcessor(KeyEventPostProcessor processor)
    
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
    
public  voidaddVetoableChangeListener(VetoableChangeListener listener)
    
public  voidclearGlobalFocusOwner()
    
static  voidclearMostRecentFocusOwner(Component comp)
    
abstract  voiddequeueKeyEvents(long after, Component untilFocused)
    
abstract  voiddiscardKeyEvents(Component comp)
    
abstract public  booleandispatchEvent(AWTEvent e)
    
abstract public  booleandispatchKeyEvent(KeyEvent e)
    
abstract public  voiddownFocusCycle(Container aContainer)
    
final public  voiddownFocusCycle()
    
abstract  voidenqueueKeyEvents(long after, Component untilFocused)
    
 voidfirePropertyChange(String propertyName, Object oldValue, Object newValue)
    
 voidfireVetoableChange(String propertyName, Object oldValue, Object newValue)
    
abstract public  voidfocusNextComponent(Component aComponent)
    
final public  voidfocusNextComponent()
    
abstract public  voidfocusPreviousComponent(Component aComponent)
    
final public  voidfocusPreviousComponent()
    
public  WindowgetActiveWindow()
    
static  WindowgetContainingWindow(Component comp)
    
public  ContainergetCurrentFocusCycleRoot()
    
public static  KeyboardFocusManagergetCurrentKeyboardFocusManager()
    
static synchronized  KeyboardFocusManagergetCurrentKeyboardFocusManager(AppContext appcontext)
    
final  SequencedEventgetCurrentSequencedEvent()
    
public  SetgetDefaultFocusTraversalKeys(int id)
    
public synchronized  FocusTraversalPolicygetDefaultFocusTraversalPolicy()
    
public  ComponentgetFocusOwner()
    
public  WindowgetFocusedWindow()
    
 WindowgetGlobalActiveWindow()
    
 ContainergetGlobalCurrentFocusCycleRoot()
    
 ComponentgetGlobalFocusOwner()
    
 WindowgetGlobalFocusedWindow()
    
 ComponentgetGlobalPermanentFocusOwner()
    
synchronized  java.util.ListgetKeyEventDispatchers()
    
 java.util.ListgetKeyEventPostProcessors()
    
static synchronized  ComponentgetMostRecentFocusOwner(Window window)
    
native static  ComponentgetNativeFocusOwner()
    
native static  WindowgetNativeFocusedWindow()
    
public  ComponentgetPermanentFocusOwner()
    
public synchronized  PropertyChangeListener[]getPropertyChangeListeners()
    
public synchronized  VetoableChangeListener[]getVetoableChangeListeners()
    
static  SetinitFocusTraversalKeysSet(String value, Set targetSet)
    
static  WindowmarkClearGlobalFocusOwner()
     Returns the Window which will be active after processing this request, or null if this is a duplicate request.
abstract public  booleanpostProcessKeyEvent(KeyEvent e)
    
static  voidprocessCurrentLightweightRequests()
    
abstract public  voidprocessKeyEvent(Component focusedComponent, KeyEvent e)
    
final public  voidredispatchEvent(Component target, AWTEvent e)
    
static  booleanremoveFirstRequest()
    
static  voidremoveFocusRequest(Component component)
    
public  voidremoveKeyEventDispatcher(KeyEventDispatcher dispatcher)
    
public  voidremoveKeyEventPostProcessor(KeyEventPostProcessor processor)
    
static  voidremoveLastFocusRequest(Component heavyweight)
    
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
    
public  voidremoveVetoableChangeListener(VetoableChangeListener listener)
    
 intrequestCount()
    
static  AWTEventretargetFocusEvent(AWTEvent event)
    
static  FocusEventretargetFocusGained(FocusEvent fe)
    
static  FocusEventretargetFocusLost(FocusEvent fe)
    
static  FocusEventretargetUnexpectedFocusEvent(FocusEvent fe)
    
final  voidsetCurrentSequencedEvent(SequencedEvent current)
    
public  voidsetDefaultFocusTraversalKeys(int id, Set keystrokes)
    
public  voidsetDefaultFocusTraversalPolicy(FocusTraversalPolicy defaultPolicy)
    
 voidsetGlobalActiveWindow(Window activeWindow)
    
 voidsetGlobalCurrentFocusCycleRoot(Container newFocusCycleRoot)
    
 voidsetGlobalFocusOwner(Component focusOwner)
    
 voidsetGlobalFocusedWindow(Window focusedWindow)
    
 voidsetGlobalPermanentFocusOwner(Component permanentFocusOwner)
    
static  voidsetMostRecentFocusOwner(Component component)
    
static synchronized  voidsetMostRecentFocusOwner(Window window, Component component)
    
static  intshouldNativelyFocusHeavyweight(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time)
     Indicates whether the native implementation should proceed with a pending, native focus request.
abstract public  voidupFocusCycle(Component aComponent)
    
final public  voidupFocusCycle()
    

Field Detail
BACKWARD_TRAVERSAL_KEYS
final public static int BACKWARD_TRAVERSAL_KEYS(Code)



DOWN_CYCLE_TRAVERSAL_KEYS
final public static int DOWN_CYCLE_TRAVERSAL_KEYS(Code)



FORWARD_TRAVERSAL_KEYS
final public static int FORWARD_TRAVERSAL_KEYS(Code)



SNFH_FAILURE
final static int SNFH_FAILURE(Code)



SNFH_SUCCESS_HANDLED
final static int SNFH_SUCCESS_HANDLED(Code)



SNFH_SUCCESS_PROCEED
final static int SNFH_SUCCESS_PROCEED(Code)



TRAVERSAL_KEY_LENGTH
final static int TRAVERSAL_KEY_LENGTH(Code)



UP_CYCLE_TRAVERSAL_KEYS
final public static int UP_CYCLE_TRAVERSAL_KEYS(Code)



currentSequencedEvent
transient SequencedEvent currentSequencedEvent(Code)



manager
static KeyboardFocusManager manager(Code)




Constructor Detail
KeyboardFocusManager
KeyboardFocusManager()(Code)




Method Detail
addKeyEventDispatcher
public void addKeyEventDispatcher(KeyEventDispatcher dispatcher)(Code)



addKeyEventPostProcessor
public void addKeyEventPostProcessor(KeyEventPostProcessor processor)(Code)



addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)



addVetoableChangeListener
public void addVetoableChangeListener(VetoableChangeListener listener)(Code)



clearGlobalFocusOwner
public void clearGlobalFocusOwner()(Code)



clearMostRecentFocusOwner
static void clearMostRecentFocusOwner(Component comp)(Code)



dequeueKeyEvents
abstract void dequeueKeyEvents(long after, Component untilFocused)(Code)



discardKeyEvents
abstract void discardKeyEvents(Component comp)(Code)



dispatchEvent
abstract public boolean dispatchEvent(AWTEvent e)(Code)



dispatchKeyEvent
abstract public boolean dispatchKeyEvent(KeyEvent e)(Code)



downFocusCycle
abstract public void downFocusCycle(Container aContainer)(Code)



downFocusCycle
final public void downFocusCycle()(Code)



enqueueKeyEvents
abstract void enqueueKeyEvents(long after, Component untilFocused)(Code)



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



fireVetoableChange
void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws PropertyVetoException(Code)



focusNextComponent
abstract public void focusNextComponent(Component aComponent)(Code)



focusNextComponent
final public void focusNextComponent()(Code)



focusPreviousComponent
abstract public void focusPreviousComponent(Component aComponent)(Code)



focusPreviousComponent
final public void focusPreviousComponent()(Code)



getActiveWindow
public Window getActiveWindow()(Code)



getContainingWindow
static Window getContainingWindow(Component comp)(Code)



getCurrentFocusCycleRoot
public Container getCurrentFocusCycleRoot()(Code)



getCurrentKeyboardFocusManager
public static KeyboardFocusManager getCurrentKeyboardFocusManager()(Code)



getCurrentKeyboardFocusManager
static synchronized KeyboardFocusManager getCurrentKeyboardFocusManager(AppContext appcontext)(Code)



getCurrentSequencedEvent
final SequencedEvent getCurrentSequencedEvent()(Code)



getDefaultFocusTraversalKeys
public Set getDefaultFocusTraversalKeys(int id)(Code)



getDefaultFocusTraversalPolicy
public synchronized FocusTraversalPolicy getDefaultFocusTraversalPolicy()(Code)



getFocusOwner
public Component getFocusOwner()(Code)



getFocusedWindow
public Window getFocusedWindow()(Code)



getGlobalActiveWindow
Window getGlobalActiveWindow() throws SecurityException(Code)



getGlobalCurrentFocusCycleRoot
Container getGlobalCurrentFocusCycleRoot() throws SecurityException(Code)



getGlobalFocusOwner
Component getGlobalFocusOwner() throws SecurityException(Code)



getGlobalFocusedWindow
Window getGlobalFocusedWindow() throws SecurityException(Code)



getGlobalPermanentFocusOwner
Component getGlobalPermanentFocusOwner() throws SecurityException(Code)



getKeyEventDispatchers
synchronized java.util.List getKeyEventDispatchers()(Code)



getKeyEventPostProcessors
java.util.List getKeyEventPostProcessors()(Code)



getMostRecentFocusOwner
static synchronized Component getMostRecentFocusOwner(Window window)(Code)



getNativeFocusOwner
native static Component getNativeFocusOwner()(Code)



getNativeFocusedWindow
native static Window getNativeFocusedWindow()(Code)



getPermanentFocusOwner
public Component getPermanentFocusOwner()(Code)



getPropertyChangeListeners
public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)



getVetoableChangeListeners
public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)



initFocusTraversalKeysSet
static Set initFocusTraversalKeysSet(String value, Set targetSet)(Code)



markClearGlobalFocusOwner
static Window markClearGlobalFocusOwner()(Code)
Returns the Window which will be active after processing this request, or null if this is a duplicate request. The active Window is useful because some native platforms do not support setting the native focus owner to null. On these platforms, the obvious choice is to set the focus owner to the focus proxy of the active Window.



postProcessKeyEvent
abstract public boolean postProcessKeyEvent(KeyEvent e)(Code)



processCurrentLightweightRequests
static void processCurrentLightweightRequests()(Code)



processKeyEvent
abstract public void processKeyEvent(Component focusedComponent, KeyEvent e)(Code)



redispatchEvent
final public void redispatchEvent(Component target, AWTEvent e)(Code)



removeFirstRequest
static boolean removeFirstRequest()(Code)



removeFocusRequest
static void removeFocusRequest(Component component)(Code)



removeKeyEventDispatcher
public void removeKeyEventDispatcher(KeyEventDispatcher dispatcher)(Code)



removeKeyEventPostProcessor
public void removeKeyEventPostProcessor(KeyEventPostProcessor processor)(Code)



removeLastFocusRequest
static void removeLastFocusRequest(Component heavyweight)(Code)



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)



removeVetoableChangeListener
public void removeVetoableChangeListener(VetoableChangeListener listener)(Code)



requestCount
int requestCount()(Code)



retargetFocusEvent
static AWTEvent retargetFocusEvent(AWTEvent event)(Code)



retargetFocusGained
static FocusEvent retargetFocusGained(FocusEvent fe)(Code)



retargetFocusLost
static FocusEvent retargetFocusLost(FocusEvent fe)(Code)



retargetUnexpectedFocusEvent
static FocusEvent retargetUnexpectedFocusEvent(FocusEvent fe)(Code)



setCurrentSequencedEvent
final void setCurrentSequencedEvent(SequencedEvent current)(Code)



setDefaultFocusTraversalKeys
public void setDefaultFocusTraversalKeys(int id, Set keystrokes)(Code)



setDefaultFocusTraversalPolicy
public void setDefaultFocusTraversalPolicy(FocusTraversalPolicy defaultPolicy)(Code)



setGlobalActiveWindow
void setGlobalActiveWindow(Window activeWindow)(Code)



setGlobalCurrentFocusCycleRoot
void setGlobalCurrentFocusCycleRoot(Container newFocusCycleRoot)(Code)



setGlobalFocusOwner
void setGlobalFocusOwner(Component focusOwner)(Code)



setGlobalFocusedWindow
void setGlobalFocusedWindow(Window focusedWindow)(Code)



setGlobalPermanentFocusOwner
void setGlobalPermanentFocusOwner(Component permanentFocusOwner)(Code)



setMostRecentFocusOwner
static void setMostRecentFocusOwner(Component component)(Code)



setMostRecentFocusOwner
static synchronized void setMostRecentFocusOwner(Window window, Component component)(Code)



shouldNativelyFocusHeavyweight
static int shouldNativelyFocusHeavyweight(Component heavyweight, Component descendant, boolean temporary, boolean focusedWindowChangeAllowed, long time)(Code)
Indicates whether the native implementation should proceed with a pending, native focus request. Before changing the focus at the native level, the AWT implementation should always call this function for permission. This function will reject the request if a duplicate request preceded it, or if the specified heavyweight Component already owns the focus and no native focus changes are pending. Otherwise, the request will be approved and the focus request list will be updated so that, if necessary, the proper descendant will be focused when the corresponding FOCUS_GAINED event on the heavyweight is received. An implementation must ensure that calls to this method and native focus changes are atomic. If this is not guaranteed, then the ordering of the focus request list may be incorrect, leading to errors in the type-ahead mechanism. Typically this is accomplished by only calling this function from the native event pumping thread, or by holding a global, native lock during invocation.



upFocusCycle
abstract public void upFocusCycle(Component aComponent)(Code)



upFocusCycle
final public void upFocusCycle()(Code)



Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) 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.