interface FormInput : Component
abstract var disabled: Boolean
Determines if the field is disabled. |
|
abstract var name: String?
The name attribute of the generated HTML input element. |
|
abstract var size: InputSize?
Input control field size. |
abstract var parent: Container?
Parent of the current component. |
|
abstract var visible: Boolean
Visibility state of the current component. |
abstract fun blur(): Unit
Makes the input element blur. |
|
abstract fun focus(): Unit
Makes the input element focused. |
abstract fun addCssClass(css: String): Component
Adds given value to the set of CSS classes generated in html code of current component. abstract fun addCssClass(css: Style): Component
Adds given style object to the set of CSS classes generated in html code of current component. |
|
abstract fun addSurroundingCssClass(css: String): Component
Adds given value to the set of CSS classes generated in html code of parent component. abstract fun addSurroundingCssClass(css: Style): Component
Adds given style object to the set of CSS classes generated in html code of parent component. |
|
abstract fun getAttribute(name: String): String?
Returns the value of an additional attribute. |
|
abstract fun getElement(): Node?
Returns DOM element bound to the current component. |
|
abstract fun getElementJQuery(): JQuery?
Returns JQuery element bound to the current component. |
|
abstract fun getElementJQueryD(): dynamic
Returns JQuery element bound to the current component as a dynamic type. |
|
abstract fun removeAttribute(name: String): Component
Removes the value of additional attribute. |
|
abstract fun removeCssClass(css: String): Component
Removes given value from the set of CSS classes generated in html code of current component. abstract fun removeCssClass(css: Style): Component
Removes given style object from the set of CSS classes generated in html code of current component. |
|
abstract fun removeSurroundingCssClass(css: String): Component
Removes given value from the set of CSS classes generated in html code of parent component. abstract fun removeSurroundingCssClass(css: Style): Component
Removes given style object from the set of CSS classes generated in html code of parent component. |
|
abstract fun setAttribute(name: String, value: String): Component
Sets the value of additional attribute. |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |
abstract class AbstractTextInput : Widget, FormInput
Base class for basic text components. |
|
abstract class CheckInput : Widget, FormInput
The basic input component rendered as HTML input type="checkbox" or input type="radio". |
|
open class DateTimeInput : Widget, FormInput
Basic date/time chooser component. |
|
open class RadioGroupInput : SimplePanel, FormInput
The input component rendered as a group of HTML input type="radio" elements with the same name attribute. |
|
open class SelectInput : SimplePanel, FormInput
The basic component for Select control. |
|
open class SimpleSelectInput : SimplePanel, FormInput
Simple select component. |
|
open class SpinnerInput : Widget, FormInput
The basic component for spinner control. |
|
open class UploadInput : Widget, FormInput
The file upload component. |