com.vaadin.v7.shared.ui.textarea.TextAreaState Maven / Gradle / Ivy
/*
* Copyright (C) 2000-2023 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.v7.shared.ui.textarea;
import com.vaadin.shared.annotations.DelegateToWidget;
import com.vaadin.shared.annotations.NoLayout;
import com.vaadin.v7.shared.ui.textfield.AbstractTextFieldState;
@Deprecated
public class TextAreaState extends AbstractTextFieldState {
{
primaryStyleName = "v-textarea";
}
/**
* Number of visible rows in the text area. The default is 5.
*/
@DelegateToWidget
public int rows = 5;
/**
* Tells if word-wrapping should be used in the text area.
*/
@DelegateToWidget
@NoLayout
public boolean wordwrap = true;
}