Package net.moewes.cloudui.vaadin
Class Details
- java.lang.Object
-
- net.moewes.cloudui.UiComponent
-
- net.moewes.cloudui.vaadin.Details
-
public class Details extends net.moewes.cloudui.UiComponent
Java wrapper for Vaadin web component vaadin-detail
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Details.Themes
possible values for theme attribute
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.moewes.cloudui.UiElement
render()
void
setOpened(boolean opened)
sets the opened attribute of vaadin-detail.void
setTheme(Details.Themes theme)
sets the theme attribute of vaadin-detail
-
-
-
Constructor Detail
-
Details
public Details(String headerText)
default constructor- Parameters:
headerText
- text that is displayed in the header
-
-
Method Detail
-
setTheme
public void setTheme(Details.Themes theme)
sets the theme attribute of vaadin-detail- Parameters:
theme
- theme
-
setOpened
public void setOpened(boolean opened)
sets the opened attribute of vaadin-detail. default value is true opened- Parameters:
opened
- true or false
-
render
public net.moewes.cloudui.UiElement render()
- Overrides:
render
in classnet.moewes.cloudui.UiComponent
-
-