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::Anchor

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-ModelTree-Inline
Version:
rev: 1.28 date: 2019/03/01 16:33:50
user: cg
file: HTML__Anchor.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

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 anchortext

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



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 27 Nov 2022 10:01:40 GMT