From f3c9d405382dd81d426c7eab1f6390ec8e6dad00 Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
- Constructor Determines if the text input is automatically focused. Makes the input element blur. Overrides FormControl.disabled Determines if the field is disabled. Getter Determines if the field is disabled.
-
-<init>
-
-AbstractText(label: String? = null, rich: Boolean = false)
-Parameters
-label
- label text bound to the input elementrich
- determines if label can contain HTML code
-
-
-autofocus
-
-var autofocus: Boolean?
-
-
-blur
-
-open fun blur(): Unit
-
-
-disabled
-
-open var disabled: Boolean
-
-
Setter
-
Determines if the field is disabled.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/flabel.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/flabel.html deleted file mode 100644 index 733fcfc8..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/flabel.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -val flabel: FieldLabel
-Overrides FormControl.flabel
-Form field label.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/focus.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/focus.html deleted file mode 100644 index 8efcf47a..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/focus.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -open fun focus(): Unit
-Makes the input element focused.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/get-sn-class.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/get-sn-class.html deleted file mode 100644 index c08d18b0..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/get-sn-class.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -protected open fun getSnClass(): List<StringBoolPair>
-Overrides Widget.getSnClass
-Returns list of CSS class names for current widget in the form of a List.
-Return
-list of CSS class names
abstract class AbstractText : SimplePanel, StringFormControl
-Base class for form field text components.
-- - | -
-AbstractText(label: String? = null, rich: Boolean = false) |
-
- - | -
-var autofocus: Boolean?
-Determines if the text input is automatically focused. - |
-
- - | -
-open var disabled: Boolean
-Determines if the field is disabled. - |
-
- - | -
-val flabel: FieldLabel
-Form field label. - |
-
- - | -
-abstract val input: AbstractTextInput
-The actual input component. - |
-
- - | -
-var label: String?
-The label text bound to the text input element. - |
-
- - | -
-var maxlength: Int?
-Maximal length of the text input value. - |
-
- - | -
-var name: String?
-The name attribute of the generated HTML input element. - |
-
- - | -
-var placeholder: String?
-The placeholder for the text input. - |
-
- - | -
-var readonly: Boolean?
-Determines if the text input is read-only. - |
-
- - | -
-var rich: Boolean
-Determines if label can contain HTML code. - |
-
- - | -
-open var size: InputSize?
-Input control size. - |
-
- - | -
-var startValue: String?
-The value attribute of the generated HTML input element. - |
-
- - | -
-val validationInfo: HelpBlock
-Validation info component. - |
-
- - | -
-open var value: String?
-Text input value. - |
-
- - | -
-open fun blur(): Unit
-Makes the input element blur. - |
-
- - | -
-open fun focus(): Unit
-Makes the input element focused. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun removeEventListeners(): Widget
-Removes all event listeners from current widget. - |
-
- - | -
-open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Sets an event listener for current widget, keeping the actual type of component. -open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Sets an event listener for current widget. - |
-
- - | -
-open fun add(child: Component): SimplePanel
-Adds given component to the current container. - |
-
- - | -
-open fun addAll(children: List<Component>): SimplePanel
-Adds a list of components to the current container. - |
-
- - | -
-fun addInternal(child: Component): SimplePanel
-Protected and final method to add given component to the current container. - |
-
- - | -
-open fun childrenVNodes(): Array<VNode>
-Returns the array of the children Snabbdom vnodes. - |
-
- - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-open fun getValue(): String?
-Returns the value of the control. - |
-
- - | -
-open fun getValueAsString(): String?
-Returns the value of the control as a String. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-open fun setValue(v: Any?): Unit
-Sets the value of the control. - |
-
- - | -
-open class RichText : AbstractText
-Form field rich text component. - |
-
- - | -
-open class Text : AbstractText
-Form field text component. - |
-
- - | -
-open class TextArea : AbstractText
-Form field textarea component. - |
-
abstract val input: AbstractTextInput
-Overrides FormControl.input
-The actual input component.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/label.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/label.html deleted file mode 100644 index a7694d44..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/label.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var label: String?
-The label text bound to the text input element.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/maxlength.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/maxlength.html deleted file mode 100644 index cee6a3cd..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/maxlength.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var maxlength: Int?
-Maximal length of the text input value.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/name.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/name.html deleted file mode 100644 index 18cef6cf..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/name.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var name: String?
-The name attribute of the generated HTML input element.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/placeholder.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/placeholder.html deleted file mode 100644 index a77ec12b..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/placeholder.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var placeholder: String?
-The placeholder for the text input.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/readonly.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/readonly.html deleted file mode 100644 index 4fb522c5..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/readonly.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -var readonly: Boolean?
-Determines if the text input is read-only.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/remove-event-listeners.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/remove-event-listeners.html deleted file mode 100644 index bd341759..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/remove-event-listeners.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -open fun removeEventListeners(): Widget
-Overrides Widget.removeEventListeners
-Removes all event listeners from current widget.
-Return
-current widget
var rich: Boolean
-Determines if label can contain HTML code.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/set-event-listener.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/set-event-listener.html deleted file mode 100644 index b7e101f5..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/set-event-listener.html +++ /dev/null @@ -1,54 +0,0 @@ - - - -open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
-Overrides Widget.setEventListener
-Sets an event listener for current widget, keeping the actual type of component.
-Return
-
current widget
- - -Example:
- - - button.setEventListener<Button> {
- dblclick = {
- Alert.show("Button double clicked!")
- // self is of type Button here
- }
- }
-
-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
-Overrides Widget.setEventListener
-Sets an event listener for current widget.
-Return
-
current widget
- - -Example:
- - - button.setEventListener {
- dblclick = {
- Alert.show("Button double clicked!")
- // self is of type Widget here
- }
- }
-
-
diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/size.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/size.html
deleted file mode 100644
index c36bd017..00000000
--- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/size.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-open var size: InputSize?
-Overrides FormControl.size
-Input control size.
-Getter
-
Input control size.
- -Setter
-
Input control size.
- - - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/start-value.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/start-value.html deleted file mode 100644 index 01635bc7..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/start-value.html +++ /dev/null @@ -1,17 +0,0 @@ - - - -var startValue: String?
-The value attribute of the generated HTML input element.
-This value is placed directly in generated HTML code, while the value property is dynamically -bound to the text input value.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/validation-info.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/validation-info.html deleted file mode 100644 index 2b8e832f..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/validation-info.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -val validationInfo: HelpBlock
-Overrides FormControl.validationInfo
-Validation info component.
- - diff --git a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/value.html b/docs/api/pl.treksoft.kvision.form.text/-abstract-text/value.html deleted file mode 100644 index 44673562..00000000 --- a/docs/api/pl.treksoft.kvision.form.text/-abstract-text/value.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -open var value: String?
-Overrides StringFormControl.value
-Text input value.
-Getter
-
Text value.
- -Setter
-
Text value.
- - - -- cgit