|
Class: Anchor (in HTML)
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
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:]
copyrightCOPYRIGHT (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.
required protocol
-
href: anUrlString
-
Build and return a new anchor
with the given url string.
-
href: anURLString with: aElementOrString
-
Build and return a new anchor
with the given url string.
-
tagName
-
interface-attributes
-
href
-
Return the hypertext reference of the anchor.
-
href: aHref
-
-
tabindex: anInteger
-
Set the tab index of the element, 0 if not tabbed.
Valid for <input> <button> <select> <textarea> <a>
-
target: aTarget
-
Set the target of the link.
queries
-
anchorText
-
return the text shown as anchor text
-
canHaveChild: anotherElement in: aParser
-
(comment from inherited method)
return true, if anotherElement is allowed as my child
-
isAnchor
-
-
isInlineElement
-
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
testing
-
isFlowContent
-
|