Package com.github.gwtbootstrap.client.ui

Source Code of com.github.gwtbootstrap.client.ui.DropdownSubmenu

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;
    }
   
}
TOP

Related Classes of com.github.gwtbootstrap.client.ui.DropdownSubmenu

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.