summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/basic/BasicSliderUI.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/plaf/basic/BasicSliderUI.h')
-rw-r--r--libjava/javax/swing/plaf/basic/BasicSliderUI.h188
1 files changed, 188 insertions, 0 deletions
diff --git a/libjava/javax/swing/plaf/basic/BasicSliderUI.h b/libjava/javax/swing/plaf/basic/BasicSliderUI.h
new file mode 100644
index 00000000000..cb35faa26b0
--- /dev/null
+++ b/libjava/javax/swing/plaf/basic/BasicSliderUI.h
@@ -0,0 +1,188 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_swing_plaf_basic_BasicSliderUI__
+#define __javax_swing_plaf_basic_BasicSliderUI__
+
+#pragma interface
+
+#include <javax/swing/plaf/SliderUI.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace awt
+ {
+ class Color;
+ class Component;
+ class Dimension;
+ class Graphics;
+ class Insets;
+ class Rectangle;
+ namespace event
+ {
+ class ComponentListener;
+ class FocusListener;
+ }
+ }
+ namespace beans
+ {
+ class PropertyChangeListener;
+ }
+ }
+ namespace javax
+ {
+ namespace swing
+ {
+ class ActionMap;
+ class InputMap;
+ class JComponent;
+ class JSlider;
+ class Timer;
+ namespace event
+ {
+ class ChangeListener;
+ }
+ namespace plaf
+ {
+ class ComponentUI;
+ namespace basic
+ {
+ class BasicSliderUI;
+ class BasicSliderUI$ScrollListener;
+ class BasicSliderUI$TrackListener;
+ }
+ }
+ }
+ }
+}
+
+class javax::swing::plaf::basic::BasicSliderUI : public ::javax::swing::plaf::SliderUI
+{
+
+public:
+ BasicSliderUI(::javax::swing::JSlider *);
+public: // actually protected
+ virtual jboolean isDragging();
+ virtual ::java::awt::Color * getShadowColor();
+ virtual ::java::awt::Color * getHighlightColor();
+ virtual ::java::awt::Color * getFocusColor();
+public:
+ static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
+ virtual void installUI(::javax::swing::JComponent *);
+ virtual void uninstallUI(::javax::swing::JComponent *);
+public: // actually protected
+ virtual void installDefaults(::javax::swing::JSlider *);
+ virtual ::javax::swing::plaf::basic::BasicSliderUI$TrackListener * createTrackListener(::javax::swing::JSlider *);
+ virtual ::javax::swing::event::ChangeListener * createChangeListener(::javax::swing::JSlider *);
+ virtual ::java::awt::event::ComponentListener * createComponentListener(::javax::swing::JSlider *);
+ virtual ::java::awt::event::FocusListener * createFocusListener(::javax::swing::JSlider *);
+ virtual ::javax::swing::plaf::basic::BasicSliderUI$ScrollListener * createScrollListener(::javax::swing::JSlider *);
+ virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener(::javax::swing::JSlider *);
+ virtual void installListeners(::javax::swing::JSlider *);
+ virtual void uninstallListeners(::javax::swing::JSlider *);
+ virtual void installKeyboardActions(::javax::swing::JSlider *);
+ virtual void uninstallKeyboardActions(::javax::swing::JSlider *);
+public:
+ virtual ::java::awt::Dimension * getPreferredHorizontalSize();
+ virtual ::java::awt::Dimension * getPreferredVerticalSize();
+ virtual ::java::awt::Dimension * getMinimumHorizontalSize();
+ virtual ::java::awt::Dimension * getMinimumVerticalSize();
+ virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
+ virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
+ virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
+public: // actually protected
+ virtual void calculateGeometry();
+ virtual void calculateFocusRect();
+ virtual void calculateThumbSize();
+ virtual void calculateContentRect();
+ virtual void calculateThumbLocation();
+ virtual void calculateTrackBuffer();
+ virtual ::java::awt::Dimension * getThumbSize();
+ virtual void calculateTrackRect();
+ virtual jint getTickLength();
+ virtual void calculateTickRect();
+ virtual void calculateLabelRect();
+ virtual jint getWidthOfWidestLabel();
+ virtual jint getHeightOfTallestLabel();
+ virtual jint getWidthOfHighValueLabel();
+ virtual jint getWidthOfLowValueLabel();
+ virtual jint getHeightOfHighValueLabel();
+ virtual jint getHeightOfLowValueLabel();
+ virtual jboolean drawInverted();
+ virtual ::java::awt::Component * getLowestValueLabel();
+ virtual ::java::awt::Component * getHighestValueLabel();
+public:
+ virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
+public: // actually protected
+ virtual void recalculateIfInsetsChanged();
+ virtual void recalculateIfOrientationChanged();
+public:
+ virtual void paintFocus(::java::awt::Graphics *);
+ virtual void paintTrack(::java::awt::Graphics *);
+ virtual void paintTicks(::java::awt::Graphics *);
+public: // actually protected
+ virtual void paintMinorTickForHorizSlider(::java::awt::Graphics *, ::java::awt::Rectangle *, jint);
+ virtual void paintMajorTickForHorizSlider(::java::awt::Graphics *, ::java::awt::Rectangle *, jint);
+ virtual void paintMinorTickForVertSlider(::java::awt::Graphics *, ::java::awt::Rectangle *, jint);
+ virtual void paintMajorTickForVertSlider(::java::awt::Graphics *, ::java::awt::Rectangle *, jint);
+public:
+ virtual void paintLabels(::java::awt::Graphics *);
+public: // actually protected
+ virtual void paintHorizontalLabel(::java::awt::Graphics *, jint, ::java::awt::Component *);
+ virtual void paintVerticalLabel(::java::awt::Graphics *, jint, ::java::awt::Component *);
+public:
+ virtual void paintThumb(::java::awt::Graphics *);
+ virtual void setThumbLocation(jint, jint);
+ virtual void scrollByBlock(jint);
+ virtual void scrollByUnit(jint);
+public: // actually protected
+ virtual void scrollDueToClickInTrack(jint);
+ virtual jint xPositionForValue(jint);
+ virtual jint yPositionForValue(jint);
+public:
+ virtual jint valueForYPosition(jint);
+ virtual jint valueForXPosition(jint);
+public: // actually package-private
+ virtual jint findClosestTick(jint);
+ virtual ::javax::swing::InputMap * getInputMap(jint);
+ virtual ::javax::swing::ActionMap * getActionMap();
+ virtual ::javax::swing::ActionMap * createActionMap();
+private:
+ jboolean hitClip(::java::awt::Graphics *, ::java::awt::Rectangle *);
+public: // actually protected
+ ::javax::swing::event::ChangeListener * __attribute__((aligned(__alignof__( ::javax::swing::plaf::SliderUI)))) changeListener;
+ ::java::beans::PropertyChangeListener * propertyChangeListener;
+ ::javax::swing::plaf::basic::BasicSliderUI$ScrollListener * scrollListener;
+ ::java::awt::event::ComponentListener * componentListener;
+ ::java::awt::event::FocusListener * focusListener;
+ ::javax::swing::plaf::basic::BasicSliderUI$TrackListener * trackListener;
+ ::java::awt::Insets * focusInsets;
+ ::java::awt::Insets * insetCache;
+ ::java::awt::Rectangle * contentRect;
+ ::java::awt::Rectangle * focusRect;
+ ::java::awt::Rectangle * thumbRect;
+ ::java::awt::Rectangle * tickRect;
+ ::java::awt::Rectangle * labelRect;
+ ::java::awt::Rectangle * trackRect;
+public:
+ static const jint MAX_SCROLL = 2;
+ static const jint MIN_SCROLL = -2;
+ static const jint NEGATIVE_SCROLL = -1;
+ static const jint POSITIVE_SCROLL = 1;
+public: // actually protected
+ jint trackBuffer;
+ jboolean leftToRightCache;
+ ::javax::swing::Timer * scrollTimer;
+ ::javax::swing::JSlider * slider;
+private:
+ ::java::awt::Color * shadowColor;
+ ::java::awt::Color * highlightColor;
+ ::java::awt::Color * focusColor;
+public: // actually package-private
+ jboolean dragging;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_swing_plaf_basic_BasicSliderUI__