library: libGraf #include "TLink.h"

# TLink

class description - source file - inheritance tree (.ps)

## class TLink : public TText

| Inheritance Chart:

`TObject`

<-

`TNamed`

`TAttText`

<-

`TText`

<-

`TLink`

        public:

                          TLink()
                          TLink(Double_t x, Double_t y, void* pointer)
                          TLink(const TLink&)
                  virtual ~TLink()
           static TClass* Class()
             virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
          virtual TClass* IsA() const
                   TLink& operator=(const TLink&)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          void* fLink  pointer to object

        public:

          static const enum TLink:: kObjIsParent
          static const enum TLink:: kIsStarStar

## Class Description

     Special TText object used to show hyperlinks.
     In the example below created by TObject::Inspect, TLinks are used
     to show pointers to other objects.
     Clicking on one link, inspect the corresponding object.

/* */

TLink() : TText()

    *-*-*-*-*-*-*-*-*-*-*Link default constructor*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ============================

TLink(Double_t x, Double_t y, void *pointer) : TText(x, y, "")

    *-*-*-*-*-*-*-*-*-*Constructor to define a link object*-*-*-*-*-*-*-*
    *-*                ========================================
     pointer points to any kind of object.

~TLink()

    *-*-*-*-*-*-*-*-*-*-*Link default destructor*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  =============================

void ExecuteEvent(Int_t event, Int_t, Int_t)

    *-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-*
    *-*                  =========================================
      This member function is called when a link is clicked with the locator

      If mouse is clicked on a link text, the object pointed by the link
      is Inspected

### Inline Functions

                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
                  TLink TLink(const TLink&)
                 TLink& operator=(const TLink&)

Author: Rene Brun 05/03/95
Last update: root/graf:$Name: $:$Id: TLink.cxx,v 1.6 2001/07/01 08:31:55 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *