com.spire.xls.core.spreadsheet.charts
Class XlsChartBorder

java.lang.Object
  extended by com.spire.xls.core.spreadsheet.XlsObject
      extended by com.spire.xls.core.spreadsheet.charts.XlsChartBorder
All Implemented Interfaces:
IChartBorder
Direct Known Subclasses:
ChartBorder

public class XlsChartBorder
extends XlsObject
implements IChartBorder


Constructor Summary
protected XlsChartBorder(java.lang.Object parent)
           
 
Method Summary
 java.awt.Color getColor()
           
 float getCustomLineWeight()
           
 ExcelColors getKnownColor()
           
 ChartLinePatternType getPattern()
           
 double getTransparency()
          value from 0.0 (light) through 1.0(dark)
 boolean getUseDefaultFormat()
          If true - default format; otherwise custom.
 boolean getUseDefaultLineColor()
           
 ChartLineWeightType getWeight()
           
 void setColor(java.awt.Color color)
           
 void setCustomLineWeight(float lineWeight)
           
 void setKnownColor(ExcelColors value)
           
 void setPattern(ChartLinePatternType value)
           
 void setTransparency(double value)
          value from 0.0 (light) through 1.0(dark)
 void setUseDefaultFormat(boolean value)
           
 void setUseDefaultLineColor(boolean value)
           
 void setWeight(ChartLineWeightType value)
           
 
Methods inherited from class com.spire.xls.core.spreadsheet.XlsObject
dispose
 

Constructor Detail

XlsChartBorder

protected XlsChartBorder(java.lang.Object parent)
Method Detail

getColor

public java.awt.Color getColor()
Specified by:
getColor in interface IChartBorder
Returns:
Color of line.

setColor

public void setColor(java.awt.Color color)
Specified by:
setColor in interface IChartBorder
Parameters:
color - Color of line.

getPattern

public ChartLinePatternType getPattern()
Specified by:
getPattern in interface IChartBorder
Returns:
Line pattern.

setPattern

public void setPattern(ChartLinePatternType value)
Specified by:
setPattern in interface IChartBorder
Parameters:
value - Line pattern.

getWeight

public ChartLineWeightType getWeight()
Specified by:
getWeight in interface IChartBorder
Returns:
Weight of line.

setWeight

public void setWeight(ChartLineWeightType value)
Specified by:
setWeight in interface IChartBorder
Parameters:
value - Weight of line.

getUseDefaultFormat

public boolean getUseDefaultFormat()
Description copied from interface: IChartBorder
If true - default format; otherwise custom.

Specified by:
getUseDefaultFormat in interface IChartBorder
Returns:
Indicates if use default format.

setUseDefaultFormat

public void setUseDefaultFormat(boolean value)
Specified by:
setUseDefaultFormat in interface IChartBorder
Parameters:
value - Indicates if use default format..

getUseDefaultLineColor

public boolean getUseDefaultLineColor()
Specified by:
getUseDefaultLineColor in interface IChartBorder
Returns:
Indicates if custom line color.

setUseDefaultLineColor

public void setUseDefaultLineColor(boolean value)
Specified by:
setUseDefaultLineColor in interface IChartBorder
Parameters:
value - Indicates if custom line color.

getKnownColor

public ExcelColors getKnownColor()
Specified by:
getKnownColor in interface IChartBorder
Returns:
Line excel color.

setKnownColor

public void setKnownColor(ExcelColors value)
Specified by:
setKnownColor in interface IChartBorder
Parameters:
value - Line excel color.

getTransparency

public double getTransparency()
value from 0.0 (light) through 1.0(dark)

Specified by:
getTransparency in interface IChartBorder
Returns:
Returns the transparency level of the specified Solid color shaded XlsFill as a floating-point

setTransparency

public void setTransparency(double value)
value from 0.0 (light) through 1.0(dark)

Specified by:
setTransparency in interface IChartBorder
Parameters:
value - the transparency level of the specified Solid color shaded XlsFill as a floating-point

getCustomLineWeight

public float getCustomLineWeight()
Returns:
Gets the line weight.

setCustomLineWeight

public void setCustomLineWeight(float lineWeight)
Parameters:
lineWeight - sets the line weight.