Package org.gwtbootstrap3.client.ui

Examples of org.gwtbootstrap3.client.ui.RadioButton


        implements HasHref, HasTargetHistoryToken, HasClickHandlers, Focusable, HasDataToggle, HasIcon, HasIconPosition {

    protected final Anchor anchor;

    protected AbstractAnchorListItem() {
        anchor = new Anchor();
        add(anchor, (Element) getElement());
    }
View Full Code Here


    private LeafValueEditor<Boolean> editor;

    protected AbstractLabelButton(final TypeAttrType typeAttr) {
        super(ButtonType.DEFAULT);

        input = new CheckableInputButton(typeAttr);
        input.setStyleName("");

        add(input, (Element) getElement());
        iconTextMixin.addTextWidgetToParent();
    }
View Full Code Here

                if (icon != null) {
                    icon.removeFromParent();
                }

                icon = new Icon();
                icon.setType(iconType);
                icon.setSize(iconSize);
                icon.setFlip(iconFlip);
                icon.setRotate(iconRotate);
                icon.setMuted(iconMuted);
View Full Code Here

                if (icon != null) {
                    icon.removeFromParent();
                }

                icon = new Icon();
                icon.setType(iconType);
                icon.setSize(iconSize);
                icon.setFlip(iconFlip);
                icon.setRotate(iconRotate);
                icon.setMuted(iconMuted);
View Full Code Here

            switchCmd(getElement(), "onText", onText);
        this.onText = onText;
    }

    public void setOnIcon(final IconType iconType) {
        final Icon icon = new Icon(iconType);
        icon.setSize(IconSize.LARGE);
        setOnText(icon.getElement().getString());
    }
View Full Code Here

            switchCmd(getElement(), "offText", offText);
        this.offText = offText;
    }

    public void setOffIcon(final IconType iconType) {
        final Icon icon = new Icon(iconType);
        icon.setSize(IconSize.LARGE);
        setOffText(icon.getElement().getString());
    }
View Full Code Here

    boolean reversed = false;
    private FormatterCallback formatterCallback;
    private LeafValueEditor<Double> editor;

    public SliderBase() {
        textBox = new TextBox();
        // now remove the bootstrap styles
        textBox.removeStyleName(UIObject.getStyleName(textBox.getElement()));
        setElement((Element) textBox.getElement());
        setValue(5.0);
    }
View Full Code Here

    private Widget container = null;
    private DateTimePickerLanguage language = DateTimePickerLanguage.EN;
    private DateTimePickerPosition position = DateTimePickerPosition.BOTTOM_RIGHT;

    public DateTimePickerBase() {
        textBox = new TextBox();
        setElement((Element) textBox.getElement());
        setFormat(format);
    }
View Full Code Here

        // Separates the SM_MD into [SM, MD] so we can add the right styles
        final String[] deviceString = deviceSize.name().split("_");

        for (final String device : deviceString) {
            // Case back to basic enum (PRINT, XS, SM, MD, LG)
            final DeviceSize size = DeviceSize.valueOf(device);
            switch (size) {
                case PRINT:
                    addEnumStyleName(uiObject, Responsiveness.HIDDEN_PRINT);
                    break;
                case XS:
View Full Code Here

        // Separates the SM_MD into [SM, MD] so we can add the right styles
        final String[] deviceString = deviceSize.name().split("_");

        for (final String device : deviceString) {
            // Case back to basic enum (PRINT, XS, SM, MD, LG)
            final DeviceSize size = DeviceSize.valueOf(device);
            switch (size) {
                case PRINT:
                    addEnumStyleName(uiObject, Responsiveness.VISIBLE_PRINT);
                    break;
                case XS:
View Full Code Here

TOP

Related Classes of org.gwtbootstrap3.client.ui.RadioButton

Copyright © 2018 www.massapicom. 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.