/** * If true, item contents can wrap. If false, all the contents should appear on a single line. * * * @return Boolean * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public Boolean getWrap() { return getAttributeAsBoolean("wrap"); }
/** * By default, texts span all remaining columns * * * @return int * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public int getColSpan() { return getAttributeAsInt("colSpan"); }
/** * Base css style for this item. * * * @return String * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public String getTextBoxStyle() { return getAttributeAsString("textBoxStyle"); }
public BlurbItem(String name) { setName(name); setAttribute("editorType", "BlurbItem"); }
public static BlurbItem getOrCreateRef(JavaScriptObject jsObj) { if(jsObj == null) return null; RefDataClass obj = RefDataClass.getRef(jsObj); if(obj != null) { obj.setJsObj(jsObj); return (BlurbItem) obj; } else { return new BlurbItem(jsObj); } }
/** * By default, texts span all remaining columns * * @param colSpan colSpan Default value is "*" * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setColSpan(int colSpan) { setAttribute("colSpan", colSpan); }
/** * Create the form item with the given name. An internal form will already be created, and in that form a * <code>TextItem</code> will be shown. * * @param name form item name */ public AttributeFormItem(String name) { super(name); form = new DynamicForm(); form.setHeight(26); formItem = new BlurbItem(); formItem.setShowTitle(false); formItem.setValue("..................."); form.setFields(formItem); setCanvas(form); }
/** * Blurb items show no title by default. * * @param showTitle showTitle Default value is false * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setShowTitle(Boolean showTitle) { setAttribute("showTitle", showTitle); }
layerSelect = new BlurbItem(); layerSelect.setShowTitle(true); layerSelect.setTitle(I18nProvider.getSearch().labelLayerSelected());
/** * If true, item contents can wrap. If false, all the contents should appear on a single line. * * @param wrap wrap Default value is null * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setWrap(Boolean wrap) { setAttribute("wrap", wrap); }
/** * If true, text that exceeds the specified size of the form item will be clipped * * * @return Boolean * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public Boolean getClipValue() { return getAttributeAsBoolean("clipValue"); }
/** * If true, text that exceeds the specified size of the form item will be clipped * * @param clipValue clipValue Default value is false * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setClipValue(Boolean clipValue) { setAttribute("clipValue", clipValue); }
/** * Blurb items show no title by default. * * * @return Boolean * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public Boolean getShowTitle() { return getAttributeAsBoolean("showTitle"); }
/** * Base css style for this item. * * @param textBoxStyle textBoxStyle Default value is "staticTextItem" * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setTextBoxStyle(String textBoxStyle) { setAttribute("textBoxStyle", textBoxStyle); }
public BlurbItem(){ setAttribute("editorType", "BlurbItem"); }