OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [plaf/] [basic/] [BasicMenuItemUI.h] - Blame information for rev 759

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_plaf_basic_BasicMenuItemUI__
5
#define __javax_swing_plaf_basic_BasicMenuItemUI__
6
 
7
#pragma interface
8
 
9
#include <javax/swing/plaf/MenuItemUI.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Color;
19
        class Dimension;
20
        class Font;
21
        class Graphics;
22
        class Rectangle;
23
      namespace event
24
      {
25
          class ItemListener;
26
      }
27
    }
28
  }
29
  namespace javax
30
  {
31
    namespace swing
32
    {
33
        class Icon;
34
        class JComponent;
35
        class JMenuItem;
36
        class MenuElement;
37
        class MenuSelectionManager;
38
      namespace event
39
      {
40
          class MenuDragMouseListener;
41
          class MenuKeyListener;
42
          class MouseInputListener;
43
      }
44
      namespace plaf
45
      {
46
          class ComponentUI;
47
        namespace basic
48
        {
49
            class BasicMenuItemUI;
50
            class BasicMenuItemUI$PropertyChangeHandler;
51
        }
52
      }
53
    }
54
  }
55
}
56
 
57
class javax::swing::plaf::basic::BasicMenuItemUI : public ::javax::swing::plaf::MenuItemUI
58
{
59
 
60
public:
61
  BasicMenuItemUI();
62
public: // actually protected
63
  virtual ::javax::swing::event::MenuDragMouseListener * createMenuDragMouseListener(::javax::swing::JComponent *);
64
  virtual ::javax::swing::event::MenuKeyListener * createMenuKeyListener(::javax::swing::JComponent *);
65
  virtual ::javax::swing::event::MouseInputListener * createMouseInputListener(::javax::swing::JComponent *);
66
public:
67
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
68
public: // actually protected
69
  virtual void doClick(::javax::swing::MenuSelectionManager *);
70
public:
71
  virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
72
  virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
73
  virtual JArray< ::javax::swing::MenuElement * > * getPath();
74
public: // actually protected
75
  virtual ::java::awt::Dimension * getPreferredMenuItemSize(::javax::swing::JComponent *, ::javax::swing::Icon *, ::javax::swing::Icon *, jint);
76
public:
77
  virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
78
public: // actually protected
79
  virtual ::java::lang::String * getPropertyPrefix();
80
  virtual void installComponents(::javax::swing::JMenuItem *);
81
  virtual void installDefaults();
82
  virtual void installKeyboardActions();
83
  virtual void installListeners();
84
public:
85
  virtual void installUI(::javax::swing::JComponent *);
86
  virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
87
public: // actually protected
88
  virtual void paintBackground(::java::awt::Graphics *, ::javax::swing::JMenuItem *, ::java::awt::Color *);
89
  virtual void paintMenuItem(::java::awt::Graphics *, ::javax::swing::JComponent *, ::javax::swing::Icon *, ::javax::swing::Icon *, ::java::awt::Color *, ::java::awt::Color *, jint);
90
  virtual void paintText(::java::awt::Graphics *, ::javax::swing::JMenuItem *, ::java::awt::Rectangle *, ::java::lang::String *);
91
  virtual void uninstallComponents(::javax::swing::JMenuItem *);
92
  virtual void uninstallDefaults();
93
  virtual void uninstallKeyboardActions();
94
  virtual void uninstallListeners();
95
public:
96
  virtual void uninstallUI(::javax::swing::JComponent *);
97
  virtual void update(::java::awt::Graphics *, ::javax::swing::JComponent *);
98
private:
99
  ::java::lang::String * getAcceleratorString(::javax::swing::JMenuItem *);
100
  void resetRectangles(::javax::swing::JMenuItem *);
101
  void layoutMenuItem(::javax::swing::JMenuItem *, ::java::lang::String *);
102
public: // actually protected
103
  ::java::awt::Font * __attribute__((aligned(__alignof__( ::javax::swing::plaf::MenuItemUI)))) acceleratorFont;
104
  ::java::awt::Color * acceleratorForeground;
105
  ::java::awt::Color * acceleratorSelectionForeground;
106
  ::javax::swing::Icon * arrowIcon;
107
  ::javax::swing::Icon * checkIcon;
108
  jint defaultTextIconGap;
109
  ::java::awt::Color * disabledForeground;
110
  ::javax::swing::event::MenuDragMouseListener * menuDragMouseListener;
111
  ::javax::swing::JMenuItem * menuItem;
112
  ::javax::swing::event::MenuKeyListener * menuKeyListener;
113
  ::javax::swing::event::MouseInputListener * mouseInputListener;
114
  jboolean oldBorderPainted;
115
  ::java::awt::Color * selectionBackground;
116
  ::java::awt::Color * selectionForeground;
117
private:
118
  ::java::lang::String * acceleratorDelimiter;
119
  ::java::awt::event::ItemListener * itemListener;
120
  ::javax::swing::plaf::basic::BasicMenuItemUI$PropertyChangeHandler * propertyChangeListener;
121
  ::java::awt::Rectangle * viewRect;
122
  ::java::awt::Rectangle * textRect;
123
  ::java::awt::Rectangle * accelRect;
124
  ::java::awt::Rectangle * iconRect;
125
  ::java::awt::Rectangle * arrowIconRect;
126
  ::java::awt::Rectangle * checkIconRect;
127
  ::java::awt::Rectangle * cachedRect;
128
public:
129
  static ::java::lang::Class class$;
130
};
131
 
132
#endif // __javax_swing_plaf_basic_BasicMenuItemUI__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.