eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Bookmark':

Home

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

Class: Bookmark


Inheritance:

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

Package:
stx:libtool
Category:
Interface-Bookmarks
Version:
rev: 1.22 date: 2018/08/09 15:18:55
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.
Not synchronized - should only be called internally
within a synchronized region.

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
define the inst-slots which are skipped when generating a literalArrayEncoding;
(to skip the ones with default values.)

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 03:45:24 GMT