/** * Amount the contained Canvas should be offset from the right. Defaults to the size for the right edge. Set smaller to * allow the contained Canvas to overlap the edge and corner media. * <p><b>Note : </b> This is an advanced setting</p> * * @param edgeOffsetRight edgeOffsetRight Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeOffsetRight(Integer edgeOffsetRight) throws IllegalStateException { setAttribute("edgeOffsetRight", edgeOffsetRight, false); }
/** * Background color for the center section only. Can be used as a surrogate background color for the decorated Canvas, if * the Canvas is set to partially overlap the edges and hence can't show a background color itself without occluding media. * * @param centerBackgroundColor centerBackgroundColor Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setCenterBackgroundColor(String centerBackgroundColor) throws IllegalStateException { setAttribute("centerBackgroundColor", centerBackgroundColor, false); }
/** * Height in pixels for top corners and edges. Defaults to edgeSize when unset. * * @param edgeTop edgeTop Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeTop(Integer edgeTop) throws IllegalStateException { setAttribute("edgeTop", edgeTop, false); }
/** * CSS color (WITHOUT "#") for the edges. If specified, will be used as part of image names. Example: * "edge_88FF88_TL.gif". * * @param edgeColor edgeColor Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeColor(String edgeColor) throws IllegalStateException { setAttribute("edgeColor", edgeColor, false); }
/** * Base name of images for edges. Extensions for each corner or edge piece will be added to this image URL, before the * extension. For example, with the default base name of "edge.gif", the top-left corner image will be "edge_TL.gif". <P> * The full list of extensions is: "_TL", "_TR", "_BL", "_BR", "_T", "_L", "_B", "_R", "_center". * * @param edgeImage edgeImage Default value is "[SKIN]/rounded/frame/FFFFFF/6.png" * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeImage(String edgeImage) throws IllegalStateException { setAttribute("edgeImage", edgeImage, false); }
/** * Height in pixels for right corners and edges. Defaults to edgeSize when unset. * * @param edgeRight edgeRight Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeRight(Integer edgeRight) throws IllegalStateException { setAttribute("edgeRight", edgeRight, false); }
/** * Optional property specifying the CSS ClassName to apply to the various parts of this edged canvas (top, bottom, corners, * sides and center). To apply separate styles for each part, use {@link * com.smartgwt.client.widgets.EdgedCanvas#getAddEdgeStyleSuffix addEdgeStyleSuffix}. * * @param edgeStyleName edgeStyleName Default value is null */ public void setEdgeStyleName(String edgeStyleName) { setAttribute("edgeStyleName", edgeStyleName, true); }
/** * If specified, the {@link com.smartgwt.client.widgets.EdgedCanvas#getEdgeStyleName edgeStyleName} will be treated as a * base style name and appended with following suffixes to support separate styling per cell: <P> <code>_TL</code> (top * left cell)<br> <code>_T</code> (top center cell)<br> <code>_TR</code> (top right cell)<br> <code>_L</code> (middle left * cell)<br> <code>_C</code> (center cell)<br> <code>_R</code> (middle right cell)<br> <code>_BL</code> (bottom left * cell)<br> <code>_B</code> (bottom center cell)<br> <code>_BR</code> (bottom right cell) * * @param addEdgeStyleSuffix addEdgeStyleSuffix Default value is false */ public void setAddEdgeStyleSuffix(Boolean addEdgeStyleSuffix) { setAttribute("addEdgeStyleSuffix", addEdgeStyleSuffix, true); }
/** * Height in pixels for bottom corners and edges. Defaults to edgeSize when unset. * * @param edgeBottom edgeBottom Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeBottom(Integer edgeBottom) throws IllegalStateException { setAttribute("edgeBottom", edgeBottom, false); }
/** * Whether to show media in the center section, that is, behind the decorated Canvas. * * @param showCenter showCenter Default value is false * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setShowCenter(Boolean showCenter) throws IllegalStateException { setAttribute("showCenter", showCenter, false); }
/** * Standard skin directory for edge images (sides and corners). * * @param skinImgDir skinImgDir Default value is "images/edges/" * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setSkinImgDir(String skinImgDir) throws IllegalStateException { setAttribute("skinImgDir", skinImgDir, false); }
/** * Height in pixels for left corners and edges. Defaults to edgeSize when unset. * * @param edgeLeft edgeLeft Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeLeft(Integer edgeLeft) throws IllegalStateException { setAttribute("edgeLeft", edgeLeft, false); }
/** * Amount the contained Canvas should be offset from the bottom. Defaults to the size for the bottom edge. Set smaller to * allow the contained Canvas to overlap the edge and corner media. * <p><b>Note : </b> This is an advanced setting</p> * * @param edgeOffsetBottom edgeOffsetBottom Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeOffsetBottom(Integer edgeOffsetBottom) throws IllegalStateException { setAttribute("edgeOffsetBottom", edgeOffsetBottom, false); }
/** * Amount the contained Canvas should be offset from the left. Defaults to the size for the left edge. Set smaller to * allow the contained Canvas to overlap the edge and corner media. * <p><b>Note : </b> This is an advanced setting</p> * * @param edgeOffsetLeft edgeOffsetLeft Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeOffsetLeft(Integer edgeOffsetLeft) throws IllegalStateException { setAttribute("edgeOffsetLeft", edgeOffsetLeft, false); }
/** * Amount the contained Canvas should be offset from the top. Defaults to the size for the top edge. Set smaller to * allow the contained Canvas to overlap the edge and corner media. * <p><b>Note : </b> This is an advanced setting</p> * * @param edgeOffsetTop edgeOffsetTop Default value is null * @throws IllegalStateException this property cannot be changed after the component has been created */ public void setEdgeOffsetTop(Integer edgeOffsetTop) throws IllegalStateException { setAttribute("edgeOffsetTop", edgeOffsetTop, false); }