|
Class: Input (in HTML)
Object
|
+--HTML::AbstractElement
|
+--HTML::AbstractHTMLElement
|
+--HTML::AbstractFormElement
|
+--HTML::Input
- Package:
- stx:goodies/webServer/htmlTree
- Category:
- Net-Documents-HTML-ModelTree-Form
- Version:
- rev:
1.36
date: 2018/04/26 10:30:21
- user: cg
- file: HTML__Input.st directory: goodies/webServer/htmlTree
- module: stx stc-classLibrary: htmlTree
instance creation
-
newCheckBoxNamed: aName value: aValue
-
-
newHiddenFieldNamed: aName value: aValue
-
-
newInputFieldNamed: aName value: aValue maxLength: maxLength size: aSize
-
-
newRadioButtonNamed: aName value: aValue
-
-
newSubmitButtonNamed: aName value: aValue
-
-
type: arg1 name: arg2 value: arg3
-
required protocol
-
tagName
-
interface-attributes
-
accept
-
Return the accept of this input.
-
accept: anAccept
-
Set the accept of this input.
-
accessKey
-
Return the access-key-attribute of this input.
-
accesskey: aKey
-
Set the access-key of this input.
-
alternativ: anAlternativ
-
Set the alternate text for image of this input.
-
alternative
-
Return the alternate text for image of this input.
-
autocomplete: onOffString
-
if onOffSTring = 'off' give the browser an hint to not store input.
NOTE: this is not W3C standard!
-
beChecked
-
Set this input to be checked.
-
beEditable
-
Set this input to be editable(not readonly).
-
beEnabled
-
Set this input to be enabled.
-
beReadonly
-
Set this input to be readonly.
-
beUnchecked
-
Set this input to be unchecked.
-
checked: aBoolean
-
-
isChecked
-
Return if checked is set or not.
-
isDisabled
-
Return if disable is set or not.
-
isReadonly
-
Return if readonly-attribute is set or not.
-
maxLength
-
Return the maxlength of this input.
-
maxLength: aNumber
-
Set the maxlength of this input.
-
maxlength
-
Return the maxlength of this input.
-
maxlength: aNumber
-
Set the maxlength of this input.
-
onChange: aScript
-
Set the on-change-attribute of this element.
-
size
-
Return the size of this input.
-
size: aNumber
-
Set the size of this input.
-
source
-
Return the source of this input.
-
source: anURI
-
Set the source of this input.
-
src
-
Return the source of this input.
-
src: anURI
-
Set the source of this input.
-
tabindex
-
Return the tab-index-attribute of this input.
-
type
-
Return the type of this input.
-
type: aString
-
Set the type of this input.
text | password | checkbox | radio | submit | reset | file | hidden | image | button
-
type: typeString name: nameString value: valueString
-
-
usemap
-
Return the usemap of this input.
-
usemap: usemap
-
Set the source of this input.
-
value
-
Return the value of this input.
-
value: aValue
-
Set the value of this input.
queries
-
canHaveChild: anElement in: aParser
-
(comment from inherited method)
return true, if anotherElement is allowed as my child
-
canHaveText
-
(comment from inherited method)
return true, if I allow text as child (i.f. PCDATA)
-
isVoidElement
-
(comment from inherited method)
A void element is an element whose content model
never allows it to have contents under any circumstances.
Void elements can have attributes.
-
mustBeClosed
-
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
testing
-
isFormWidgetElement
-
-
isInlineElement
-
-
isInput
-
|