eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Anchor':

Home

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

Class: Anchor (in HTML)


Inheritance:

   Object
   |
   +--HTML::AbstractElement
      |
      +--HTML::AbstractHTMLElement
         |
         +--HTML::AbstractHTMLFlowContentElement
            |
            +--HTML::Anchor

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-Inline
Version:
rev: 1.32 date: 2022/08/08 16:17:29
user: matilk
file: HTML__Anchor.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Description:


documentation to be added.

class:
    <a short class summary here, describing what instances represent>

responsibilities:    
    <describing what my main role is>

collaborators:    
    <describing with whom and how I talk to>

API:
    <public api and main messages>
    
example:
    <a one-line examples on how to use - can also be in a separate example method>

implementation:
    <implementation points>


[instance variables:]

[class variables:]

copyright

COPYRIGHT (c) 2003 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

required protocol
o  href: anUrlString
Build and return a new anchor
with the given url string.

o  href: anURLString with: aElementOrString
Build and return a new anchor
with the given url string.

o  tagName


Instance protocol:

interface-attributes
o  href
Return the hypertext reference of the anchor.

o  href: aHref

o  tabindex: anInteger
Set the tab index of the element, 0 if not tabbed.
Valid for <input> <button> <select> <textarea> <a>

o  target: aTarget
Set the target of the link.

queries
o  anchorText
return the text shown as anchor text

o  canHaveChild: anotherElement in: aParser
(comment from inherited method)
return true, if anotherElement is allowed as my child

o  isAnchor

o  isInlineElement

required-visiting
o  acceptHTMLVisitor: aVisitor
visitor pattern: dispatch me to the visitor

testing
o  isFlowContent



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 27 Jul 2024 06:58:42 GMT