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

com.github.gwtbootstrap.client.ui.ThumbnailLink Maven / Gradle / Ivy

package com.github.gwtbootstrap.client.ui;

import com.github.gwtbootstrap.client.ui.base.HasSize;
import com.github.gwtbootstrap.client.ui.base.SizeHelper;
import com.github.gwtbootstrap.client.ui.constants.Constants;

/**
 * The thumbnail be wrapped by Anchor.
 * 
 * @since 2.2.1.0
 * @author ohashi keisuke
 * @see Thumbnails
 * @see Thumbnail
 * @see Twitter Bootstrap Documentation
 */
public class ThumbnailLink extends NavWidget implements HasSize {

    /**
     * Create an empty Thumbnail
     */
    public ThumbnailLink() {
        super();
        getAnchor().setStyleName(Constants.THUMBNAIL);
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public void setSize(int size) {
        SizeHelper.setSize(this, size);
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy