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

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

The newest version!
package com.github.gwtbootstrap.client.ui;

import com.github.gwtbootstrap.client.ui.base.IconAnchor;
import com.github.gwtbootstrap.client.ui.constants.Constants;

/**
 * Dropdown's Submenu
 * 
 * @since 2.2.1.0
 * @author ohashi keisuke
 *
 */
public class DropdownSubmenu extends Dropdown {

    /**
     * Create a Empty widget.
     */
    public DropdownSubmenu() {
        this("");
    }

    /**
     * Creates an empty DropdownSubmenu with the given caption.
     * 
     * @param caption
     *            the dropdown's caption
     */
    public DropdownSubmenu(String caption) {
        super(caption);
        setStyleName(Constants.DROPDOWN_SUBMENU);
    }
    
    /**
     * {@inheritDoc}
     * Create Trigger without caret
     */
    @Override
    protected IconAnchor createTrigger() {
        final IconAnchor trigger = new IconAnchor();
        return trigger;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy