include/GUI/components/BrowserComponent.hpp

Go to the documentation of this file.
00001 /*
00002   ==============================================================================
00003 
00004   This is an automatically generated file created by the Jucer!
00005 
00006   Creation date:  11 Apr 2007 9:50:37 am
00007 
00008   Be careful when adding custom code to these files, as only the code within
00009   the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
00010   and re-saved.
00011 
00012   ------------------------------------------------------------------------------
00013 
00014   The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
00015   Copyright 2004-6 by Raw Material Software ltd.
00016 
00017   ==============================================================================
00018 */
00019 
00020 #ifndef __JUCER_HEADER_BROWSERCOMPONENT_BROWSERCOMPONENT_C29BC2E9__
00021 #define __JUCER_HEADER_BROWSERCOMPONENT_BROWSERCOMPONENT_C29BC2E9__
00022 
00023 //[Headers]     -- You can add your own extra header files here --
00024 #include "../UZIBase.hpp"
00025 #include "BrowserBar.hpp"
00026 //[/Headers]
00027 
00028 
00029 namespace juce
00030 {
00031     //==============================================================================
00039     class BrowserComponent  : public Component, public URLChangeListener
00040     {
00041     public:
00042         //==============================================================================
00043         BrowserComponent (ApplicationCommandManager* const);
00044         ~BrowserComponent();
00045 
00046         //==============================================================================
00047         //[UserMethods]     -- You can add your own custom methods in this section.
00048         virtual void URLIsChanged(const String & newURL);
00049         const String getSourceText();
00050         void showErrors();
00051         void showDOMTree();
00052         //[/UserMethods]
00053 
00054         void paint (Graphics& g);
00055         void resized();
00056         void visibilityChanged();
00057         void moved();
00058         void parentHierarchyChanged();
00059         void parentSizeChanged();
00060         void lookAndFeelChanged();
00061         bool hitTest (int x, int y);
00062         void broughtToFront();
00063         bool filesDropped (const StringArray& filenames, int mouseX, int mouseY);
00064         void handleCommandMessage (int commandId);
00065         void childrenChanged();
00066         void enablementChanged();
00067         void mouseMove (const MouseEvent& e);
00068         void mouseEnter (const MouseEvent& e);
00069         void mouseExit (const MouseEvent& e);
00070         void mouseDown (const MouseEvent& e);
00071         void mouseDrag (const MouseEvent& e);
00072         void mouseUp (const MouseEvent& e);
00073         void mouseDoubleClick (const MouseEvent& e);
00074         void mouseWheelMove (const MouseEvent& e, float wheelIncrementX, float wheelIncrementY);
00075 //        void keyPressed (const KeyPress& key);
00076 //        void keyStateChanged();
00077         void modifierKeysChanged (const ModifierKeys& modifiers);
00078         void focusGained (FocusChangeType cause);
00079         void focusLost (FocusChangeType cause);
00080         void focusOfChildComponentChanged (FocusChangeType cause);
00081         void inputAttemptWhenModal();
00082 
00083 
00084         //==============================================================================
00085         juce_UseDebuggingNewOperator
00086 
00087     private:
00088         //[UserVariables]   -- You can add your own custom variables in this section.
00090         BrowserBar *    browserBar;
00092         String          homeURL;
00094         URLChangeUpdate urlMonitor;
00095         //[/UserVariables]
00096 
00097         //==============================================================================
00098         Viewport* viewport;
00099 
00100         //==============================================================================
00101         // (prevent copy constructor and operator= being generated..)
00102         BrowserComponent (const BrowserComponent&);
00103         const BrowserComponent& operator= (const BrowserComponent&);
00104     };
00105 }
00106 
00107 #endif   // __JUCER_HEADER_BROWSERCOMPONENT_BROWSERCOMPONENT_C29BC2E9__

(C) An X-Ryl669 project 2007

This document describes Unlimited Zooming Interface source code. UZI stands for Unlimited Zooming Interface, and source code license is