summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/basic/BasicComboPopup.h
blob: 7dfc5250628c30385920641a7b9950a0263eb66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_plaf_basic_BasicComboPopup__
#define __javax_swing_plaf_basic_BasicComboPopup__

#pragma interface

#include <javax/swing/JPopupMenu.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Rectangle;
      namespace event
      {
          class ItemListener;
          class KeyListener;
          class MouseEvent;
          class MouseListener;
          class MouseMotionListener;
      }
    }
    namespace beans
    {
        class PropertyChangeListener;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class ComboBoxModel;
        class JComboBox;
        class JList;
        class JScrollPane;
        class Timer;
      namespace event
      {
          class ListDataListener;
          class ListSelectionListener;
      }
      namespace plaf
      {
        namespace basic
        {
            class BasicComboPopup;
        }
      }
    }
  }
}

class javax::swing::plaf::basic::BasicComboPopup : public ::javax::swing::JPopupMenu
{

public:
  BasicComboPopup(::javax::swing::JComboBox *);
  virtual void show();
  virtual void hide();
  virtual ::javax::swing::JList * getList();
  virtual ::java::awt::event::MouseListener * getMouseListener();
  virtual ::java::awt::event::MouseMotionListener * getMouseMotionListener();
  virtual ::java::awt::event::KeyListener * getKeyListener();
  virtual void uninstallingUI();
public: // actually protected
  virtual void uninstallComboBoxModelListeners(::javax::swing::ComboBoxModel *);
  virtual void uninstallKeyboardActions();
  virtual void firePopupMenuWillBecomeVisible();
  virtual void firePopupMenuWillBecomeInvisible();
  virtual void firePopupMenuCanceled();
  virtual ::java::awt::event::MouseListener * createMouseListener();
  virtual ::java::awt::event::MouseMotionListener * createMouseMotionListener();
  virtual ::java::awt::event::KeyListener * createKeyListener();
  virtual ::javax::swing::event::ListSelectionListener * createListSelectionListener();
  virtual ::javax::swing::event::ListDataListener * createListDataListener();
  virtual ::java::awt::event::MouseListener * createListMouseListener();
  virtual ::java::awt::event::MouseMotionListener * createListMouseMotionListener();
  virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener();
  virtual ::java::awt::event::ItemListener * createItemListener();
  virtual ::javax::swing::JList * createList();
  virtual void configureList();
  virtual void installListListeners();
  virtual ::javax::swing::JScrollPane * createScroller();
  virtual void configureScroller();
  virtual void configurePopup();
  virtual void installComboBoxListeners();
  virtual void installComboBoxModelListeners(::javax::swing::ComboBoxModel *);
  virtual void installKeyboardActions();
public:
  virtual jboolean isFocusTraversable();
public: // actually protected
  virtual void startAutoScrolling(jint);
  virtual void stopAutoScrolling();
  virtual void autoScrollUp();
  virtual void autoScrollDown();
  virtual void delegateFocus(::java::awt::event::MouseEvent *);
  virtual void togglePopup();
  virtual ::java::awt::event::MouseEvent * convertMouseEvent(::java::awt::event::MouseEvent *);
  virtual jint getPopupHeightForRowCount(jint);
  virtual ::java::awt::Rectangle * computePopupBounds(jint, jint, jint, jint);
  virtual void updateListBoxSelectionForEvent(::java::awt::event::MouseEvent *, jboolean);
private:
  void uninstallListListeners();
public: // actually package-private
  virtual void syncListSelection();
public: // actually protected
  ::javax::swing::Timer * __attribute__((aligned(__alignof__( ::javax::swing::JPopupMenu)))) autoscrollTimer;
  ::javax::swing::JComboBox * comboBox;
  jboolean hasEntered;
  jboolean isAutoScrolling;
  ::java::awt::event::ItemListener * itemListener;
  ::java::awt::event::KeyListener * keyListener;
  ::javax::swing::JList * list;
  ::javax::swing::event::ListDataListener * listDataListener;
  ::java::awt::event::MouseListener * listMouseListener;
  ::java::awt::event::MouseMotionListener * listMouseMotionListener;
  ::javax::swing::event::ListSelectionListener * listSelectionListener;
  ::java::awt::event::MouseListener * mouseListener;
  ::java::awt::event::MouseMotionListener * mouseMotionListener;
  ::java::beans::PropertyChangeListener * propertyChangeListener;
  static const jint SCROLL_DOWN = 1;
  static const jint SCROLL_UP = 0;
  jint scrollDirection;
  ::javax::swing::JScrollPane * scroller;
  jboolean valueIsAdjusting;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_basic_BasicComboPopup__