001/*
002 *  Copyright 2012 GWT-Bootstrap
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016package com.github.gwtbootstrap.client.ui;
017
018import com.github.gwtbootstrap.client.ui.base.DivWidget;
019import com.github.gwtbootstrap.client.ui.resources.Bootstrap;
020
021//@formatter:off
022/**
023 * Special widget to promote something on a website.
024 * 
025 * <p>
026 * <h3>UiBinder Usage:</h3>
027 * 
028 * <pre>
029 * {@code
030 * <b:Hero>
031 *     <b:Heading size="2">Hero Unit</b:Heading>
032 *     <b:Paragraph>Some Text for the Hero Unit.</b:Paragraph>
033 *     <b:Paragraph>More text.</b:Paragraph>
034 * </b:Hero>
035 * }
036 * </pre>
037 * </p>
038 * 
039 * @since 2.0.4.0
040 * 
041 * @author Dominik Mayer
042 *
043 * @see <a href="http://getbootstrap.com/2.3.2/components.html#typography">Bootstrap documentation</a>
044 * @see Heading
045 * @see Paragraph
046 */
047//@formatter:on
048public class Hero extends DivWidget {
049
050        /**
051         * Creates an empty widget.
052         */
053        public Hero() {
054                addStyleName(Bootstrap.hero_unit);
055        }
056
057}