/** * Suffix used the 'grip' image if {@link com.smartgwt.client.widgets.StretchImg#getShowGrip showGrip} is true. * * * @return String */ public String getGripImgSuffix() { return getAttributeAsString("gripImgSuffix"); }
/** * If specified this css class will be applied to the individual item images within this StretchImg. May be overridden by * specifying item-specific base styles to each object in the {@link com.smartgwt.client.widgets.StretchImg#getItems items * array}. This base style will have standard stateful suffixes appended to indicate the state of this component (as * described in {@link com.smartgwt.client.widgets.StatefulCanvas#getBaseStyle baseStyle}). * * * @return String */ public String getItemBaseStyle() { return getAttributeAsString("itemBaseStyle"); }
/** * Base URL for the image if {@link com.smartgwt.client.widgets.StretchImg#getVertical vertical} is false and {@link * com.smartgwt.client.widgets.StretchImg#getSrc src} is unset. * * * @return String * @see com.smartgwt.client.widgets.StretchImg#getSrc * @see com.smartgwt.client.widgets.StretchImg#getVSrc * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public String getHSrc() { return getAttributeAsString("hSrc"); }
/** * Base URL for the image if {@link com.smartgwt.client.widgets.StretchImg#getVertical vertical} is true and {@link * com.smartgwt.client.widgets.StretchImg#getSrc src} is unset. * * * @return String * @see com.smartgwt.client.widgets.StretchImg#getSrc * @see com.smartgwt.client.widgets.StretchImg#getVSrc * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public String getVSrc() { return getAttributeAsString("vSrc"); }
/** * The base URL for the image. <P> As with {@link com.smartgwt.client.widgets.Img#getSrc src}, the {@link * com.smartgwt.client.types.State} of the component is added to this URL. Then, the image segment name as specified by * {@link com.smartgwt.client.widgets.StretchImg#getItems items} is added. <P> For example, for a stretchImg in "Over" * state with a <code>src</code> of "button.png" and a segment name of "stretch", the resulting URL would be * "button_Over_stretch.png". * * * @return String * @see com.smartgwt.client.widgets.StretchImg#getHSrc * @see com.smartgwt.client.widgets.StretchImg#getVSrc * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public String getSrc() { return getAttributeAsString("src"); }