diff options
Diffstat (limited to 'libjava/gnu/javax/swing/text/html/css')
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/BorderStyle.h | 42 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/BorderWidth.h | 42 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/CSSColor.h | 57 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/CSSLexicalException.h | 42 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/CSSParser$1.h | 48 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/CSSParser.h | 65 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/CSSParserCallback.h | 46 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/CSSParserException.h | 41 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/CSSScanner.h | 92 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/FontSize.h | 72 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/FontStyle.h | 45 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/FontWeight.h | 45 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/Length.h | 62 | ||||
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/Selector.h | 55 |
14 files changed, 754 insertions, 0 deletions
diff --git a/libjava/gnu/javax/swing/text/html/css/BorderStyle.h b/libjava/gnu/javax/swing/text/html/css/BorderStyle.h new file mode 100644 index 000000000..e8efa108f --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/BorderStyle.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_BorderStyle__ +#define __gnu_javax_swing_text_html_css_BorderStyle__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class BorderStyle; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::BorderStyle : public ::java::lang::Object +{ + +public: + BorderStyle(); + static jboolean isValidStyle(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_BorderStyle__ diff --git a/libjava/gnu/javax/swing/text/html/css/BorderWidth.h b/libjava/gnu/javax/swing/text/html/css/BorderWidth.h new file mode 100644 index 000000000..ce2878788 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/BorderWidth.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_BorderWidth__ +#define __gnu_javax_swing_text_html_css_BorderWidth__ + +#pragma interface + +#include <gnu/javax/swing/text/html/css/Length.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class BorderWidth; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::BorderWidth : public ::gnu::javax::swing::text::html::css::Length +{ + +public: + BorderWidth(::java::lang::String *); + static jboolean isValid(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_BorderWidth__ diff --git a/libjava/gnu/javax/swing/text/html/css/CSSColor.h b/libjava/gnu/javax/swing/text/html/css/CSSColor.h new file mode 100644 index 000000000..6896930e9 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/CSSColor.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_CSSColor__ +#define __gnu_javax_swing_text_html_css_CSSColor__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class CSSColor; + } + } + } + } + } + } + namespace java + { + namespace awt + { + class Color; + } + } +} + +class gnu::javax::swing::text::html::css::CSSColor : public ::java::lang::Object +{ + +public: + CSSColor(::java::lang::String *); + static ::java::awt::Color * convertValue(::java::lang::String *); + virtual ::java::awt::Color * getValue(); + virtual ::java::lang::String * toString(); + static jboolean isValidColor(::java::lang::String *); +private: + static ::java::util::HashMap * COLOR_MAP; + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) value; + ::java::awt::Color * color; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_CSSColor__ diff --git a/libjava/gnu/javax/swing/text/html/css/CSSLexicalException.h b/libjava/gnu/javax/swing/text/html/css/CSSLexicalException.h new file mode 100644 index 000000000..bcacf3220 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/CSSLexicalException.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_CSSLexicalException__ +#define __gnu_javax_swing_text_html_css_CSSLexicalException__ + +#pragma interface + +#include <java/io/IOException.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class CSSLexicalException; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::CSSLexicalException : public ::java::io::IOException +{ + +public: + CSSLexicalException(); + CSSLexicalException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_CSSLexicalException__ diff --git a/libjava/gnu/javax/swing/text/html/css/CSSParser$1.h b/libjava/gnu/javax/swing/text/html/css/CSSParser$1.h new file mode 100644 index 000000000..b4f0adc55 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/CSSParser$1.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_CSSParser$1__ +#define __gnu_javax_swing_text_html_css_CSSParser$1__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class CSSParser$1; + class Selector; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::CSSParser$1 : public ::java::lang::Object +{ + +public: // actually package-private + CSSParser$1(); +public: + virtual void startStatement(JArray< ::gnu::javax::swing::text::html::css::Selector * > *); + virtual void endStatement(); + virtual void declaration(::java::lang::String *, ::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_CSSParser$1__ diff --git a/libjava/gnu/javax/swing/text/html/css/CSSParser.h b/libjava/gnu/javax/swing/text/html/css/CSSParser.h new file mode 100644 index 000000000..f7cb01425 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/CSSParser.h @@ -0,0 +1,65 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_CSSParser__ +#define __gnu_javax_swing_text_html_css_CSSParser__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class CSSParser; + class CSSParserCallback; + class CSSScanner; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::CSSParser : public ::java::lang::Object +{ + +public: + CSSParser(::java::io::Reader *, ::gnu::javax::swing::text::html::css::CSSParserCallback *); + virtual void parse(); +private: + jboolean parseStylesheet(); + jboolean parseStatement(); + jboolean parseRuleset(); + jboolean parseDeclaration(); + jboolean parseValue(::java::lang::StringBuilder *); + jboolean parseSelector(::java::lang::StringBuilder *); + jboolean parseAny(::java::lang::StringBuilder *); + jboolean parseAtRule(); + jint readToken(); + jint peekToken(); +public: + static void main(JArray< ::java::lang::String * > *); +private: + ::gnu::javax::swing::text::html::css::CSSScanner * __attribute__((aligned(__alignof__( ::java::lang::Object)))) scanner; + ::gnu::javax::swing::text::html::css::CSSParserCallback * callback; + jint lookahead; + ::java::lang::String * error; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_CSSParser__ diff --git a/libjava/gnu/javax/swing/text/html/css/CSSParserCallback.h b/libjava/gnu/javax/swing/text/html/css/CSSParserCallback.h new file mode 100644 index 000000000..ce07b41e1 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/CSSParserCallback.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_CSSParserCallback__ +#define __gnu_javax_swing_text_html_css_CSSParserCallback__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class CSSParserCallback; + class Selector; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::CSSParserCallback : public ::java::lang::Object +{ + +public: + virtual void startStatement(JArray< ::gnu::javax::swing::text::html::css::Selector * > *) = 0; + virtual void endStatement() = 0; + virtual void declaration(::java::lang::String *, ::java::lang::String *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __gnu_javax_swing_text_html_css_CSSParserCallback__ diff --git a/libjava/gnu/javax/swing/text/html/css/CSSParserException.h b/libjava/gnu/javax/swing/text/html/css/CSSParserException.h new file mode 100644 index 000000000..9be56d4f3 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/CSSParserException.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_CSSParserException__ +#define __gnu_javax_swing_text_html_css_CSSParserException__ + +#pragma interface + +#include <java/io/IOException.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class CSSParserException; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::CSSParserException : public ::java::io::IOException +{ + +public: + CSSParserException(::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_CSSParserException__ diff --git a/libjava/gnu/javax/swing/text/html/css/CSSScanner.h b/libjava/gnu/javax/swing/text/html/css/CSSScanner.h new file mode 100644 index 000000000..0e6d7c5f0 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/CSSScanner.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_CSSScanner__ +#define __gnu_javax_swing_text_html_css_CSSScanner__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class CSSScanner; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::CSSScanner : public ::java::lang::Object +{ + +public: // actually package-private + CSSScanner(::java::io::Reader *); + virtual jint nextToken(); + virtual ::java::lang::String * currentTokenString(); +private: + jint read(); + void readIdent(); + void readEscape(); + void readName(); + void readString(); + void readWhitespace(); + void readURI(); + void readComment(); + void readNum(); +public: + static void main(JArray< ::java::lang::String * > *); +public: // actually package-private + static const jint IDENT = 1; + static const jint ATKEYWORD = 2; + static const jint STRING = 3; + static const jint INVALID = 4; + static const jint HASH = 5; + static const jint NUMBER = 6; + static const jint PERCENTAGE = 7; + static const jint DIMENSION = 8; + static const jint URI = 9; + static const jint UNICODE_RANGE = 10; + static const jint CDO = 11; + static const jint CDC = 12; + static const jint SEMICOLON = 13; + static const jint CURLY_LEFT = 14; + static const jint CURLY_RIGHT = 15; + static const jint PAREN_LEFT = 16; + static const jint PAREN_RIGHT = 17; + static const jint BRACE_LEFT = 16; + static const jint BRACE_RIGHT = 17; + static const jint S = 18; + static const jint COMMENT = 19; + static const jint FUNCTION = 20; + static const jint INCLUDES = 21; + static const jint DASHMATCH = 22; + static const jint DELIM = 23; + static const jint EOF = -1; +private: + ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) in; +public: // actually package-private + JArray< jchar > * parseBuffer; + jint tokenEnd; +private: + JArray< jint > * lookahead; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_CSSScanner__ diff --git a/libjava/gnu/javax/swing/text/html/css/FontSize.h b/libjava/gnu/javax/swing/text/html/css/FontSize.h new file mode 100644 index 000000000..52c4087fa --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/FontSize.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_FontSize__ +#define __gnu_javax_swing_text_html_css_FontSize__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class FontSize; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::FontSize : public ::java::lang::Object +{ + +public: + FontSize(::java::lang::String *); + virtual jint getValue(jint); + virtual jint getValue(); +private: + jint mapValue(); + jint mapPoints(); + jint mapPixels(); + jint mapPercent(jint); + jint mapEM(jint); + jint mapSmaller(jint); + jint mapLarger(jint); + jint mapAbsolute(); +public: + virtual ::java::lang::String * toString(); +private: + jint mapRelative(jint); +public: + virtual jboolean isRelative(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) value; + jint size; + jint sizeIndex; + jboolean isRelative__; +public: + static const jint DEFAULT_FONT_SIZE = 12; +private: + static JArray< jdouble > * SCALE; +public: // actually package-private + static jboolean $assertionsDisabled; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_FontSize__ diff --git a/libjava/gnu/javax/swing/text/html/css/FontStyle.h b/libjava/gnu/javax/swing/text/html/css/FontStyle.h new file mode 100644 index 000000000..b25be5b1e --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/FontStyle.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_FontStyle__ +#define __gnu_javax_swing_text_html_css_FontStyle__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class FontStyle; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::FontStyle : public ::java::lang::Object +{ + +public: + FontStyle(::java::lang::String *); + virtual jint getValue(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) value; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_FontStyle__ diff --git a/libjava/gnu/javax/swing/text/html/css/FontWeight.h b/libjava/gnu/javax/swing/text/html/css/FontWeight.h new file mode 100644 index 000000000..17adbbe95 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/FontWeight.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_FontWeight__ +#define __gnu_javax_swing_text_html_css_FontWeight__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class FontWeight; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::FontWeight : public ::java::lang::Object +{ + +public: + FontWeight(::java::lang::String *); + virtual jint getValue(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) value; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_FontWeight__ diff --git a/libjava/gnu/javax/swing/text/html/css/Length.h b/libjava/gnu/javax/swing/text/html/css/Length.h new file mode 100644 index 000000000..0eb88bff2 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/Length.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_Length__ +#define __gnu_javax_swing_text_html_css_Length__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Length; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::Length : public ::java::lang::Object +{ + +public: + Length(::java::lang::String *); + virtual jfloat getValue(); + virtual jfloat getValue(jfloat); + virtual void setEMBase(jfloat); + virtual void setEXBase(jfloat); + virtual void setFontBases(jfloat, jfloat); + virtual jboolean isFontEMRelative(); + virtual jboolean isFontEXRelative(); + virtual jboolean isPercentage(); + static jboolean isValid(::java::lang::String *); + virtual ::java::lang::String * toString(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) value; +public: // actually protected + jfloat floatValue; +private: + jboolean isPercentage__; + jboolean isFontEMRelative__; + jboolean isFontEXRelative__; + jfloat emBase; + jfloat exBase; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_Length__ diff --git a/libjava/gnu/javax/swing/text/html/css/Selector.h b/libjava/gnu/javax/swing/text/html/css/Selector.h new file mode 100644 index 000000000..ba2ba7b5d --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/Selector.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_Selector__ +#define __gnu_javax_swing_text_html_css_Selector__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class Selector; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::Selector : public ::java::lang::Object +{ + +public: + Selector(::java::lang::String *); + virtual jboolean matches(JArray< ::java::lang::String * > *, ::java::util::List *); + virtual jint getSpecificity(); + virtual ::java::lang::String * toString(); +private: + void calculateSpecificity(); + JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) selector; + JArray< ::java::lang::String * > * elements; + JArray< ::java::lang::String * > * ids; + JArray< ::java::lang::String * > * classes; + jint specificity; + jboolean implicit; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_Selector__ |