/** * If {@link com.smartgwt.client.widgets.StretchImg#getShowGrip showGrip} is true, this property determines whether to show * the 'Down' state on the grip image when the user mousedown's on this widget. Has no effect if {@link * com.smartgwt.client.widgets.StatefulCanvas#getShowDown showDown} is false. * <p><b>Note : </b> This is an advanced setting</p> * * @param showDownGrip showDownGrip Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setShowDownGrip(Boolean showDownGrip) throws IllegalStateException { setAttribute("showDownGrip", showDownGrip, false); }
/** * Should we show a "grip" image floating above the center of this widget? * <p><b>Note : </b> This is an advanced setting</p> * * @param showGrip showGrip Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setShowGrip(Boolean showGrip) throws IllegalStateException { setAttribute("showGrip", showGrip, 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); }
/** * <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); }
/** * Suffix used the 'grip' image if {@link com.smartgwt.client.widgets.StretchImg#getShowGrip showGrip} is true. * <p><b>Note : </b> This is an advanced setting</p> * * @param gripImgSuffix gripImgSuffix Default value is "grip" * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setGripImgSuffix(String gripImgSuffix) throws IllegalStateException { setAttribute("gripImgSuffix", gripImgSuffix, false); }
/** * If {@link com.smartgwt.client.widgets.Splitbar#getShowGrip showGrip} is true, this property determines whether the grip * image displayed should show the <code>"Closed"</code> state when the {@link * com.smartgwt.client.widgets.Splitbar#getTarget target} is hidden. * <p><b>Note : </b> This is an advanced setting</p> * * @param showClosedGrip showClosedGrip Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setShowClosedGrip(Boolean showClosedGrip) throws IllegalStateException { setAttribute("showClosedGrip", showClosedGrip, false); }
/** * If {@link com.smartgwt.client.widgets.StretchImg#getShowGrip showGrip} is true, this property determines whether to show * the 'Over' state on the grip image when the user rolls over on this widget. Has no effect if {@link * com.smartgwt.client.widgets.StatefulCanvas#getShowRollOver showRollOver} is false. * <p><b>Note : </b> This is an advanced setting</p> * * @param showRollOverGrip showRollOverGrip Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setShowRollOverGrip(Boolean showRollOverGrip) throws IllegalStateException { setAttribute("showRollOverGrip", showRollOverGrip, false); }
/** * 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. * * @param hSrc hSrc Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created * @see com.smartgwt.client.widgets.StretchImg#setSrc * @see com.smartgwt.client.widgets.StretchImg#setVSrc * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setHSrc(String hSrc) throws IllegalStateException { setAttribute("hSrc", hSrc, false); }
/** * 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. * * @param vSrc vSrc Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created * @see com.smartgwt.client.widgets.StretchImg#setSrc * @see com.smartgwt.client.widgets.StretchImg#setVSrc * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setVSrc(String vSrc) throws IllegalStateException { setAttribute("vSrc", vSrc, false); }
/** * 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". * * @param src src Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created * @see com.smartgwt.client.widgets.StretchImg#setHSrc * @see com.smartgwt.client.widgets.StretchImg#setVSrc * @see com.smartgwt.client.docs.Appearance Appearance overview and related methods */ public void setSrc(String src) throws IllegalStateException { setAttribute("src", src, false); }
/** * Cursor to display if this Splitbar is to be used for vertical resize of widgets. * * @param vResizeCursor vResizeCursor Default value is "row-resize" * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setVResizeCursor(Cursor vResizeCursor) throws IllegalStateException { setAttribute("vResizeCursor", vResizeCursor.getValue(), false); }
/** * Splitbars' cursors are set at init time based on whether they are to be used for vertical or horizontal resize. To * customize the cursor for this class, modify {@link com.smartgwt.client.widgets.Splitbar#getVResizeCursor vResizeCursor} * or {@link com.smartgwt.client.widgets.Splitbar#getHResizeCursor hResizeCursor} rather than this property. * * @param cursor cursor Default value is "hand" */ public void setCursor(Cursor cursor) { setAttribute("cursor", cursor.getValue(), true); }
/** * Cursor to display if this Splitbar is to be used for horizontal resize of widgets. * * @param hResizeCursor hResizeCursor Default value is "col-resize" * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setHResizeCursor(Cursor hResizeCursor) throws IllegalStateException { setAttribute("hResizeCursor", hResizeCursor.getValue(), false); }