Skip navigation links
A B C D E F G I L O P R S T U V 

A

add(listener) - Method in class eu.vaadinonkotlin.Listeners
Registers a new listener. Registering same listener multiple times has no further effect.
and(filters) - Method in interface eu.vaadinonkotlin.FilterFactory
ANDs given set of filters and returns a new filter.
async(block) - Static method in class eu.vaadinonkotlin.VaadinOnKotlinKt
Submits a value-returning task for execution and returns a Future representing the pending results of the task. The Future.get method will return the task's result upon successful completion.

B

between(propertyName, min, max) - Method in interface eu.vaadinonkotlin.FilterFactory
Creates a filter which accepts only such values of given propertyName which are greater than or equal to given min and less than or equal to given max.
between($this, propertyName, min, max) - Static method in class eu.vaadinonkotlin.FilterFactory.DefaultImpls
Creates a filter which accepts only such values of given propertyName which are greater than or equal to given min and less than or equal to given max.

C

closeQuietly($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
Closes this quietly - if Closeable.close fails, an INFO message is logged. The exception is not rethrown.
Companion - Static variable in class eu.vaadinonkotlin.I18n
 

D

destroy() - Method in class eu.vaadinonkotlin.VaadinOnKotlin
Destroys the Vaadin-On-Kotlin framework. Just call this from your context listener.
destroy() - Method in interface eu.vaadinonkotlin.VOKPlugin

E

eq(propertyName, value) - Method in interface eu.vaadinonkotlin.FilterFactory
Creates a filter which matches the value of given propertyName to given value.
eu.vaadinonkotlin - package eu.vaadinonkotlin
 

F

FilterFactory<F> - Interface in eu.vaadinonkotlin
Used by filter components (such as NumberInterval) to create actual filter objects. The filters are expected to have properly implemented Any.equals, Any.hashCode and Any.toString, to allow for filter expression simplification (e.g. to remove non-unique filters from AND or OR expressions).
FilterFactory.DefaultImpls - Class in eu.vaadinonkotlin
Used by filter components (such as NumberInterval) to create actual filter objects. The filters are expected to have properly implemented Any.equals, Any.hashCode and Any.toString, to allow for filter expression simplification (e.g. to remove non-unique filters from AND or OR expressions).
filterNotBlank($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 

G

ge(propertyName, value) - Method in interface eu.vaadinonkotlin.FilterFactory
Creates a filter which accepts only such values of given propertyName which are greater than or equal to given value.
get(key) - Method in class eu.vaadinonkotlin.I18n
Retrieves the message stored under given key. If no such message exists, the function must not fail. Instead, it should provide a key wrapped with indicators that a message is missing, for example !{key}!.
getAsyncExecutor() - Method in class eu.vaadinonkotlin.VaadinOnKotlin
The executor used by VaadinOnKotlinKt.async and VaadinOnKotlinKt.scheduleAtFixedRate. You can submit your own tasks as you wish.
getDays($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 
getDays($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 
getEmptyResourceBundle() - Static method in class eu.vaadinonkotlin.I18nKt
 
getFire() - Method in class eu.vaadinonkotlin.Listeners
Use the returned value to fire particular event to all listeners.
getHours($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 
getHours($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 
getI18nProvider(production) - Static method in class eu.vaadinonkotlin.I18nKt
Returns a provider which provides instances of class I18n. On debugging, the provider will always create new instance which allows for hot-redeployment of the i18n bundles. For production, the class I18n instances are cached so that the key lookup is very quick.
getListenerType() - Method in class eu.vaadinonkotlin.Listeners
 
getLocale() - Method in class eu.vaadinonkotlin.I18n
the locale to use,
getMinutes($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 
getMinutes($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 
getSeconds($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 
getSeconds($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 
getThreadFactory() - Method in class eu.vaadinonkotlin.VaadinOnKotlin
The thread factory used by the VaadinOnKotlinKt.async method. By default the factory creates non-daemon threads named "async-ID".
getToDate($receiver) - Static method in class eu.vaadinonkotlin.UtilsKt
 

I

I18n - Class in eu.vaadinonkotlin
Localizes VoK messages such as exception messages, texts found in the filter components etc. To obtain instance of this class, just use the vt property (provided both for Vaadin 8 and Vaadin 10) which will lookup proper locale from the current UI. See the vt property documentation for more details.
I18n.Companion - Class in eu.vaadinonkotlin
 
I18nKt - Class in eu.vaadinonkotlin
 
ilike(propertyName, value) - Method in interface eu.vaadinonkotlin.FilterFactory
Creates a filter which performs a case-insensitive substring matching of given propertyName to given value.
init() - Method in class eu.vaadinonkotlin.VaadinOnKotlin
Initializes the Vaadin-On-Kotlin framework. Just call this from your context listener.
init() - Method in interface eu.vaadinonkotlin.VOKPlugin
Called from VaadinOnKotlin.init.
INSTANCE - Static variable in class eu.vaadinonkotlin.VaadinOnKotlin
 
isStarted() - Method in class eu.vaadinonkotlin.VaadinOnKotlin
True if VaadinOnKotlin.init has been called.

L

le(propertyName, value) - Method in interface eu.vaadinonkotlin.FilterFactory
Creates a filter which accepts only such values of given propertyName which are less than or equal to given value.
Listeners<T extends Serializable> - Class in eu.vaadinonkotlin
Allows you to add listeners for a particular event into your component.
Listeners(listenerType) - Constructor for class eu.vaadinonkotlin.Listeners
Allows you to add listeners for a particular event into your component.

O

or(filters) - Method in interface eu.vaadinonkotlin.FilterFactory
ORs given set of filters and returns a new filter.

P

plus($receiver, other) - Static method in class eu.vaadinonkotlin.UtilsKt
 
plus($receiver, other) - Static method in class eu.vaadinonkotlin.UtilsKt
 
plus($receiver, other) - Static method in class eu.vaadinonkotlin.UtilsKt
 

R

remove(listener) - Method in class eu.vaadinonkotlin.Listeners
Removes the listener. Removing same listener multiple times has no further effect. Does nothing if the listener has not yet been registered.

S

scheduleAtFixedRate(initialDelay, period, command) - Static method in class eu.vaadinonkotlin.VaadinOnKotlinKt
Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
setThreadFactory(p) - Method in class eu.vaadinonkotlin.VaadinOnKotlin
The thread factory used by the VaadinOnKotlinKt.async method. By default the factory creates non-daemon threads named "async-ID".

T

times($receiver, other) - Static method in class eu.vaadinonkotlin.UtilsKt
 

U

UtilsKt - Class in eu.vaadinonkotlin
 

V

VaadinOnKotlin - Class in eu.vaadinonkotlin
 
VaadinOnKotlinKt - Class in eu.vaadinonkotlin
 
VOKPlugin - Interface in eu.vaadinonkotlin
Implement this interface to be invoked from VaadinOnKotlin.init and VaadinOnKotlin.destroy methods. The plugins are initialized in random order.
A B C D E F G I L O P R S T U V 
Skip navigation links