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  font: aFont
(comment from inherited method)
set a new font

o  list: aList

o  newDefaultList
creates and returns a new default list; by default, an instance of TagList

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
(comment from inherited method)
unmap & destroy - make me invisible, destroy subviews then
make me unknown to the device

o  initialize
(comment from inherited method)
setup default attributes/behavior

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:23:10 GMT