/** Sets the header button as inline block. */ @Override public void setInline(boolean value) { inline = value; if (headingToggle != null) { JQMCommon.setInlineEx(headingToggle, value, JQMCommon.STYLE_UI_BTN_INLINE); } }
/** Sets the header button as inline block. */ @Override public void setInline(boolean value) { inline = value; if (headingToggle != null) { JQMCommon.setInlineEx(headingToggle, value, JQMCommon.STYLE_UI_BTN_INLINE); } }
@Override public void setInline(boolean inline) { JQMCommon.setInlineEx(this, inline, JQMCommon.STYLE_UI_BTN_INLINE); }
/** Sets the header button as inline block. */ @Override public void setInline(boolean value) { inline = value; if (headingToggle != null) { JQMCommon.setInlineEx(headingToggle, value, JQMCommon.STYLE_UI_BTN_INLINE); } }
@Override public void setInline(boolean inline) { JQMCommon.setInlineEx(this, inline, JQMCommon.STYLE_UI_BTN_INLINE); }
/** * Sets this button to be inline. * <br> * NOTE: If this button is inside a {@link JQMButtonGroup} then you must * call withInline(boolean) on the button group itself and not each button * individually. * * @param inline true to change to line or false to switch to full width */ @Override public void setInline(boolean inline) { JQMCommon.setInlineEx(this, inline, JQMCommon.STYLE_UI_BTN_INLINE); }
@Override public void setInline(boolean inline) { JQMCommon.setInlineEx(this, inline, JQMCommon.STYLE_UI_BTN_INLINE); }
/** * Sets this button to be inline. * <br> * NOTE: If this button is inside a {@link JQMButtonGroup} then you must * call withInline(boolean) on the button group itself and not each button * individually. * * @param inline true to change to line or false to switch to full width */ @Override public void setInline(boolean inline) { JQMCommon.setInlineEx(this, inline, JQMCommon.STYLE_UI_BTN_INLINE); }
/** * Sets this button to be inline. * <br> * NOTE: If this button is inside a {@link JQMButtonGroup} then you must * call withInline(boolean) on the button group itself and not each button * individually. * * @param inline true to change to line or false to switch to full width */ @Override public void setInline(boolean inline) { JQMCommon.setInlineEx(this, inline, JQMCommon.STYLE_UI_BTN_INLINE); }
@Override public void setInline(boolean value) { JQMCommon.setInlineEx(getElement(), value, "ui-inline"); }
@Override public void setInline(boolean value) { JQMCommon.setInlineEx(getElement(), value, "ui-inline"); }
public static void setInlineEx(Widget widget, boolean inline, String className) { setInlineEx(widget.getElement(), inline, className); }
@Override public void setInline(boolean value) { JQMCommon.setInlineEx(getElement(), value, "ui-inline"); }
public static void setInlineEx(Widget widget, boolean inline, String className) { setInlineEx(widget.getElement(), inline, className); }
public static void setInlineEx(Widget widget, boolean inline, String className) { setInlineEx(widget.getElement(), inline, className); }
/** If set to true, this will make the select/dropdown act like an inline widget * so the width is determined by the widget's text. */ public void setSelectInline(boolean value) { JQMCommon.setInline(select, value); Element uiSel = findUiSelect(); if (uiSel != null) { JQMCommon.setInlineEx(uiSel, value, JQMCommon.STYLE_UI_BTN_INLINE); } }
/** If set to true, this will make the select/dropdown act like an inline widget * so the width is determined by the widget's text. */ public void setSelectInline(boolean value) { JQMCommon.setInline(select, value); Element uiSel = findUiSelect(); if (uiSel != null) { JQMCommon.setInlineEx(uiSel, value, JQMCommon.STYLE_UI_BTN_INLINE); } }
/** If set to true, this will make the select/dropdown act like an inline widget * so the width is determined by the widget's text. */ public void setSelectInline(boolean value) { JQMCommon.setInline(select, value); findUiSelect(); if (uiSelect != null) { JQMCommon.setInlineEx(uiSelect, value, JQMCommon.STYLE_UI_BTN_INLINE); } }
private void findSubParts() { Boolean isInstance = null; if (headingToggle == null) { if (isInstance == null) isInstance = isInstance(getElement()); if (isInstance) { headingToggle = JQMCommon.findFirst(header.getElement(), ".ui-collapsible-heading-toggle.ui-btn"); if (headingToggle != null) { JQMCommon.setInlineEx(headingToggle, inline, JQMCommon.STYLE_UI_BTN_INLINE); JQMCommon.setIconNoDisc(headingToggle, iconNoDisc); JQMCommon.setIconAlt(headingToggle, iconAlt); JQMCommon.addStyleNames(headingToggle, headerStyleNames); } } } if (collapsibleContent == null) { if (isInstance == null) isInstance = isInstance(getElement()); if (isInstance) { collapsibleContent = JQMCommon.findFirst(getElement(), ".ui-collapsible-content"); if (collapsibleContent != null) JQMCommon.addStyleNames(collapsibleContent, contentStyleNames); } } }