com.github.gwtbootstrap.client.ui.DropdownSubmenu Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-bootstrap Show documentation
Show all versions of gwt-bootstrap Show documentation
A GWT Library that provides the widgets of Twitter Bootstrap.
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