com.vaadin.v7.shared.ui.textfield.AbstractTextFieldState Maven / Gradle / Ivy
/*
* 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.textfield;
import com.vaadin.shared.annotations.NoLayout;
import com.vaadin.v7.shared.AbstractFieldState;
@Deprecated
public class AbstractTextFieldState extends AbstractFieldState {
{
primaryStyleName = "v-textfield";
}
/**
* Maximum character count in text field.
*/
@NoLayout
public int maxLength = -1;
/**
* Number of visible columns in the TextField.
*/
public int columns = 0;
/**
* The prompt to display in an empty field. Null when disabled.
*/
@NoLayout
public String inputPrompt = null;
/**
* The text in the field.
*/
@NoLayout
public String text = null;
}