123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
- #ifndef __java_awt_KeyboardFocusManager__
- #define __java_awt_KeyboardFocusManager__
- #pragma interface
- #include <java/lang/Object.h>
- #include <gcj/array.h>
- extern "Java"
- {
- namespace java
- {
- namespace awt
- {
- class AWTEvent;
- class Component;
- class Container;
- class FocusTraversalPolicy;
- class KeyEventDispatcher;
- class KeyEventPostProcessor;
- class KeyboardFocusManager;
- class Window;
- namespace event
- {
- class KeyEvent;
- }
- }
- namespace beans
- {
- class PropertyChangeListener;
- class PropertyChangeSupport;
- class VetoableChangeListener;
- class VetoableChangeSupport;
- }
- }
- }
- class java::awt::KeyboardFocusManager : public ::java::lang::Object
- {
- public:
- KeyboardFocusManager();
- static ::java::awt::KeyboardFocusManager * getCurrentKeyboardFocusManager();
- static void setCurrentKeyboardFocusManager(::java::awt::KeyboardFocusManager *);
- virtual ::java::awt::Component * getFocusOwner();
- public: // actually protected
- virtual ::java::awt::Component * getGlobalFocusOwner();
- virtual void setGlobalFocusOwner(::java::awt::Component *);
- public:
- virtual void clearGlobalFocusOwner();
- virtual ::java::awt::Component * getPermanentFocusOwner();
- public: // actually protected
- virtual ::java::awt::Component * getGlobalPermanentFocusOwner();
- virtual void setGlobalPermanentFocusOwner(::java::awt::Component *);
- public:
- virtual ::java::awt::Window * getFocusedWindow();
- public: // actually protected
- virtual ::java::awt::Window * getGlobalFocusedWindow();
- virtual void setGlobalFocusedWindow(::java::awt::Window *);
- public:
- virtual ::java::awt::Window * getActiveWindow();
- public: // actually protected
- virtual ::java::awt::Window * getGlobalActiveWindow();
- virtual void setGlobalActiveWindow(::java::awt::Window *);
- public:
- virtual ::java::awt::FocusTraversalPolicy * getDefaultFocusTraversalPolicy();
- virtual void setDefaultFocusTraversalPolicy(::java::awt::FocusTraversalPolicy *);
- virtual void setDefaultFocusTraversalKeys(jint, ::java::util::Set *);
- virtual ::java::util::Set * getDefaultFocusTraversalKeys(jint);
- virtual ::java::awt::Container * getCurrentFocusCycleRoot();
- public: // actually protected
- virtual ::java::awt::Container * getGlobalCurrentFocusCycleRoot();
- public:
- virtual void setGlobalCurrentFocusCycleRoot(::java::awt::Container *);
- virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
- virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
- virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
- virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
- virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
- virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
- public: // actually protected
- virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
- public:
- virtual void addVetoableChangeListener(::java::beans::VetoableChangeListener *);
- virtual void removeVetoableChangeListener(::java::beans::VetoableChangeListener *);
- virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners();
- virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
- virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
- virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners(::java::lang::String *);
- public: // actually protected
- virtual void fireVetoableChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
- public:
- virtual void addKeyEventDispatcher(::java::awt::KeyEventDispatcher *);
- virtual void removeKeyEventDispatcher(::java::awt::KeyEventDispatcher *);
- public: // actually protected
- virtual ::java::util::List * getKeyEventDispatchers();
- public:
- virtual void addKeyEventPostProcessor(::java::awt::KeyEventPostProcessor *);
- virtual void removeKeyEventPostProcessor(::java::awt::KeyEventPostProcessor *);
- public: // actually protected
- virtual ::java::util::List * getKeyEventPostProcessors();
- public:
- virtual jboolean dispatchEvent(::java::awt::AWTEvent *) = 0;
- virtual void redispatchEvent(::java::awt::Component *, ::java::awt::AWTEvent *);
- virtual jboolean dispatchKeyEvent(::java::awt::event::KeyEvent *) = 0;
- virtual jboolean postProcessKeyEvent(::java::awt::event::KeyEvent *) = 0;
- virtual void processKeyEvent(::java::awt::Component *, ::java::awt::event::KeyEvent *) = 0;
- public: // actually protected
- virtual void enqueueKeyEvents(jlong, ::java::awt::Component *) = 0;
- virtual void dequeueKeyEvents(jlong, ::java::awt::Component *) = 0;
- virtual void discardKeyEvents(::java::awt::Component *) = 0;
- public:
- virtual void focusNextComponent(::java::awt::Component *) = 0;
- virtual void focusPreviousComponent(::java::awt::Component *) = 0;
- virtual void upFocusCycle(::java::awt::Component *) = 0;
- virtual void downFocusCycle(::java::awt::Container *) = 0;
- virtual void focusNextComponent();
- virtual void focusPreviousComponent();
- virtual void upFocusCycle();
- virtual void downFocusCycle();
- private:
- ::java::lang::Object * getObject(::java::util::Map *);
- ::java::lang::Object * getGlobalObject(::java::util::Map *, jboolean);
- void setGlobalObject(::java::util::Map *, ::java::lang::Object *, ::java::lang::String *);
- public: // actually package-private
- static ::java::awt::AWTEvent * retargetFocusEvent(::java::awt::AWTEvent *);
- static void addLightweightFocusRequest(::java::awt::Component *, ::java::awt::Component *);
- public:
- static const jint FORWARD_TRAVERSAL_KEYS = 0;
- static const jint BACKWARD_TRAVERSAL_KEYS = 1;
- static const jint UP_CYCLE_TRAVERSAL_KEYS = 2;
- static const jint DOWN_CYCLE_TRAVERSAL_KEYS = 3;
- private:
- static ::java::util::Set * DEFAULT_FORWARD_KEYS;
- static ::java::util::Set * DEFAULT_BACKWARD_KEYS;
- static ::java::util::Map * currentKeyboardFocusManagers;
- static ::java::util::Map * currentFocusOwners;
- static ::java::util::Map * currentPermanentFocusOwners;
- static ::java::util::Map * currentFocusedWindows;
- static ::java::util::Map * currentActiveWindows;
- static ::java::util::Map * currentFocusCycleRoots;
- ::java::awt::FocusTraversalPolicy * __attribute__((aligned(__alignof__( ::java::lang::Object)))) defaultPolicy;
- JArray< ::java::util::Set * > * defaultFocusKeys;
- ::java::beans::PropertyChangeSupport * propertyChangeSupport;
- ::java::beans::VetoableChangeSupport * vetoableChangeSupport;
- ::java::util::ArrayList * keyEventDispatchers;
- ::java::util::ArrayList * keyEventPostProcessors;
- static ::java::util::HashMap * focusRequests;
- public:
- static ::java::lang::Class class$;
- };
- #endif // __java_awt_KeyboardFocusManager__
|