All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.v7.shared.ui.textarea.TextAreaState Maven / Gradle / Ivy

There is a newer version: 8.27.3
Show newest version
/*
 * Copyright (C) 2000-2024 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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy