GridTableStyle

Inheritance: java.lang.Object, com.aspose.gridweb.WebStyle, com.aspose.gridweb.WebTableStyle

public class GridTableStyle extends WebTableStyle

Inherited from System.Web.UI.WebControls.TableStyle. Represents the style of a web table. Please refer to .NET SDK document about System.Web.UI.WebControls.TableStyle for further information.

Constructors

ConstructorDescription
GridTableStyle()Default constructor.

Methods

MethodDescription
copyFrom(WebStyle s)Copies from another style object.
equals(Object arg0)
getBackColor()Gets the BackColor in the style
getBackImageUrl()Background image url.
getBorderCollapse()Specifies the border collapse feature.
getBorderColor()Gets the BorderColor in the style
getBorderStyle()Gets the BorderStyle in the style
getBorderWidth()Gets the BorderWidth in the style
getBottomBorderStyle()Specifies the style of bottom border of the table.
getCellPadding()Always returns -1.
getCellSpacing()Always returns -1.
getClass()
getCssClass()Gets the CssClass in the style
getFont()Gets the Font in the style
getForeColor()Gets the ForeColor in the style
getGridLines()Grid lines.
getHeight()Gets the Height in the style
getHorizontalAlign()Horizontal align.
getLayoutFixed()Specifies whether the layout of the table is fixed(not extended automatically when it contain large objects).
getLeftBorderStyle()Specifies the style of left border of the table.
getRightBorderStyle()Specifies the style of right border of the table.
getTopBorderStyle()Specifies the style of top border of the table.
getWidth()Gets the Width in the style
hashCode()
mergeWith(WebStyle s)Merges with another style object.
notify()
notifyAll()
setBackColor(Color value)Sets the BackColor in the style
setBackImageUrl(String value)Background image url.
setBorderCollapse(int value)Specifies the border collapse feature.
setBorderColor(Color value)Sets the BorderColor in the style
setBorderStyle(int value)Sets the BorderStyle in the style
setBorderWidth(Unit value)Sets the BorderWidth in the style
setBottomBorderStyle(WebBorderStyle value)Specifies the style of bottom border of the table.
setCellPadding(int value)Always returns -1.
setCellSpacing(int value)Always returns -1.
setCssClass(String value)Sets the CssClass in the style
setForeColor(Color value)Sets the ForeColor in the style
setGridLines(int value)Grid lines.
setHeight(Unit value)Sets the Height in the style
setHorizontalAlign(int value)Horizontal align.
setLayoutFixed(int value)Specifies whether the layout of the table is fixed(not extended automatically when it contain large objects).
setLeftBorderStyle(WebBorderStyle value)Specifies the style of left border of the table.
setRightBorderStyle(WebBorderStyle value)Specifies the style of right border of the table.
setTopBorderStyle(WebBorderStyle value)Specifies the style of top border of the table.
setWidth(Unit value)Sets the Width in the style
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

GridTableStyle()

public GridTableStyle()

Default constructor.

copyFrom(WebStyle s)

public void copyFrom(WebStyle s)

Copies from another style object.

Parameters:

ParameterTypeDescription
sWebStyleanother style object.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBackColor()

public Color getBackColor()

Gets the BackColor in the style

Returns: Color

getBackImageUrl()

public String getBackImageUrl()

Background image url.

Returns: java.lang.String

getBorderCollapse()

public int getBorderCollapse()

Specifies the border collapse feature.

See BorderCollapseType.

Returns: int

getBorderColor()

public Color getBorderColor()

Gets the BorderColor in the style

Returns: Color

getBorderStyle()

public int getBorderStyle()

Gets the BorderStyle in the style

See BorderStyle.

Returns: int

getBorderWidth()

public Unit getBorderWidth()

Gets the BorderWidth in the style

Returns: Unit

getBottomBorderStyle()

public WebBorderStyle getBottomBorderStyle()

Specifies the style of bottom border of the table.

Returns: WebBorderStyle

getCellPadding()

public int getCellPadding()

Always returns -1.

Returns: int

getCellSpacing()

public int getCellSpacing()

Always returns -1.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCssClass()

public String getCssClass()

Gets the CssClass in the style

Returns: java.lang.String

getFont()

public FontInfo getFont()

Gets the Font in the style

Returns: FontInfo

getForeColor()

public Color getForeColor()

Gets the ForeColor in the style

Returns: Color

getGridLines()

public int getGridLines()

Grid lines.

See GridLines.

Returns: int

getHeight()

public Unit getHeight()

Gets the Height in the style

Returns: Unit

getHorizontalAlign()

public int getHorizontalAlign()

Horizontal align.

See HorizontalAlign.

Returns: int

getLayoutFixed()

public int getLayoutFixed()

Specifies whether the layout of the table is fixed(not extended automatically when it contain large objects).

See LayoutFixedType.

Returns: int

getLeftBorderStyle()

public WebBorderStyle getLeftBorderStyle()

Specifies the style of left border of the table.

Returns: WebBorderStyle

getRightBorderStyle()

public WebBorderStyle getRightBorderStyle()

Specifies the style of right border of the table.

Returns: WebBorderStyle

getTopBorderStyle()

public WebBorderStyle getTopBorderStyle()

Specifies the style of top border of the table.

Returns: WebBorderStyle

getWidth()

public Unit getWidth()

Gets the Width in the style

Returns: Unit

hashCode()

public native int hashCode()

Returns: int

mergeWith(WebStyle s)

public void mergeWith(WebStyle s)

Merges with another style object.

Parameters:

ParameterTypeDescription
sWebStyleanother style object

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBackColor(Color value)

public void setBackColor(Color value)

Sets the BackColor in the style

Parameters:

ParameterTypeDescription
valueColor

setBackImageUrl(String value)

public void setBackImageUrl(String value)

Background image url.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setBorderCollapse(int value)

public void setBorderCollapse(int value)

Specifies the border collapse feature.

See BorderCollapseType.

Parameters:

ParameterTypeDescription
valueint

setBorderColor(Color value)

public void setBorderColor(Color value)

Sets the BorderColor in the style

Parameters:

ParameterTypeDescription
valueColor

setBorderStyle(int value)

public void setBorderStyle(int value)

Sets the BorderStyle in the style

See BorderStyle.

Parameters:

ParameterTypeDescription
valueint

setBorderWidth(Unit value)

public void setBorderWidth(Unit value)

Sets the BorderWidth in the style

Parameters:

ParameterTypeDescription
valueUnit

setBottomBorderStyle(WebBorderStyle value)

public void setBottomBorderStyle(WebBorderStyle value)

Specifies the style of bottom border of the table.

Parameters:

ParameterTypeDescription
valueWebBorderStyle

setCellPadding(int value)

public void setCellPadding(int value)

Always returns -1.

Parameters:

ParameterTypeDescription
valueint

setCellSpacing(int value)

public void setCellSpacing(int value)

Always returns -1.

Parameters:

ParameterTypeDescription
valueint

setCssClass(String value)

public void setCssClass(String value)

Sets the CssClass in the style

Parameters:

ParameterTypeDescription
valuejava.lang.String

setForeColor(Color value)

public void setForeColor(Color value)

Sets the ForeColor in the style

Parameters:

ParameterTypeDescription
valueColor

setGridLines(int value)

public void setGridLines(int value)

Grid lines.

See GridLines.

Parameters:

ParameterTypeDescription
valueint

setHeight(Unit value)

public void setHeight(Unit value)

Sets the Height in the style

Parameters:

ParameterTypeDescription
valueUnit

setHorizontalAlign(int value)

public void setHorizontalAlign(int value)

Horizontal align.

See HorizontalAlign.

Parameters:

ParameterTypeDescription
valueint

setLayoutFixed(int value)

public void setLayoutFixed(int value)

Specifies whether the layout of the table is fixed(not extended automatically when it contain large objects).

See LayoutFixedType.

Parameters:

ParameterTypeDescription
valueint

setLeftBorderStyle(WebBorderStyle value)

public void setLeftBorderStyle(WebBorderStyle value)

Specifies the style of left border of the table.

Parameters:

ParameterTypeDescription
valueWebBorderStyle

setRightBorderStyle(WebBorderStyle value)

public void setRightBorderStyle(WebBorderStyle value)

Specifies the style of right border of the table.

Parameters:

ParameterTypeDescription
valueWebBorderStyle

setTopBorderStyle(WebBorderStyle value)

public void setTopBorderStyle(WebBorderStyle value)

Specifies the style of top border of the table.

Parameters:

ParameterTypeDescription
valueWebBorderStyle

setWidth(Unit value)

public void setWidth(Unit value)

Sets the Width in the style

Parameters:

ParameterTypeDescription
valueUnit

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int