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

com.vaadin.v7.ui.Label Maven / Gradle / Ivy

The 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.ui;

import java.lang.reflect.Method;
import java.util.Collection;
import java.util.Locale;

import org.jsoup.nodes.Element;

import com.vaadin.shared.util.SharedUtil;
import com.vaadin.ui.Component;
import com.vaadin.ui.declarative.DesignContext;
import com.vaadin.ui.declarative.DesignFormatter;
import com.vaadin.v7.data.Property;
import com.vaadin.v7.data.util.converter.Converter;
import com.vaadin.v7.data.util.converter.ConverterUtil;
import com.vaadin.v7.shared.ui.label.ContentMode;
import com.vaadin.v7.shared.ui.label.LabelState;

/**
 * 

* Label component for showing non-editable short texts. *

* The label content can be set to the modes specified by {@link ContentMode} *

* * The contents of the label may contain simple formatting: * *
    *
  • <b> Bold
  • *
  • <i> Italic
  • *
  • <u> Underlined
  • *
  • <br/> Linebreak
  • *
  • <ul><li>item 1</li><li>item 2</li></ul> List of * items *
* The b,i,u and li tags can contain all the tags in * the list recursively. * * @author Vaadin Ltd. * @since 3.0 * * @deprecated As of 8.0, replaced by {@link com.vaadin.ui.Label} that removes * data binding support */ @SuppressWarnings("serial") @Deprecated public class Label extends AbstractLegacyComponent implements Property, Property.Viewer, Property.ValueChangeListener, Property.ValueChangeNotifier, Comparable




© 2015 - 2024 Weber Informatics LLC | Privacy Policy