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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [text/] [View.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_text_View__
5
#define __javax_swing_text_View__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Container;
19
        class Graphics;
20
        class Shape;
21
    }
22
  }
23
  namespace javax
24
  {
25
    namespace swing
26
    {
27
      namespace event
28
      {
29
          class DocumentEvent;
30
          class DocumentEvent$ElementChange;
31
      }
32
      namespace text
33
      {
34
          class AttributeSet;
35
          class Document;
36
          class Element;
37
          class Position$Bias;
38
          class View;
39
          class ViewFactory;
40
      }
41
    }
42
  }
43
}
44
 
45
class javax::swing::text::View : public ::java::lang::Object
46
{
47
 
48
public:
49
  View(::javax::swing::text::Element *);
50
  virtual void paint(::java::awt::Graphics *, ::java::awt::Shape *) = 0;
51
  virtual void setParent(::javax::swing::text::View *);
52
  virtual ::javax::swing::text::View * getParent();
53
  virtual ::java::awt::Container * getContainer();
54
  virtual ::javax::swing::text::Document * getDocument();
55
  virtual ::javax::swing::text::Element * getElement();
56
  virtual jfloat getPreferredSpan(jint) = 0;
57
  virtual jint getResizeWeight(jint);
58
  virtual jfloat getMaximumSpan(jint);
59
  virtual jfloat getMinimumSpan(jint);
60
  virtual void setSize(jfloat, jfloat);
61
  virtual jfloat getAlignment(jint);
62
  virtual ::javax::swing::text::AttributeSet * getAttributes();
63
  virtual jboolean isVisible();
64
  virtual jint getViewCount();
65
  virtual ::javax::swing::text::View * getView(jint);
66
  virtual ::javax::swing::text::ViewFactory * getViewFactory();
67
  virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *);
68
  virtual void insert(jint, ::javax::swing::text::View *);
69
  virtual void append(::javax::swing::text::View *);
70
  virtual void removeAll();
71
  virtual void remove(jint);
72
  virtual ::javax::swing::text::View * createFragment(jint, jint);
73
  virtual jint getStartOffset();
74
  virtual jint getEndOffset();
75
  virtual ::java::awt::Shape * getChildAllocation(jint, ::java::awt::Shape *);
76
  virtual jint getViewIndex(jfloat, jfloat, ::java::awt::Shape *);
77
  virtual ::java::lang::String * getToolTipText(jfloat, jfloat, ::java::awt::Shape *);
78
  virtual ::java::awt::Graphics * getGraphics();
79
  virtual void preferenceChanged(::javax::swing::text::View *, jboolean, jboolean);
80
  virtual jint getBreakWeight(jint, jfloat, jfloat);
81
  virtual ::javax::swing::text::View * breakView(jint, jint, jfloat, jfloat);
82
  virtual jint getViewIndex(jint, ::javax::swing::text::Position$Bias *);
83
  virtual void insertUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
84
  virtual void removeUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
85
  virtual void changedUpdate(::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
86
public: // actually protected
87
  virtual jboolean updateChildren(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::javax::swing::text::ViewFactory *);
88
  virtual void forwardUpdate(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
89
  virtual void forwardUpdateToView(::javax::swing::text::View *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
90
  virtual void updateLayout(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *);
91
public:
92
  virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *, ::javax::swing::text::Position$Bias *) = 0;
93
  virtual ::java::awt::Shape * modelToView(jint, ::javax::swing::text::Position$Bias *, jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *);
94
  virtual ::java::awt::Shape * modelToView(jint, ::java::awt::Shape *);
95
  virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *, JArray< ::javax::swing::text::Position$Bias * > *) = 0;
96
  virtual jint viewToModel(jfloat, jfloat, ::java::awt::Shape *);
97
public: // actually protected
98
  virtual void dump();
99
public: // actually package-private
100
  virtual void dump(jint);
101
public:
102
  virtual jint getNextVisualPositionFrom(jint, ::javax::swing::text::Position$Bias *, ::java::awt::Shape *, jint, JArray< ::javax::swing::text::Position$Bias * > *);
103
  static const jint BadBreakWeight = 0;
104
  static const jint ExcellentBreakWeight = 2000;
105
  static const jint ForcedBreakWeight = 3000;
106
  static const jint GoodBreakWeight = 1000;
107
  static const jint X_AXIS = 0;
108
  static const jint Y_AXIS = 1;
109
private:
110
  ::javax::swing::text::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) elt;
111
  ::javax::swing::text::View * parent;
112
public:
113
  static ::java::lang::Class class$;
114
};
115
 
116
#endif // __javax_swing_text_View__

powered by: WebSVN 2.1.0

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