eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Comanche::SwikiColorScheme':

Home

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

Class: SwikiColorScheme (in Comanche)


Inheritance:

   Object
   |
   +--Comanche::SwikiColorScheme

Package:
stx:goodies/webServer/comanche/swiki
Category:
Comanche-Swiki-FileServer
Version:
rev: 1.9 date: 2003/08/29 17:04:04
user: cg
file: SwikiColorScheme.st directory: goodies/webServer/comanche/swiki
module: stx stc-classLibrary: swiki

Description:


SwikiColorScheme

are used by Swikis to reference buttons and graphics.

INSTANCE VARIABLES:
directory = the corresponding SwikiDirectory
fileServer = the corresponding SwikiFileServer
templates = a dictionary mapping names of templates to the templates (such as beforeButtons)
altTags = a dictionary mapping image names to their ALTernate tag (from tags.xml)
buttonEnding = the suffix of button files (such as .gif)
activeButton = a boolean that is true if the button should have a rollover
emoteEnding = the suffix of emote (happy, sad, etc.) files (such as .gif)
mimeEnding = the suffix of mime types (image, video, audio, etc.)


Class protocol:

instance creation
o  on: aSwikiDirectory fileServer: fs


Instance protocol:

accessing
o  directory

o  directory: aSwikiDirectory

o  fileServer

o  fileServer: fs

buttons
o  altFor: button ifAbsent: block

o  button: button

o  button: button alt: altText

o  button: button link: link

o  button: button link: link alt: altText
With rollovers

o  emote: emote

o  mime: mime alt: altTag

initialization
o  initialize

o  initializeAltTags

o  initializeEndings
default ending is .gif

o  initializeTemplates
Swiki Markup

templates
o  formatTemplate: templateName request: request response: response shelf: shelf

o  formatTemplate: templateName request: request response: response shelf: shelf book: book

o  formatTemplate: templateName request: request response: response shelf: shelf book: book page: page



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 19 Sep 2018 11:31:43 GMT