/** * Default src to display when {@link com.smartgwt.client.widgets.ImgSplitbar#getVertical vertical} is true, and {@link * com.smartgwt.client.widgets.ImgSplitbar#getSrc src} is unset. * * @param vSrc vSrc Default value is [SKIN]vgrip.png * @throws IllegalStateException this property cannot be changed after the component has been created * @see com.smartgwt.client.widgets.ImgSplitbar#setSrc */ public void setVSrc(String vSrc) throws IllegalStateException { setAttribute("vSrc", vSrc, false); }
/** * Default src to display when {@link com.smartgwt.client.widgets.ImgSplitbar#getVertical vertical} is false, and {@link * com.smartgwt.client.widgets.ImgSplitbar#getSrc src} is unset. * * @param hSrc hSrc Default value is [SKIN]hgrip.png * @throws IllegalStateException this property cannot be changed after the component has been created * @see com.smartgwt.client.widgets.ImgSplitbar#setSrc */ public void setHSrc(String hSrc) throws IllegalStateException { setAttribute("hSrc", hSrc, false); }
/** * If this property is true, a click on the Splitbar will collapse its {@link * com.smartgwt.client.widgets.Splitbar#getTarget target}, hiding it and shifting the Splitbar and other members of the * layout across to fill the newly available space. If the target is already hidden a click will expand it again (showing * it at it's normal size). * * @param canCollapse canCollapse Default value is true */ public void setCanCollapse(Boolean canCollapse) { setAttribute("canCollapse", canCollapse, true); }
/** * Default directory for skin images (those defined by the class), relative to the Page-wide {@link * com.smartgwt.client.util.Page#getSkinDir skinDir}. * * @param skinImgDir skinImgDir Default value is "images/SplitBar/" * @throws IllegalStateException this property cannot be changed after the component has been created * @see com.smartgwt.client.docs.Images Images overview and related methods */ public void setSkinImgDir(String skinImgDir) throws IllegalStateException { setAttribute("skinImgDir", skinImgDir, false); }
/** * <code>canDrag</code> set to true to allow dragging of the split bar. Dragging the Splitbar will resize it's {@link * com.smartgwt.client.widgets.Splitbar#getTarget target} * * @param canDrag canDrag Default value is true */ public void setCanDrag(Boolean canDrag) { setAttribute("canDrag", canDrag, true); }
/** * The base filename for the image. <P> If <code>img.state</code> is set, it's value will be appended to the URL before the * file extension. <P> For example, given an <code>src</code> of "findIcon.gif" and a state of "Disabled", the resulting * image name would be "findIcon_Disabled.gif". Compound states such as "Selected", "Focused" and "Over" or "Down" will * have an intervening underscore, resulting in, for example, <code>"findIcon_Selected_Down.gif"</code>. * * @param src src Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setSrc(String src) throws IllegalStateException { setAttribute("src", src, false); }