Top Description Methods
org.apache.poi.ss.usermodel

public Interface DataBarFormatting

Known Direct Implementers
org.apache.poi.hssf.usermodel.HSSFDataBarFormatting

High level representation for the DataBar Formatting component of Conditional Formatting settings

Method Summary

Modifier and TypeMethod and Description
public Color
public ConditionalFormattingThreshold
getMaxThreshold()

The threshold that defines "everything from here up is maximum"

public ConditionalFormattingThreshold
getMinThreshold()

The threshold that defines "everything from here down is minimum"

public int
getWidthMax()

How much of the cell width, in %, should be given to the max value?

public int
getWidthMin()

How much of the cell width, in %, should be given to the min value?

public boolean
isIconOnly()

Should Icon + Value be displayed, or only the Icon?

public boolean
isLeftToRight()

Is the bar drawn from Left-to-Right, or from Right-to-Left

public void
setColor(Color color)

public void
setIconOnly(boolean only)

Control if only the Icon is shown, or Icon + Value

public void
setLeftToRight(boolean ltr)

Control if the bar is drawn from Left-to-Right, or from Right-to-Left

public void
setWidthMax(int width)

public void
setWidthMin(int width)

Method Detail

getColorback to summary
public Color getColor()
getMaxThresholdback to summary
public ConditionalFormattingThreshold getMaxThreshold()

The threshold that defines "everything from here up is maximum"

getMinThresholdback to summary
public ConditionalFormattingThreshold getMinThreshold()

The threshold that defines "everything from here down is minimum"

getWidthMaxback to summary
public int getWidthMax()

How much of the cell width, in %, should be given to the max value?

getWidthMinback to summary
public int getWidthMin()

How much of the cell width, in %, should be given to the min value?

isIconOnlyback to summary
public boolean isIconOnly()

Should Icon + Value be displayed, or only the Icon?

isLeftToRightback to summary
public boolean isLeftToRight()

Is the bar drawn from Left-to-Right, or from Right-to-Left

setColorback to summary
public void setColor(Color color)
setIconOnlyback to summary
public void setIconOnly(boolean only)

Control if only the Icon is shown, or Icon + Value

setLeftToRightback to summary
public void setLeftToRight(boolean ltr)

Control if the bar is drawn from Left-to-Right, or from Right-to-Left

setWidthMaxback to summary
public void setWidthMax(int width)
setWidthMinback to summary
public void setWidthMin(int width)