databar-ag凯发旗舰厅



com.spire.xls
class databar

java.lang.object
  extended by com.spire.xls.databar

public class databar
extends java.lang.object

represents a data bar conditional formating rule.


constructor summary
databar( databar)
           
 
method summary
  getaxisposition()
          gets the position of the axis of the data bars specified by a conditional formatting rule.
  getbarborder()
          gets an object that specifies the border of a data bar.
 java.awt.color getbarcolor()
          gets the color of the bar in a data bar condition format.
  getbarfilltype()
          gets an object that specifies the border of a data bar.
  getdirection()
          gets the direction the databar is displayed.
  getmaxpoint()
          the longest bar is evaluated for a data bar conditional format.
  getminpoint()
          the shortest bar is evaluated for a data bar conditional format.
  getnegativebarformat()
          gets the negativebarformat object associated with a data bar conditional formatting rule.
 int getpercentmax()
          gets a value that specifies the length of the longest data bar as a percentage of cell width.
 int getpercentmin()
          gets a value that specifies the length of the shortest data bar as a percentage of cell width.
 boolean getshowvalue()
          gets a boolean value that specifies if the value in the cell is displayed.
 void setaxisposition( value)
          sets the position of the axis of the data bars specified by a conditional formatting rule.
 void setbarcolor(java.awt.color barcolor)
          sets the color of the bar in a data bar condition format.
 void setdirection( value)
          sets the direction the databar is displayed.
 void setpercentmax(int value)
          sets a value that specifies the length of the longest data bar as a percentage of cell width.
 void setpercentmin(int value)
          sets a value that specifies the length of the shortest data bar as a percentage of cell width.
 void setshowvalue(boolean value)
          sets a boolean value that specifies if the value in the cell is displayed.
 
constructor detail

databar

public databar( databar)
method detail

getminpoint

public  getminpoint()
the shortest bar is evaluated for a data bar conditional format.
returns:

getmaxpoint

public  getmaxpoint()
the longest bar is evaluated for a data bar conditional format.

getbarcolor

public java.awt.color getbarcolor()
gets the color of the bar in a data bar condition format.
returns:

setbarcolor

public void setbarcolor(java.awt.color barcolor)
sets the color of the bar in a data bar condition format.

getpercentmax

public int getpercentmax()
gets a value that specifies the length of the longest data bar as a percentage of cell width.

setpercentmax

public void setpercentmax(int value)
sets a value that specifies the length of the longest data bar as a percentage of cell width.

getpercentmin

public int getpercentmin()
gets a value that specifies the length of the shortest data bar as a percentage of cell width.

setpercentmin

public void setpercentmin(int value)
sets a value that specifies the length of the shortest data bar as a percentage of cell width.

getshowvalue

public boolean getshowvalue()
gets a boolean value that specifies if the value in the cell is displayed.

setshowvalue

public void setshowvalue(boolean value)
sets a boolean value that specifies if the value in the cell is displayed.

getaxisposition

public  getaxisposition()
gets the position of the axis of the data bars specified by a conditional formatting rule.

setaxisposition

public void setaxisposition( value)
sets the position of the axis of the data bars specified by a conditional formatting rule.

getbarborder

public  getbarborder()
gets an object that specifies the border of a data bar.

getbarfilltype

public  getbarfilltype()
gets an object that specifies the border of a data bar.

getdirection

public  getdirection()
gets the direction the databar is displayed.

setdirection

public void setdirection( value)
sets the direction the databar is displayed.

getnegativebarformat

public  getnegativebarformat()
gets the negativebarformat object associated with a data bar conditional formatting rule.


网站地图