/** * The minimum pixel height of the track end segments (if enabled with showTrackEnds). * <p><b>Note : </b> This is an advanced setting</p> * * @param trackEndHeight trackEndHeight Default value is 12 * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setTrackEndHeight(int trackEndHeight) throws IllegalStateException { setAttribute("trackEndHeight", trackEndHeight, false); }
/** * If true, the thumb's appearance changes when the user rolls over it. * <p><b>Note : </b> This is an advanced setting</p> * * @param allowThumbOverState allowThumbOverState Default value is false * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setAllowThumbOverState(Boolean allowThumbOverState) throws IllegalStateException { setAttribute("allowThumbOverState", allowThumbOverState, false); }
/** * Allows the size of the corner segment to be set independently of the {@link * com.smartgwt.client.widgets.Scrollbar#getBtnSize btnSize}. * * @param cornerSize cornerSize Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setCornerSize(Integer cornerSize) throws IllegalStateException { setAttribute("cornerSize", cornerSize, false); }
/** * If true, this scrollbar will automatically enable when the scrollTarget is scrollable (i.e., when the contents of the * scrollTarget exceed its clip size in the direction relevant to this scrollbar), and automatically disable when the * scrollTarget is not scrollable. Set this property to false for full manual control over a scrollbar's enabled state. * <p><b>Note : </b> This is an advanced setting</p> * * @param autoEnable autoEnable Default value is true */ public void setAutoEnable(Boolean autoEnable) { setAttribute("autoEnable", autoEnable, true); }
/** * The size of the square buttons (arrows) at the ends of this scrollbar. This overrides the width of a vertical scrollbar * or the height of a horizontal scrollbar to set the scrollbar's thickness. * * @param btnSize btnSize Default value is 16 */ public void setBtnSize(int btnSize) { setAttribute("btnSize", btnSize, true); }
/** * Number of pixels the thumb is allowed to overlap the buttons at the end of the track. Default prevents doubling of 1px * borders. Set higher to allow media that shows curved joins between the track button and ScrollThumb. * <p><b>Note : </b> This is an advanced setting</p> * * @param endThumbOverlap endThumbOverlap Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEndThumbOverlap(Integer endThumbOverlap) throws IllegalStateException { setAttribute("endThumbOverlap", endThumbOverlap, false); }
/** * The minimum pixel size of the draggable thumb regardless of how large the scrolling region becomes. * <p><b>Note : </b> This is an advanced setting</p> * * @param thumbMinSize thumbMinSize Default value is 12 * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setThumbMinSize(int thumbMinSize) throws IllegalStateException { setAttribute("thumbMinSize", thumbMinSize, false); }
/** * If true, the thumb's appearance changes when it's clicked on. * <p><b>Note : </b> This is an advanced setting</p> * * @param allowThumbDownState allowThumbDownState Default value is false * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setAllowThumbDownState(Boolean allowThumbDownState) throws IllegalStateException { setAttribute("allowThumbDownState", allowThumbDownState, false); }
/** * Where are the skin images for the Scrollbar. This is local to the {@link com.smartgwt.client.util.Page#getSkinDir * overall skin directory}. * <p><b>Note : </b> This is an advanced setting</p> * * @param skinImgDir skinImgDir Default value is "images/Scrollbar/" * @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); }
/** * Number of pixels the thumb is allowed to overlap the buttons at the start of the track. Default prevents doubling of 1px * borders. Set higher to allow media that shows curved joins between the track button and ScrollThumb. * <p><b>Note : </b> This is an advanced setting</p> * * @param startThumbOverlap startThumbOverlap Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setStartThumbOverlap(Integer startThumbOverlap) throws IllegalStateException { setAttribute("startThumbOverlap", startThumbOverlap, false); }
/** * The minimum pixel width of the track end segments (if enabled with showTrackEnds). * <p><b>Note : </b> This is an advanced setting</p> * * @param trackEndWidth trackEndWidth Default value is 12 * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setTrackEndWidth(int trackEndWidth) throws IllegalStateException { setAttribute("trackEndWidth", trackEndWidth, false); }
/** * Base URL for the images used for the vertical scrollbar track and end buttons. See {@link * com.smartgwt.client.widgets.Scrollbar#getHSrc hSrc} for usage. * * @param vSrc vSrc Default value is "[SKIN]vscroll.gif" * @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 setVSrc(String vSrc) throws IllegalStateException { setAttribute("vSrc", vSrc, false); }
/** * URL for the corner image, a singular image that appears in the corner when both h and v scrollbars are showing. * * @param cornerSrc cornerSrc Default value is "[SKIN]corner.gif" * @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 setCornerSrc(String cornerSrc) throws IllegalStateException { setAttribute("cornerSrc", cornerSrc, false); }
/** * If true, displays a corner piece at the bottom end of a vertical scrollbar, or the right end of a horizontal scrollbar. * This is typically set only when both horizontal and vertical scrollbars are displayed and about the same corner. * <p><b>Note : </b> This is an advanced setting</p> * * @param showCorner showCorner Default value is false * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setShowCorner(Boolean showCorner) throws IllegalStateException { setAttribute("showCorner", showCorner, false); }
/** * Inset of the thumb relative to the track. An inset of N pixels means the thumb is 2N pixels smaller in breadth than the * track. * <p><b>Note : </b> This is an advanced setting</p> * * @param thumbInset thumbInset Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setThumbInset(Integer thumbInset) throws IllegalStateException { setAttribute("thumbInset", thumbInset, false); }
/** * Number of pixels the thumb is allowed to overlap the buttons at each end of the track. Default prevents doubling of 1px * borders. Set higher to allow media that shows curved joins between the track button and ScrollThumb. * <p><b>Note : </b> This is an advanced setting</p> * * @param thumbOverlap thumbOverlap Default value is 1 * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setThumbOverlap(int thumbOverlap) throws IllegalStateException { setAttribute("thumbOverlap", thumbOverlap, false); }
/** * If true, the scrollbar uses a 5-segment rather than 3-segment image representation, where the 3 interior image segments * have the same state (Down, Over, etc), independent of the two outermost image segments. <P> This allows certain * advanced skinning designs where the track-as-such (space in which the thumb may be dragged) has curved endcaps, and is * also visually stateful (that is, changes when the mouse goes down, without affecting the appearance of the outermost * segments). * <p><b>Note : </b> This is an advanced setting</p> * * @param showTrackEnds showTrackEnds Default value is false * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setShowTrackEnds(Boolean showTrackEnds) throws IllegalStateException { setAttribute("showTrackEnds", showTrackEnds, false); }
/** * Base URL for the images used for the horizontal scrollbar track and end buttons. <P> See {@link * com.smartgwt.client.widgets.StretchImg#getItems items} for a general explanation of how this base URL is transformed * into various pieces and states. <P> For a normal 3-segment track, the suffixes "_start", "_track" and "_end" are added * to this URL. The "start" and "end" images should appear to be buttons (the user can click on these segments to scroll * slowly). The "track" segment provides a background for the space in which the thumb can be dragged, and can also be * clicked on to scroll quickly. <P> For a 5-segment track ({@link com.smartgwt.client.widgets.Scrollbar#getShowTrackEnds * showTrackEnds}:true), the suffixes are "_start", "_track_start", "_track", "_track_end" and "_end". * * @param hSrc hSrc Default value is "[SKIN]hscroll.gif" * @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 setHSrc(String hSrc) throws IllegalStateException { setAttribute("hSrc", hSrc, false); }