From 415afec335659ca6bc206b34bdd3c2fe4635718f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 1 Mar 2018 15:19:44 +0100 Subject: KVision site with Jekyll --- .../-form-control/index.html | 237 +++++++++++++++++++++ 1 file changed, 237 insertions(+) create mode 100644 api/pl.treksoft.kvision.form/-form-control/index.html (limited to 'api/pl.treksoft.kvision.form/-form-control/index.html') diff --git a/api/pl.treksoft.kvision.form/-form-control/index.html b/api/pl.treksoft.kvision.form/-form-control/index.html new file mode 100644 index 00000000..0a4fe3ff --- /dev/null +++ b/api/pl.treksoft.kvision.form/-form-control/index.html @@ -0,0 +1,237 @@ + + + +FormControl - kvision + + + +kvision / pl.treksoft.kvision.form / FormControl
+
+

FormControl

+interface FormControl : Component +

Base interface of a form control.

+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

disabled

+
+abstract var disabled: Boolean +

Determines if the field is disabled.

+
+

flabel

+
+abstract val flabel: FieldLabel +

Form field label.

+
+

input

+
+abstract val input: Component +

The actual input component.

+
+

size

+
+abstract var size: InputSize? +

Input control size.

+
+

validationInfo

+
+abstract val validationInfo: HelpBlock +

Validation info component.

+
+

validatorError

+
+open var validatorError: String? +

Validator error message.

+
+

Inherited Properties

+ + + + + + + + + + + +
+

parent

+
+abstract var parent: Component? +

Parent of the current component.

+
+

visible

+
+abstract var visible: Boolean +

Visibility state of the current component.

+
+

Functions

+ + + + + + + + + + + + + + + +
+

getValue

+
+abstract fun getValue(): Any? +

Returns the value of the control.

+
+

getValueAsString

+
+abstract fun getValueAsString(): String? +

Returns the value of the control as a String.

+
+

setValue

+
+abstract fun setValue(v: Any?): Unit +

Sets the value of the control.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addCssClass

+
+abstract fun addCssClass(css: String): Component +

Adds given value to the set of CSS classes generated in html code of current component.

+
+

addSurroundingCssClass

+
+abstract fun addSurroundingCssClass(css: String): Component +

Adds given value to the set of CSS classes generated in html code of parent component.

+
+

getElement

+
+abstract fun getElement(): Node? +

Returns DOM element bound to the current component.

+
+

getElementJQuery

+
+abstract fun getElementJQuery(): JQuery? +

Returns JQuery element bound to the current component.

+
+

getElementJQueryD

+
+abstract fun getElementJQueryD(): dynamic +

Returns JQuery element bound to the current component as a dynamic type.

+
+

removeCssClass

+
+abstract fun removeCssClass(css: String): Component +

Removes given value from the set of CSS classes generated in html code of current component.

+
+

removeSurroundingCssClass

+
+abstract fun removeSurroundingCssClass(css: String): Component +

Removes given value from the set of CSS classes generated in html code of parent component.

+
+

Inheritors

+ + + + + + + + + + + + + + + + + + + +
+

BoolFormControl

+
+interface BoolFormControl : FormControl +

Base interface of a form control with a boolean value.

+
+

DateFormControl

+
+interface DateFormControl : FormControl +

Base interface of a form control with a date value.

+
+

NumberFormControl

+
+interface NumberFormControl : FormControl +

Base interface of a form control with a numeric value.

+
+

StringFormControl

+
+interface StringFormControl : FormControl +

Base interface of a form control with a text value.

+
+ + -- cgit