eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::TagsBrowser::TagView':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: TagView (private in TagsBrowser

This class is only visible from within TagsBrowser.

Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--View
               |
               +--ListModelView
                  |
                  +--SelectionInListModelView
                     |
                     +--Tools::TagsBrowser::TagView

Package:
stx:libtool
Category:
Interface-Tools-File-Tags
Owner:
Tools::TagsBrowser

Instance protocol:

accessing
o  application
returns my application, the TagsBrowser

o  application: theTagsBrowser
set my application, the TagsBrowser

o  clearList

o  filter: aString

o  list: aList

o  newDefaultList

o  tagLineNr: lineNr
remember line nr for which a tag should be highlighted.
(will set my selection late, when the taglist is available

drawing
o  drawLabelAt: anIndex x: x y: y h: h
draw the label at position x/y without clearing the background

o  drawSelectionFrameAt: lnNr x: x w: w
draw the background and foreground of the selection frame
at a lineNr.

generating tags
o  generateTagsFor: aFile onTarget: aTarget finally: aBlock
generate tags for a file (optionally on a remote target)
return true, if a background job for generation has been started

o  stopGeneratingTags
stop the process which generates the tags

initialize & release
o  destroy

o  initialize

protocol
o  heightOfLineAt: aLineNr
returns the total height for a line at an index (including lineSpacing)

o  widthOfWidestLineBetween: firstLine and: lastLine
return the width in pixels of the widest line in a range.
- used to optimize scrolling, by limiting the scrolled area;
not for scrollbar or other width related stuff which should be exact.



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 21:17:23 GMT