Uses of Class
io.keikai.axyra.sheets.style.Color
Packages that use Color
Package
Description
Public Java API for the Axyra Sheets engine.
-
Uses of Color in io.keikai.axyra.sheets
Methods in io.keikai.axyra.sheets that return ColorModifier and TypeMethodDescriptionChartView.chartAreaFill()The chart-area fill color, ornull(default).ChartView.chartAreaLineColor()The chart-area frame (border) line color, ornull(default).FindFormat.fillColor()Returns the value of thefillColorrecord component.FindFormat.fontColor()Returns the value of thefontColorrecord component.ChartView.plotAreaFill()The plot-area fill color, ornull(default).ChartView.plotAreaLineColor()The plot-area frame (border) line color, ornull(default).ChartView.seriesFill(int seriesIndex) The explicit per-series fill color, ornullwhen the series uses the theme default.Sheet.shapeFillColor(int shapeIndex) The shape's solid fill color, ornull(no / non-RGB fill).Sheet.shapeLineColor(int shapeIndex) The shape's line (outline) color, ornull.Sheet.tabColor()The tab color as a typedColor, ornullwhen the tab has no color.Methods in io.keikai.axyra.sheets that return types with arguments of type ColorModifier and TypeMethodDescriptionChartView.seriesPointFills(int seriesIndex) The explicit per-data-point (per-slice / per-bar) fill overrides of a series, keyed by 0-based point index (ECMA-376 §21.2.2.52 dPt).Methods in io.keikai.axyra.sheets with parameters of type ColorModifier and TypeMethodDescriptionvoidSheet.setColumnColorFilter(int columnIndex, boolean cellColor, Color color) Filter a column by cell fill color (or font color whencellColoris false); only rows whose cell matchescolorsurvive.ChartView.setSeriesFill(int seriesIndex, Color fill) Set (or clear withnull) the explicit fill color of one series.voidSheet.setShapeFillColor(int shapeIndex, Color color) Set (or clear withnull) the shape's solid fill color.voidSheet.setShapeLineColor(int shapeIndex, Color color) Set (or clear withnull) the shape's line (outline) color.voidSheet.setTabColor(Color color) Set the sheet tab color;nullclears it.voidSheet.sortByColor(Range range, int sortColumnIndex, boolean cellColor, boolean hasHeader, Color... colors) Sort the rows ofrangeby cell fill color (or font color whencellColoris false) atsortColumnIndex(0-based, relative to the range start).FindFormat.withFillColor(Color c) A copy matching cells whose fill foreground (pattern) color equalsc.FindFormat.withFontColor(Color c) A copy matching cells whose font color equalsc.Constructors in io.keikai.axyra.sheets with parameters of type Color -
Uses of Color in io.keikai.axyra.sheets.content
Methods in io.keikai.axyra.sheets.content that return ColorModifier and TypeMethodDescriptionRichText.RunInfo.color()Returns the value of thecolorrecord component.DataLabels.textColor()Returns the value of thetextColorrecord component.Methods in io.keikai.axyra.sheets.content with parameters of type ColorModifier and TypeMethodDescriptionThe data-bar axis color.ConditionalFormat.Builder.barBorderColor(Color color) Draw a data-bar border incolor.ConditionalFormat.Builder.border(BorderStyle style, Color color) Draw the same border style and color on all four edges of matching cells — the differential<border>of the rule style.ConditionalFormat.Builder.borderSide(String side, BorderStyle borderStyle, Color color) Draw a border on one edge ("left","right","top", or"bottom") of matching cells.Chart.Builder.chartAreaBorder(Color color) Chart-area frame (border) line color.Chart.Builder.chartAreaFill(Color fill) Chart-area fill color (ECMA-376 §21.2.2.198<c:spPr>on the chart space).ConditionalFormat.Builder.colorScale(Color... colors) A 2- or 3-color scale rule (min → [mid] → max).A data-bar rule drawn incolor.ConditionalFormat.Builder.negativeBorderColor(Color color) The border color of negative-value data bars.ConditionalFormat.Builder.negativeFillColor(Color color) The fill color of negative-value data bars.Chart.Builder.plotAreaBorder(Color color) Plot-area frame (border) line color.Chart.Builder.plotAreaFill(Color fill) Plot-area fill color.Override the fill color of one data point (pie slice / bar) on the most recently added series (ECMA-376 §21.2.2.52 dPt).Add a data series with an explicit fill color.DataLabels.withTextColor(Color color) Copy with the given label text color (nullinherits).Constructors in io.keikai.axyra.sheets.content with parameters of type ColorModifierConstructorDescriptionDataLabels(boolean showValue, boolean showCategoryName, boolean showSeriesName, boolean showPercent, boolean showLegendKey, String position, String numberFormat, Integer rotation, Color textColor, Boolean bold, Double fontSize) Creates an instance of aDataLabelsrecord class.RunInfo(String text, String fontName, Double fontSize, boolean bold, boolean italic, boolean underline, boolean strike, Color color) Creates an instance of aRunInforecord class. -
Uses of Color in io.keikai.axyra.sheets.style
Fields in io.keikai.axyra.sheets.style declared as ColorModifier and TypeFieldDescriptionstatic final ColorColor.BLACKstatic final ColorColor.BLUEstatic final ColorColor.GRAYstatic final ColorColor.GREENstatic final ColorColor.REDstatic final ColorColor.WHITEstatic final ColorColor.YELLOWMethods in io.keikai.axyra.sheets.style that return ColorModifier and TypeMethodDescriptionstatic ColorColor.argb(int a, int r, int g, int b) Color from 8-bit a/r/g/b.static ColorColor.auto()The automatic (window-text) color.BorderEdge.color()Returns the value of thecolorrecord component.GradientStop.color()Returns the value of thecolorrecord component.CellStyle.fillBackgroundColor()The fill background (pattern) color, ornull.CellStyle.fillColor()The fill (foreground) color, ornull.CellStyle.fontColor()The font color (RGB, theme, indexed, or automatic), ornull.static ColorDecode the FFI JSON color form: a structured map ({"rgb": ...}/{"indexed": N}/{"theme": I, "tint": T}/{"auto": true}) or a legacy string.static ColorColor.indexed(int index) A legacy indexed-palette color (ECMA-376 §18.8.27; index 0-255).static ColorColor.of(int argb) Color from a packed 0xAARRGGBB int.static ColorParse"#RRGGBB"/"#AARRGGBB"(plus the legacy engine tokens"auto","indexed:N","theme:I:TINT_FP"); returnsnullfor anything else.static ColorColor.rgb(int r, int g, int b) Opaque color from 8-bit r/g/b.Theme.rgb(Theme.Slot slot) The slot color as aColor, or null when it is a system token / unset.static ColorColor.theme(int themeIndex) A theme-palette color with no tint (theme slot 0-11).static ColorColor.theme(int themeIndex, double tint) A theme-palette color:themeIndexis the theme slot (0-11: dark1, light1, dark2, light2, accent1-6, hyperlink, followedHyperlink) andtintlightens (positive) or darkens (negative) it, in[-1, 1](ECMA-376 §18.8.19).Methods in io.keikai.axyra.sheets.style with parameters of type ColorModifier and TypeMethodDescriptionCellStyle.Builder.allBorders(BorderStyle style, Color color) The four outer border edges at once.CellStyle.Builder.border(Side side, BorderStyle style, Color color) One border edge.Theme.Builder.color(Theme.Slot slot, Color color) Set a slot to an RGBColor(emitted as"RRGGBB").Solid background fill.CellStyle.Builder.fillPattern(PatternType pattern, Color foreground, Color background) A patterned fill:patterndrawn inforegroundoverbackground.CellStyle.Builder.gradientFill(int degree, Color... colors) A linear gradient fill atdegreedegrees across two or more color stops (spread evenly from 0 to 1).CellStyle.Builder.pathGradientFill(Color... colors) A path (shape-bounded) gradient fill converging at the cell center, across two or more color stops (spread evenly from 0 to 1).Constructors in io.keikai.axyra.sheets.style with parameters of type ColorModifierConstructorDescriptionBorderEdge(BorderStyle style, Color color) Creates an instance of aBorderEdgerecord class.GradientStop(double position, Color color) Creates an instance of aGradientStoprecord class.