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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [JList.h] - Blame information for rev 774

Go to most recent revision | 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_JList__
5
#define __javax_swing_JList__
6
 
7
#pragma interface
8
 
9
#include <javax/swing/JComponent.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 Point;
21
        class Rectangle;
22
    }
23
  }
24
  namespace javax
25
  {
26
    namespace accessibility
27
    {
28
        class AccessibleContext;
29
    }
30
    namespace swing
31
    {
32
        class JList;
33
        class JList$ListListener;
34
        class ListCellRenderer;
35
        class ListModel;
36
        class ListSelectionModel;
37
      namespace event
38
      {
39
          class ListSelectionListener;
40
      }
41
      namespace plaf
42
      {
43
          class ListUI;
44
      }
45
      namespace text
46
      {
47
          class Position$Bias;
48
      }
49
    }
50
  }
51
}
52
 
53
class javax::swing::JList : public ::javax::swing::JComponent
54
{
55
 
56
public: // actually protected
57
  virtual void fireSelectionValueChanged(jint, jint, jboolean);
58
public:
59
  JList();
60
  JList(JArray< ::java::lang::Object * > *);
61
  JList(::java::util::Vector *);
62
  JList(::javax::swing::ListModel *);
63
private:
64
  void init(::javax::swing::ListModel *);
65
public: // actually protected
66
  virtual ::javax::swing::ListSelectionModel * createSelectionModel();
67
public:
68
  virtual jint getFixedCellHeight();
69
  virtual void setFixedCellHeight(jint);
70
  virtual jint getFixedCellWidth();
71
  virtual void setFixedCellWidth(jint);
72
  virtual jint getVisibleRowCount();
73
  virtual void setVisibleRowCount(jint);
74
  virtual void addListSelectionListener(::javax::swing::event::ListSelectionListener *);
75
  virtual void removeListSelectionListener(::javax::swing::event::ListSelectionListener *);
76
  virtual JArray< ::javax::swing::event::ListSelectionListener * > * getListSelectionListeners();
77
  virtual jint getSelectionMode();
78
  virtual void setSelectionMode(jint);
79
  virtual void setSelectedIndex(jint);
80
  virtual void setSelectedIndices(JArray< jint > *);
81
  virtual jint getSelectedIndex();
82
  virtual jboolean isSelectionEmpty();
83
  virtual jint getFirstVisibleIndex();
84
  virtual jint locationToIndex(::java::awt::Point *);
85
  virtual ::java::awt::Point * indexToLocation(jint);
86
  virtual jint getLastVisibleIndex();
87
  virtual JArray< jint > * getSelectedIndices();
88
  virtual jboolean isSelectedIndex(jint);
89
  virtual ::java::lang::Object * getSelectedValue();
90
  virtual JArray< ::java::lang::Object * > * getSelectedValues();
91
  virtual ::java::awt::Color * getSelectionBackground();
92
  virtual void setSelectionBackground(::java::awt::Color *);
93
  virtual ::java::awt::Color * getSelectionForeground();
94
  virtual void setSelectionForeground(::java::awt::Color *);
95
  virtual void setSelectedValue(::java::lang::Object *, jboolean);
96
  virtual void ensureIndexIsVisible(jint);
97
  virtual void setListData(JArray< ::java::lang::Object * > *);
98
private:
99
  ::javax::swing::ListModel * createListModel(JArray< ::java::lang::Object * > *);
100
  ::javax::swing::ListModel * createListModel(::java::util::Vector *);
101
public:
102
  virtual void setListData(::java::util::Vector *);
103
  virtual ::javax::swing::ListCellRenderer * getCellRenderer();
104
  virtual void setCellRenderer(::javax::swing::ListCellRenderer *);
105
  virtual ::javax::swing::ListModel * getModel();
106
  virtual void setModel(::javax::swing::ListModel *);
107
  virtual ::javax::swing::ListSelectionModel * getSelectionModel();
108
  virtual void setSelectionModel(::javax::swing::ListSelectionModel *);
109
  virtual ::javax::swing::plaf::ListUI * getUI();
110
  virtual void setUI(::javax::swing::plaf::ListUI *);
111
  virtual void updateUI();
112
  virtual ::java::lang::String * getUIClassID();
113
  virtual ::java::lang::Object * getPrototypeCellValue();
114
  virtual void setPrototypeCellValue(::java::lang::Object *);
115
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
116
  virtual ::java::awt::Dimension * getPreferredScrollableViewportSize();
117
  virtual jint getScrollableUnitIncrement(::java::awt::Rectangle *, jint, jint);
118
  virtual jint getScrollableBlockIncrement(::java::awt::Rectangle *, jint, jint);
119
  virtual jboolean getScrollableTracksViewportWidth();
120
  virtual jboolean getScrollableTracksViewportHeight();
121
  virtual jint getAnchorSelectionIndex();
122
  virtual jint getLeadSelectionIndex();
123
  virtual jint getMinSelectionIndex();
124
  virtual jint getMaxSelectionIndex();
125
  virtual void clearSelection();
126
  virtual void setSelectionInterval(jint, jint);
127
  virtual void addSelectionInterval(jint, jint);
128
  virtual void removeSelectionInterval(jint, jint);
129
  virtual jboolean getValueIsAdjusting();
130
  virtual void setValueIsAdjusting(jboolean);
131
  virtual jboolean getDragEnabled();
132
  virtual void setDragEnabled(jboolean);
133
  virtual jint getLayoutOrientation();
134
  virtual void setLayoutOrientation(jint);
135
  virtual ::java::awt::Rectangle * getCellBounds(jint, jint);
136
  virtual jint getNextMatch(::java::lang::String *, jint, ::javax::swing::text::Position$Bias *);
137
public: // actually protected
138
  virtual ::java::lang::String * paramString();
139
private:
140
  static const jlong serialVersionUID = 4406629526391098046LL;
141
public:
142
  static const jint VERTICAL = 0;
143
  static const jint VERTICAL_WRAP = 1;
144
  static const jint HORIZONTAL_WRAP = 2;
145
public: // actually package-private
146
  jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) dragEnabled;
147
  ::javax::swing::ListCellRenderer * cellRenderer;
148
  jint fixedCellWidth;
149
  jint fixedCellHeight;
150
  jint layoutOrientation;
151
  ::javax::swing::ListModel * model;
152
  ::java::lang::Object * prototypeCellValue;
153
  ::java::awt::Color * selectionBackground;
154
  ::java::awt::Color * selectionForeground;
155
  ::javax::swing::ListSelectionModel * selectionModel;
156
  jint visibleRowCount;
157
  ::javax::swing::JList$ListListener * listListener;
158
public:
159
  static ::java::lang::Class class$;
160
};
161
 
162
#endif // __javax_swing_JList__

powered by: WebSVN 2.1.0

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