diff options
Diffstat (limited to 'libjava/javax/swing/plaf/synth')
-rw-r--r-- | libjava/javax/swing/plaf/synth/ColorType.h | 49 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/synth/Region.h | 102 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/synth/SynthConstants.h | 41 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/synth/SynthContext.h | 48 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/synth/SynthGraphicsUtils.h | 58 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/synth/SynthLookAndFeel.h | 67 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/synth/SynthPainter.h | 156 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/synth/SynthStyle.h | 68 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/synth/SynthStyleFactory.h | 39 |
9 files changed, 628 insertions, 0 deletions
diff --git a/libjava/javax/swing/plaf/synth/ColorType.h b/libjava/javax/swing/plaf/synth/ColorType.h new file mode 100644 index 000000000..99a238cf3 --- /dev/null +++ b/libjava/javax/swing/plaf/synth/ColorType.h @@ -0,0 +1,49 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_ColorType__ +#define __javax_swing_plaf_synth_ColorType__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace plaf + { + namespace synth + { + class ColorType; + } + } + } + } +} + +class javax::swing::plaf::synth::ColorType : public ::java::lang::Object +{ + +public: // actually protected + ColorType(::java::lang::String *); +public: + virtual jint getID(); + virtual ::java::lang::String * toString(); + static ::javax::swing::plaf::synth::ColorType * FOREGROUND; + static ::javax::swing::plaf::synth::ColorType * BACKGROUND; + static ::javax::swing::plaf::synth::ColorType * TEXT_FOREGROUND; + static ::javax::swing::plaf::synth::ColorType * TEXT_BACKGROUND; + static ::javax::swing::plaf::synth::ColorType * FOCUS; + static jint MAX_COUNT; +private: + static jint count; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) id; + ::java::lang::String * description; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_synth_ColorType__ diff --git a/libjava/javax/swing/plaf/synth/Region.h b/libjava/javax/swing/plaf/synth/Region.h new file mode 100644 index 000000000..1df2b4f9f --- /dev/null +++ b/libjava/javax/swing/plaf/synth/Region.h @@ -0,0 +1,102 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_Region__ +#define __javax_swing_plaf_synth_Region__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace plaf + { + namespace synth + { + class Region; + } + } + } + } +} + +class javax::swing::plaf::synth::Region : public ::java::lang::Object +{ + +public: // actually protected + Region(::java::lang::String *, ::java::lang::String *, jboolean); +public: + virtual jboolean isSubregion(); + virtual ::java::lang::String * getName(); + virtual ::java::lang::String * toString(); + static ::javax::swing::plaf::synth::Region * ARROW_BUTTON; + static ::javax::swing::plaf::synth::Region * BUTTON; + static ::javax::swing::plaf::synth::Region * CHECK_BOX; + static ::javax::swing::plaf::synth::Region * CHECK_BOX_MENU_ITEM; + static ::javax::swing::plaf::synth::Region * COLOR_CHOOSER; + static ::javax::swing::plaf::synth::Region * COMBO_BOX; + static ::javax::swing::plaf::synth::Region * DESKTOP_PANE; + static ::javax::swing::plaf::synth::Region * DESKTOP_ICON; + static ::javax::swing::plaf::synth::Region * EDITOR_PANE; + static ::javax::swing::plaf::synth::Region * FILE_CHOOSER; + static ::javax::swing::plaf::synth::Region * FORMATTED_TEXT_FIELD; + static ::javax::swing::plaf::synth::Region * INTERNAL_FRAME; + static ::javax::swing::plaf::synth::Region * INTERNAL_FRAME_TITLE_PANE; + static ::javax::swing::plaf::synth::Region * LABEL; + static ::javax::swing::plaf::synth::Region * LIST; + static ::javax::swing::plaf::synth::Region * MENU; + static ::javax::swing::plaf::synth::Region * MENU_BAR; + static ::javax::swing::plaf::synth::Region * MENU_ITEM; + static ::javax::swing::plaf::synth::Region * MENU_ITEM_ACCELERATOR; + static ::javax::swing::plaf::synth::Region * OPTION_PANE; + static ::javax::swing::plaf::synth::Region * PANEL; + static ::javax::swing::plaf::synth::Region * PASSWORD_FIELD; + static ::javax::swing::plaf::synth::Region * POPUP_MENU; + static ::javax::swing::plaf::synth::Region * POPUP_MENU_SEPARATOR; + static ::javax::swing::plaf::synth::Region * PROGRESS_BAR; + static ::javax::swing::plaf::synth::Region * RADIO_BUTTON; + static ::javax::swing::plaf::synth::Region * RADIO_BUTTON_MENU_ITEM; + static ::javax::swing::plaf::synth::Region * ROOT_PANE; + static ::javax::swing::plaf::synth::Region * SCROLL_BAR; + static ::javax::swing::plaf::synth::Region * SCROLL_BAR_TRACK; + static ::javax::swing::plaf::synth::Region * SCROLL_BAR_THUMB; + static ::javax::swing::plaf::synth::Region * SCROLL_PANE; + static ::javax::swing::plaf::synth::Region * SEPARATOR; + static ::javax::swing::plaf::synth::Region * SLIDER; + static ::javax::swing::plaf::synth::Region * SLIDER_TRACK; + static ::javax::swing::plaf::synth::Region * SLIDER_THUMB; + static ::javax::swing::plaf::synth::Region * SPINNER; + static ::javax::swing::plaf::synth::Region * SPLIT_PANE; + static ::javax::swing::plaf::synth::Region * SPLIT_PANE_DIVIDER; + static ::javax::swing::plaf::synth::Region * TABBED_PANE; + static ::javax::swing::plaf::synth::Region * TABBED_PANE_TAB; + static ::javax::swing::plaf::synth::Region * TABBED_PANE_TAB_AREA; + static ::javax::swing::plaf::synth::Region * TABBED_PANE_CONTENT; + static ::javax::swing::plaf::synth::Region * TABLE; + static ::javax::swing::plaf::synth::Region * TABLE_HEADER; + static ::javax::swing::plaf::synth::Region * TEXT_AREA; + static ::javax::swing::plaf::synth::Region * TEXT_FIELD; + static ::javax::swing::plaf::synth::Region * TEXT_PANE; + static ::javax::swing::plaf::synth::Region * TOGGLE_BUTTON; + static ::javax::swing::plaf::synth::Region * TOOL_BAR; + static ::javax::swing::plaf::synth::Region * TOOL_BAR_CONTENT; + static ::javax::swing::plaf::synth::Region * TOOL_BAR_DRAG_WINDOW; + static ::javax::swing::plaf::synth::Region * TOOL_TIP; + static ::javax::swing::plaf::synth::Region * TOOL_BAR_SEPARATOR; + static ::javax::swing::plaf::synth::Region * TREE; + static ::javax::swing::plaf::synth::Region * TREE_CELL; + static ::javax::swing::plaf::synth::Region * VIEWPORT; +public: // actually package-private + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ui; +private: + ::java::lang::String * name; + jboolean subregion; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_synth_Region__ diff --git a/libjava/javax/swing/plaf/synth/SynthConstants.h b/libjava/javax/swing/plaf/synth/SynthConstants.h new file mode 100644 index 000000000..a6ae6deb8 --- /dev/null +++ b/libjava/javax/swing/plaf/synth/SynthConstants.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_SynthConstants__ +#define __javax_swing_plaf_synth_SynthConstants__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + namespace plaf + { + namespace synth + { + class SynthConstants; + } + } + } + } +} + +class javax::swing::plaf::synth::SynthConstants : public ::java::lang::Object +{ + +public: + static const jint ENABLED = 1; + static const jint DISABLED = 8; + static const jint MOUSE_OVER = 2; + static const jint PRESSED = 4; + static const jint FOCUSED = 256; + static const jint SELECTED = 512; + static const jint DEFAULT = 1024; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_swing_plaf_synth_SynthConstants__ diff --git a/libjava/javax/swing/plaf/synth/SynthContext.h b/libjava/javax/swing/plaf/synth/SynthContext.h new file mode 100644 index 000000000..7e2eadb6d --- /dev/null +++ b/libjava/javax/swing/plaf/synth/SynthContext.h @@ -0,0 +1,48 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_SynthContext__ +#define __javax_swing_plaf_synth_SynthContext__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class JComponent; + namespace plaf + { + namespace synth + { + class Region; + class SynthContext; + class SynthStyle; + } + } + } + } +} + +class javax::swing::plaf::synth::SynthContext : public ::java::lang::Object +{ + +public: + SynthContext(::javax::swing::JComponent *, ::javax::swing::plaf::synth::Region *, ::javax::swing::plaf::synth::SynthStyle *, jint); + virtual ::javax::swing::JComponent * getComponent(); + virtual ::javax::swing::plaf::synth::Region * getRegion(); + virtual ::javax::swing::plaf::synth::SynthStyle * getStyle(); + virtual jint getComponentState(); +private: + ::javax::swing::JComponent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) component; + ::javax::swing::plaf::synth::Region * region; + ::javax::swing::plaf::synth::SynthStyle * style; + jint state; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_synth_SynthContext__ diff --git a/libjava/javax/swing/plaf/synth/SynthGraphicsUtils.h b/libjava/javax/swing/plaf/synth/SynthGraphicsUtils.h new file mode 100644 index 000000000..36c09c1a0 --- /dev/null +++ b/libjava/javax/swing/plaf/synth/SynthGraphicsUtils.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_SynthGraphicsUtils__ +#define __javax_swing_plaf_synth_SynthGraphicsUtils__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Dimension; + class Font; + class FontMetrics; + class Graphics; + class Rectangle; + } + } + namespace javax + { + namespace swing + { + class Icon; + namespace plaf + { + namespace synth + { + class SynthContext; + class SynthGraphicsUtils; + } + } + } + } +} + +class javax::swing::plaf::synth::SynthGraphicsUtils : public ::java::lang::Object +{ + +public: + SynthGraphicsUtils(); + virtual void drawLine(::javax::swing::plaf::synth::SynthContext *, ::java::lang::Object *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual ::java::lang::String * layoutText(::javax::swing::plaf::synth::SynthContext *, ::java::awt::FontMetrics *, ::java::lang::String *, ::javax::swing::Icon *, jint, jint, jint, jint, ::java::awt::Rectangle *, ::java::awt::Rectangle *, ::java::awt::Rectangle *, jint); + virtual jint computeStringWidth(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Font *, ::java::awt::FontMetrics *, ::java::lang::String *); + virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Font *, ::java::lang::String *, ::javax::swing::Icon *, jint, jint, jint, jint, jint, jint); + virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Font *, ::java::lang::String *, ::javax::swing::Icon *, jint, jint, jint, jint, jint, jint); + virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Font *, ::java::lang::String *, ::javax::swing::Icon *, jint, jint, jint, jint, jint, jint); + virtual jint getMaximumCharHeight(::javax::swing::plaf::synth::SynthContext *); + virtual void paintText(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, ::java::lang::String *, ::java::awt::Rectangle *, jint); + virtual void paintText(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, ::java::lang::String *, jint, jint, jint); + virtual void paintText(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, ::java::lang::String *, ::javax::swing::Icon *, jint, jint, jint, jint, jint, jint, jint); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_synth_SynthGraphicsUtils__ diff --git a/libjava/javax/swing/plaf/synth/SynthLookAndFeel.h b/libjava/javax/swing/plaf/synth/SynthLookAndFeel.h new file mode 100644 index 000000000..d0b40a878 --- /dev/null +++ b/libjava/javax/swing/plaf/synth/SynthLookAndFeel.h @@ -0,0 +1,67 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_SynthLookAndFeel__ +#define __javax_swing_plaf_synth_SynthLookAndFeel__ + +#pragma interface + +#include <javax/swing/plaf/basic/BasicLookAndFeel.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + } + } + namespace javax + { + namespace swing + { + class JComponent; + class UIDefaults; + namespace plaf + { + class ComponentUI; + namespace synth + { + class Region; + class SynthLookAndFeel; + class SynthStyle; + class SynthStyleFactory; + } + } + } + } +} + +class javax::swing::plaf::synth::SynthLookAndFeel : public ::javax::swing::plaf::basic::BasicLookAndFeel +{ + +public: + SynthLookAndFeel(); + static void setStyleFactory(::javax::swing::plaf::synth::SynthStyleFactory *); + static ::javax::swing::plaf::synth::SynthStyleFactory * getStyleFactory(); + static ::javax::swing::plaf::synth::SynthStyle * getStyle(::javax::swing::JComponent *, ::javax::swing::plaf::synth::Region *); + static void updateStyles(::java::awt::Component *); + static ::javax::swing::plaf::synth::Region * getRegion(::javax::swing::JComponent *); + static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *); + virtual void initialize(); + virtual void uninitialize(); + virtual ::javax::swing::UIDefaults * getDefaults(); + virtual jboolean shouldUpdateStyleOnAncestorChanged(); + virtual void load(::java::io::InputStream *, ::java::lang::Class *); + virtual ::java::lang::String * getDescription(); + virtual ::java::lang::String * getID(); + virtual ::java::lang::String * getName(); + virtual jboolean isNativeLookAndFeel(); + virtual jboolean isSupportedLookAndFeel(); +private: + static ::javax::swing::plaf::synth::SynthStyleFactory * styleFactory; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_synth_SynthLookAndFeel__ diff --git a/libjava/javax/swing/plaf/synth/SynthPainter.h b/libjava/javax/swing/plaf/synth/SynthPainter.h new file mode 100644 index 000000000..23172a0ad --- /dev/null +++ b/libjava/javax/swing/plaf/synth/SynthPainter.h @@ -0,0 +1,156 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_SynthPainter__ +#define __javax_swing_plaf_synth_SynthPainter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Graphics; + } + } + namespace javax + { + namespace swing + { + namespace plaf + { + namespace synth + { + class SynthContext; + class SynthPainter; + } + } + } + } +} + +class javax::swing::plaf::synth::SynthPainter : public ::java::lang::Object +{ + +public: + SynthPainter(); + virtual void paintArrowButtonForeground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintProgressBarForeground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintSeparatorForeground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintSplitPaneDividerForeground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintSplitPaneDragDivider(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintTreeCellFocus(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintArrowButtonBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintArrowButtonBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintButtonBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintButtonBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintCheckBoxBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintCheckBoxBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintCheckBoxMenuItemBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintCheckBoxMenuItemBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintColorChooserBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintColorChooserBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintComboBoxBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintComboBoxBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintDesktopIconBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintDesktopIconBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintDesktopPaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintDesktopPaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintEditorPaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintEditorPaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintFileChooserBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintFileChooserBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintFormattedTextFieldBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintFormattedTextFieldBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintInternalFrameBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintInternalFrameBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintInternalFrameTitlePaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintInternalFrameTitlePaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintLabelBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintLabelBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintListBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintListBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintMenuBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintMenuBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintMenuBarBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintMenuBarBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintMenuItemBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintMenuItemBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintOptionPaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintOptionPaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintPanelBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintPanelBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintPasswordFieldBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintPasswordFieldBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintPopupMenuBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintPopupMenuBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintProgressBarBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintProgressBarBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintRadioButtonBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintRadioButtonBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintRadioButtonMenuItemBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintRadioButtonMenuItemBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintRootPaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintRootPaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintScrollBarBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintScrollBarBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintScrollBarThumbBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintScrollBarThumbBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintScrollBarTrackBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintScrollBarTrackBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintScrollPaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintScrollPaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSeparatorBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSeparatorBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSliderBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSliderBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSliderThumbBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintSliderThumbBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintSliderTrackBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSliderTrackBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSpinnerBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSpinnerBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSplitPaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSplitPaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintSplitPaneDividerBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTabbedPaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTabbedPaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTabbedPaneContentBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTabbedPaneContentBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTabbedPaneTabAreaBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTabbedPaneTabAreaBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTabbedPaneTabBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintTabbedPaneTabBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint, jint); + virtual void paintTableBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTableBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTableHeaderBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTableHeaderBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTextAreaBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTextAreaBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTextFieldBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTextFieldBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTextPaneBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTextPaneBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToggleButtonBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToggleButtonBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToolBarBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToolBarBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToolBarContentBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToolBarContentBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToolBarDragWindowBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToolBarDragWindowBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToolTipBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintToolTipBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTreeBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTreeBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTreeCellBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintTreeCellBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintViewportBackground(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + virtual void paintViewportBorder(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Graphics *, jint, jint, jint, jint); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_synth_SynthPainter__ diff --git a/libjava/javax/swing/plaf/synth/SynthStyle.h b/libjava/javax/swing/plaf/synth/SynthStyle.h new file mode 100644 index 000000000..b8779f2b3 --- /dev/null +++ b/libjava/javax/swing/plaf/synth/SynthStyle.h @@ -0,0 +1,68 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_SynthStyle__ +#define __javax_swing_plaf_synth_SynthStyle__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Color; + class Font; + class Insets; + } + } + namespace javax + { + namespace swing + { + class Icon; + namespace plaf + { + namespace synth + { + class ColorType; + class SynthContext; + class SynthGraphicsUtils; + class SynthPainter; + class SynthStyle; + } + } + } + } +} + +class javax::swing::plaf::synth::SynthStyle : public ::java::lang::Object +{ + +public: + SynthStyle(); + virtual ::javax::swing::plaf::synth::SynthGraphicsUtils * getGraphicsUtils(::javax::swing::plaf::synth::SynthContext *); + virtual ::java::awt::Color * getColor(::javax::swing::plaf::synth::SynthContext *, ::javax::swing::plaf::synth::ColorType *); +public: // actually protected + virtual ::java::awt::Color * getColorForState(::javax::swing::plaf::synth::SynthContext *, ::javax::swing::plaf::synth::ColorType *) = 0; +public: + virtual ::java::awt::Font * getFont(::javax::swing::plaf::synth::SynthContext *); +public: // actually protected + virtual ::java::awt::Font * getFontForState(::javax::swing::plaf::synth::SynthContext *) = 0; +public: + virtual ::java::awt::Insets * getInsets(::javax::swing::plaf::synth::SynthContext *, ::java::awt::Insets *); + virtual ::javax::swing::plaf::synth::SynthPainter * getPainter(::javax::swing::plaf::synth::SynthContext *); + virtual jboolean isOpaque(::javax::swing::plaf::synth::SynthContext *); + virtual ::java::lang::Object * get(::javax::swing::plaf::synth::SynthContext *, ::java::lang::Object *); + virtual void installDefaults(::javax::swing::plaf::synth::SynthContext *); + virtual void uninstallDefaults(::javax::swing::plaf::synth::SynthContext *); + virtual jint getInt(::javax::swing::plaf::synth::SynthContext *, ::java::lang::Object *, jint); + virtual jboolean getBoolean(::javax::swing::plaf::synth::SynthContext *, ::java::lang::Object *, jboolean); + virtual ::javax::swing::Icon * getIcon(::javax::swing::plaf::synth::SynthContext *, ::java::lang::Object *); + virtual ::java::lang::String * getString(::javax::swing::plaf::synth::SynthContext *, ::java::lang::Object *, ::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_synth_SynthStyle__ diff --git a/libjava/javax/swing/plaf/synth/SynthStyleFactory.h b/libjava/javax/swing/plaf/synth/SynthStyleFactory.h new file mode 100644 index 000000000..2f6905676 --- /dev/null +++ b/libjava/javax/swing/plaf/synth/SynthStyleFactory.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_swing_plaf_synth_SynthStyleFactory__ +#define __javax_swing_plaf_synth_SynthStyleFactory__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace swing + { + class JComponent; + namespace plaf + { + namespace synth + { + class Region; + class SynthStyle; + class SynthStyleFactory; + } + } + } + } +} + +class javax::swing::plaf::synth::SynthStyleFactory : public ::java::lang::Object +{ + +public: + SynthStyleFactory(); + virtual ::javax::swing::plaf::synth::SynthStyle * getStyle(::javax::swing::JComponent *, ::javax::swing::plaf::synth::Region *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_swing_plaf_synth_SynthStyleFactory__ |