-
com.grapecity.documents.excel
-
- EventHandler
- IAboveAverage
- IAreas
- IAuthor
- IAutoCorrect
- IAutoFilter
- IAutoMergeRangeInfo
- IBarcode
- IBorder
- IBorders
- IBuiltInDocumentPropertyCollection
- ICalcContext
- ICalculatedFields
- ICalculatedItems
- ICascadeSparkLine
- ICellCollection
- ICellColorSortField
- ICellDecoration
- ICellDecorationIcon
- ICellPadding
- ICodabar
- ICode128
- ICode39
- ICode49
- ICode93
- IColorScale
- IColorScaleCriteria
- IColorScaleCriterion
- IColorStop
- IColorStops
- IComment
- IComments
- ICommentsThreaded
- ICommentThreaded
- IConditionValue
- ICornerFold
- ICsvParser
- ICustomDocumentPropertyCollection
- ICustomView
- ICustomViews
- IDataBar
- IDataBarBorder
- IDataMatrix
- IDataOptions
- IDisplayFormat
- IDocumentProperty
- IDocumentPropertyCollection
- IEAN13
- IEAN8
- IExcelOptions
- IFilter
- IFilters
- IFont
- IFontColorSortField
- IFontOption
- IFontProvider
- IFormatColor
- IFormatCondition
- IFormatConditions
- IFormulaOptions
- IFormulaResolver
- IGraphic
- IGraphicsInfo
- IGroupInfo
- IGS1128
- IHeaderFooter
- IHPageBreak
- IHPageBreaks
- IHyperlink
- IHyperlinks
- IIcon
- IIconCriteria
- IIconCriterion
- IIconSet
- IIconSetCondition
- IIconSets
- IIconSortField
- IInterior
- IJsonSerializer
- ILabelOption
- ILabelOptions
- ILinearGradient
- IName
- INames
- INegativeBarFormat
- IOutline
- IOutlineColumn
- IPage
- IPageSetup
- IPane
- IPanes
- IPDF417
- IPDFRenderEngine
- IPivotAxis
- IPivotCache
- IPivotCaches
- IPivotCell
- IPivotField
- IPivotFields
- IPivotFilter
- IPivotFilters
- IPivotFormula
- IPivotFormulas
- IPivotItem
- IPivotItemList
- IPivotItems
- IPivotLine
- IPivotLineCells
- IPivotLines
- IPivotTable
- IPivotTables
- IPivotValueCell
- IProtectionSettings
- IQRCode
- IRange
- IRangeProvider
- IReadOnlySignatureDetails
- IRectangularGradient
- IRichText
- IScenario
- IScenarios
- ISheetTab
- ISheetTabs
- IShrinkToFitSettings
- ISignature
- ISignatureSet
- ISignatureSetup
- ISlicer
- ISlicerCache
- ISlicerCaches
- ISlicerItem
- ISlicerItems
- ISlicerPivotTables
- ISlicers
- ISort
- ISortField
- ISortFields
- ISparkAxes
- ISparkColor
- ISparkHorizontalAxis
- ISparkline
- ISparklineGroup
- ISparklineGroups
- ISparkLineObject
- ISparkPoints
- ISparkVerticalAxis
- IStyle
- IStyleCollection
- ITable
- ITableColumn
- ITableColumns
- ITableDataSource
- ITableRow
- ITableRows
- ITables
- ITableStyle
- ITableStyleCollection
- ITableStyleElement
- ITableStyleElements
- ITableStyleInfo
- ITextRun
- ITheme
- IThemeColor
- IThemeColorScheme
- IThemeFont
- IThemeFonts
- IThemeFontScheme
- ITop10
- IUniqueValues
- IValidation
- IValueSortField
- IVPageBreak
- IVPageBreaks
- IWebRequestHandler
- IWorkbook
- IWorkbookView
- IWorksheet
- IWorksheets
- IWorksheetView
- RangeFindReplace.FindReplaceImpl.FindMatch
- RangePartialClasses.FindReplaceImpl.FindMatch
-
- com.grapecity.documents.excel.drawing
- com.grapecity.documents.excel.expressions
- com.grapecity.documents.excel.forms
- com.grapecity.documents.excel.template
- com.grapecity.documents.excel.template.DataSource
(Showing Draft Content)
ITop10
Interface ITop10
public interface ITop10
Represents a top ten visual of a conditional formatting rule. Applying a color to a range helps you see the value of a cell relative to other cells.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes this conditional format.voidGenerates the conditional format from the json string.Returns theIRangeobject that specifies the cell range to which theformatting rule is applied.Returns an instance ofIBorderswhich represents the borders of thisconditional format.getFont()Returns an instance ofIFontwhich represents the font of thisconditional format.Returns an instance ofIInteriorwhich represents the backgroundcolor of this conditional format.Returns the number format applied to a cell if the conditional formatting rule evaluates to True.booleanReturns a Boolean value, specifying if the rank is determined by a percentage value.intReturns the priority value of the conditional formatting rule.intgetRank()Returns an Integer value, specifying either the number or percentage of the rank value for the conditional format rule.booleanReturns a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.Returns one of the constants of theTopBottomenumeration,determining if the ranking is evaluated from the top or bottom.getType()Returns the type of this conditional format.voidsetAppliesTo(IRange value) Sets theIRangeobject that specifies the cell range to which theformatting rule is applied.voidSets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet.voidSets the evaluation order for this conditional formatting rule so it is evaluated after all other rules on the worksheet.voidsetNumberFormat(String value) Sets the number format applied to a cell if the conditional formatting rule evaluates to True.voidsetPercent(boolean value) Sets a Boolean value, specifying if the rank is determined by a percentage value.voidsetPriority(int value) Sets the priority value of the conditional formatting rule.voidsetRank(int value) Sets an Integer value, specifying either the number or percentage of the rank value for the conditional format rule.voidsetStopIfTrue(boolean value) Sets a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.voidsetTopBottom(TopBottom value) Sets one of the constants of theTopBottomenumeration, determiningif the ranking is evaluated from the top or bottom.toJson()Generates a json string from the conditional format.
-
Method Details
-
getAppliesTo
IRange getAppliesTo()Returns theIRangeobject that specifies the cell range to which theformatting rule is applied. -
setAppliesTo
Sets theIRangeobject that specifies the cell range to which theformatting rule is applied. -
getBorders
IBorders getBorders()Returns an instance ofIBorderswhich represents the borders of thisconditional format. -
getFont
IFont getFont()Returns an instance ofIFontwhich represents the font of thisconditional format. -
getInterior
IInterior getInterior()Returns an instance ofIInteriorwhich represents the backgroundcolor of this conditional format. -
getNumberFormat
String getNumberFormat()Returns the number format applied to a cell if the conditional formatting rule evaluates to True. -
setNumberFormat
Sets the number format applied to a cell if the conditional formatting rule evaluates to True. -
getPercent
boolean getPercent()Returns a Boolean value, specifying if the rank is determined by a percentage value. -
setPercent
void setPercent(boolean value) Sets a Boolean value, specifying if the rank is determined by a percentage value. -
getPriority
int getPriority()Returns the priority value of the conditional formatting rule. The priority determines the order of evaluation when multiple conditional formatting rules exist in a worksheet. -
setPriority
void setPriority(int value) Sets the priority value of the conditional formatting rule. The priority determines the order of evaluation when multiple conditional formatting rules exist in a worksheet.When setting the priority, the value must be a positive integer between 1 and the total number of conditional formatting rules on the worksheet. The priority must be a unique value for all rules on the worksheet, so changing the priority for the specified conditional formatting rule may cause the priority value of the other rules on the worksheet to be shifted.
-
getRank
int getRank()Returns an Integer value, specifying either the number or percentage of the rank value for the conditional format rule. -
setRank
void setRank(int value) Sets an Integer value, specifying either the number or percentage of the rank value for the conditional format rule. -
getStopIfTrue
boolean getStopIfTrue()Returns a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True. -
setStopIfTrue
void setStopIfTrue(boolean value) Sets a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True. -
getTopBottom
TopBottom getTopBottom()Returns one of the constants of theTopBottomenumeration,determining if the ranking is evaluated from the top or bottom. -
setTopBottom
Sets one of the constants of theTopBottomenumeration, determiningif the ranking is evaluated from the top or bottom. -
getType
FormatConditionType getType()Returns the type of this conditional format. -
delete
void delete()Deletes this conditional format. -
setFirstPriority
void setFirstPriority()Sets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet. -
setLastPriority
void setLastPriority()Sets the evaluation order for this conditional formatting rule so it is evaluated after all other rules on the worksheet. -
fromJson
Generates the conditional format from the json string.- Parameters:
json- the json string.
-
toJson
String toJson()Generates a json string from the conditional format.- Returns:
- the conditional format json string.
-