Directory

← Back

rinne

Rinne is addon for a Vaadin Framework, that provides more comfortable API for Scala programming language.

Author

Rating

Popularity

<100

Rinne is addon for a Vaadin Framework, that provides more comfortable API for Scala programming language.

Unlike to the Scaladin Rinne uses CAKE Pattern to provide Scala API.

Discussion

Vaadin Forum is the place for discussion about Rinne. You can use the existing Vaadin & Scala thread or create your own.

How to use it?

Rinne is designed for use with Vaadin7. Following example shows simple usage:

@Theme("valo")
class RinneUI extends UI {
  override def init(p1: VaadinRequest): Unit = {
    setContent(new VVerticalLayout {
      sizeFull()

      componentSet += new VLabel {
        styleName = ValoTheme.LABEL_H1
        value = "RinneUI"
      }
    })
  }
}

Credits

The following people have contributed code or ideas to Rinne:

  • Łukasz Byczyński

Rinne based on the excellent work and creativity of the Scaladin authors:

  • Matti Heinola
  • Henri Kerola
  • Henri Muurimaa
  • Risto Yrjänä

License

Rinne is licensed under the Apache 2.0 License.

Sample code

package org.vaadin.addons.rinne

import com.vaadin.annotations.Theme
import com.vaadin.server.VaadinRequest
import com.vaadin.ui.UI
import com.vaadin.ui.themes.ValoTheme

@Theme("valo")
class RinneUI extends UI {
  override def init(p1: VaadinRequest): Unit = {
    setContent(new VVerticalLayout {
      sizeFull()

      componentSet += new VLabel {
        styleName = ValoTheme.LABEL_H1
        value = "RinneUI"
      }
    })
  }
}

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Upgrade to Scala 2.12

Released
2017-07-23
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.7+
Vaadin 7.4+ in 0.5.0
Vaadin 7.3+ in 0.2.0
Browser
N/A

rinne - Vaadin Add-on Directory

Rinne is addon for a Vaadin Framework, that provides more comfortable API for Scala programming language. rinne - Vaadin Add-on Directory
Rinne is addon for a [Vaadin Framework](https://vaadin.com), that provides more comfortable API for [Scala](http://www.scala-lang.org/) programming language. Unlike to the [Scaladin](https://github.com/henrikerola/scaladin) Rinne uses CAKE Pattern to provide Scala API. ## Discussion [Vaadin Forum](https://vaadin.com/forum) is the place for discussion about Rinne. You can use the existing [Vaadin & Scala](https://vaadin.com/forum#!/thread/530127) thread or create your own. ## How to use it? Rinne is designed for use with Vaadin7. Following example shows simple usage: ````scala @Theme("valo") class RinneUI extends UI { override def init(p1: VaadinRequest): Unit = { setContent(new VVerticalLayout { sizeFull() componentSet += new VLabel { styleName = ValoTheme.LABEL_H1 value = "RinneUI" } }) } } ```` ## Credits The following people have contributed code or ideas to Rinne: * Łukasz Byczyński Rinne based on the excellent work and creativity of the Scaladin authors: * Matti Heinola * Henri Kerola * Henri Muurimaa * Risto Yrjänä ## License Rinne is licensed under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).
Author Homepage
Issue Tracker
Source Code

rinne version 0.1.0
Initial release

rinne version 0.1.1
- Add License file - Cross Scala Version support (currently uploaded add-on is only for Scala 2.11.x. If you want add-on for Scala 2.10.x please build it from sources)

rinne version 0.2.0
- Scala API for all Vaadin UI components (deprecated skipped) - Move components to own classes - Update dependencies and vaadin sbt plugin

rinne version 0.3.0
Some minor API changes (mostly proper mixin implementation) - Be aware! - Cleanup hierarchy of components - Add listenersSet helpers in many components (you can use scala lambda functions to handle events)

rinne version 0.5.0
- Rinne hits BETA status - Introduce tests (above 70% code coverage) - Much more Scala friendly listeners handling in components - Bugfixes

rinne version 0.6.0
Upgrade to Scala 2.12

Online