eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Bookmark':

Home

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

Class: Bookmark


Inheritance:

   Object
   |
   +--AbstractHierarchicalItem
      |
      +--HierarchicalItem
         |
         +--Bookmark
            |
            +--Bookmark::Class
            |
            +--Bookmark::File
            |
            +--Bookmark::Folder
            |
            +--Bookmark::Method
            |
            +--Bookmark::Separator
            |
            +--Bookmark::URL

Package:
stx:libtool
Category:
Interface-Bookmarks
Version:
rev: 1.17 date: 2018/01/16 21:13:10
user: cg
file: Bookmark.st directory: libtool
module: stx stc-classLibrary: libtool

Class protocol:

instance creation
o  forClass: aClass
Bookmark forClass: Collection

o  forClass: class selector: selector
Bookmark forMethod: Bookmark class >> #forMethod:

o  forFile: aStringOrFilename
Bookmark forFile: '/etc/passwd'

o  forFolderNamed: aString
Bookmark forClass: Collection

o  forMethod: aMethod
Bookmark forMethod: Bookmark class >> #forMethod:

o  forRecent
Bookmark forRecent

o  forUrl: url label: label
Bookmark forClass: Collection

o  separator
Bookmark forRecent


Instance protocol:

accessing
o  / label

o  helpText

o  icon
superclass BookmarkEntry says that I am responsible to implement this method

o  label
superclass BookmarkEntry says that I am responsible to implement this method

o  label: aStringOrText

accessing-defaults
o  defaultLabel

** This method raises an error - it must be redefined in concrete classes **

basic adding & removing
o  basicAddAll: aList beforeIndex: anIndex
(comment from inherited method)
add children before an index

o  basicRemoveFromIndex: startIndex toIndex: stopIndex
remove the children from startIndex up to and including
the child under stopIndex.

change & update
o  changed: aspect with: param
(comment from inherited method)
the item changed; raise change notification
#icon icon is modified; height and width are unchanged
#hierarchy collapsed/expanded; height and width are unchanged
#redraw redraw but height and width are unchanged
....... all others: the height and width are reset

converting
o  asMenu

o  asMenuUsingBuilder: builder

encoding & decoding
o  skippedInLiteralEncoding
(comment from inherited method)
return a Collection with it's elements are slots for skipping

navigation
o  switchToBookmarkIn: application

printing & storing
o  printOn: aStream
append a printed representation of the receiver to the argument, aStream

private
o  initializeIcon

o  initializeLabel

testing
o  isClassBookmark

o  isFileBookmark

o  isFolderBookmark

o  isMethodBookmark

o  isRecentBookmark

o  isURLBookmark


Private classes:

    Class
    File
    Folder
    Method
    Recent
    Separator
    URL


ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 19 Nov 2018 22:27:39 GMT