Directory

← Back

rinne

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

Author

Contributors

Rating

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
Online