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

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

Go to download

A mocked implementation for gwt-bootstrap-2.3.2.0 that can run in the JVM to allow integration testing

There is a newer version: 0.1.1
Show 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 - 2025 Weber Informatics LLC | Privacy Policy