excelgradient-ag凯发旗舰厅



com.spire.xls
class excelgradient

java.lang.object
  extended by com.spire.xls.excelgradient
all implemented interfaces:
igradient

public class excelgradient
extends java.lang.object
implements igradient

constructor summary
excelgradient(igradient gradient)
           
 
method summary
 int compareto(igradient gradient)
          compares with gradient.
 java.awt.color getbackcolor()
          represents background color.
 ocolor getbackcolorobject()
          represents background color.
 excelcolors getbackknowncolor()
          represents background color index.
 java.awt.color getforecolor()
          represents foreground color.
 ocolor getforecolorobject()
          represents foreground color.
 excelcolors getforeknowncolor()
          represents foreground color index.
 gradientstyletype getgradientstyle()
          represents gradient shading style.
 gradientvariantstype getgradientvariant()
          represents gradient shading variant.
 void setbackcolor(java.awt.color value)
          represents background color.
 void setbackknowncolor(excelcolors backknowncolor)
          represents background color index.
 void setforecolor(java.awt.color value)
          represents foreground color.
 void setforeknowncolor(excelcolors foreknowncolor)
          represents foreground color index.
 void setgradientstyle(gradientstyletype gradientstyle)
          represents gradient shading style.
 void setgradientvariant(gradientvariantstype gradientvariant)
          represents gradient shading variant.
 void twocolorgradient()
          sets the specified xlsfill to a two-color gradient.
 void twocolorgradient(gradientstyletype style, gradientvariantstype variant)
          sets the specified xlsfill to a two-color gradient.
 
constructor detail

excelgradient

public excelgradient(igradient gradient)
method detail

getbackcolor

public java.awt.color getbackcolor()
description copied from interface: igradient
represents background color.
specified by:
getbackcolor in interface igradient

setbackcolor

public void setbackcolor(java.awt.color value)
description copied from interface: igradient
represents background color.
specified by:
setbackcolor in interface igradient

getbackcolorobject

public ocolor getbackcolorobject()
description copied from interface: igradient
represents background color.
specified by:
getbackcolorobject in interface igradient

getbackknowncolor

public excelcolors getbackknowncolor()
description copied from interface: igradient
represents background color index.
specified by:
getbackknowncolor in interface igradient

setbackknowncolor

public void setbackknowncolor(excelcolors backknowncolor)
description copied from interface: igradient
represents background color index.
specified by:
setbackknowncolor in interface igradient

getforecolor

public java.awt.color getforecolor()
description copied from interface: igradient
represents foreground color.
specified by:
getforecolor in interface igradient

setforecolor

public void setforecolor(java.awt.color value)
description copied from interface: igradient
represents foreground color.
specified by:
setforecolor in interface igradient

getforeknowncolor

public excelcolors getforeknowncolor()
description copied from interface: igradient
represents foreground color index.
specified by:
getforeknowncolor in interface igradient

setforeknowncolor

public void setforeknowncolor(excelcolors foreknowncolor)
description copied from interface: igradient
represents foreground color index.
specified by:
setforeknowncolor in interface igradient

getforecolorobject

public ocolor getforecolorobject()
description copied from interface: igradient
represents foreground color.
specified by:
getforecolorobject in interface igradient

getgradientstyle

public gradientstyletype getgradientstyle()
description copied from interface: igradient
represents gradient shading style.
specified by:
getgradientstyle in interface igradient

setgradientstyle

public void setgradientstyle(gradientstyletype gradientstyle)
description copied from interface: igradient
represents gradient shading style.
specified by:
setgradientstyle in interface igradient

getgradientvariant

public gradientvariantstype getgradientvariant()
description copied from interface: igradient
represents gradient shading variant.
specified by:
getgradientvariant in interface igradient

setgradientvariant

public void setgradientvariant(gradientvariantstype gradientvariant)
description copied from interface: igradient
represents gradient shading variant.
specified by:
setgradientvariant in interface igradient

compareto

public int compareto(igradient gradient)
description copied from interface: igradient
compares with gradient.
specified by:
compareto in interface igradient
parameters:
gradient - gradient to compare with.
returns:
zero if gradients are equal.

twocolorgradient

public void twocolorgradient()
description copied from interface: igradient
sets the specified xlsfill to a two-color gradient.
specified by:
twocolorgradient in interface igradient

twocolorgradient

public void twocolorgradient(gradientstyletype style,
                             gradientvariantstype variant)
description copied from interface: igradient
sets the specified xlsfill to a two-color gradient.
specified by:
twocolorgradient in interface igradient
parameters:
style - represents shading shading style.
variant - represents shading variant.


网站地图