Uses of Interface
io.keikai.api.Range
Packages that use Range
Package
Description
Keikai Spreadsheet API classes.
Keikai Spreadsheet API implementation classes, internal use only
Keikai Spreadsheet Model API classes.
Keikai Spreadsheet Model API implementation classes, Internal use only
Events of Keikai Spreadsheet UI Component.
Classes for implementing Keikai Spreadsheet UI Components (implementation only).
Classes that doing system user action control on Keikai Spreadsheet UI Components.
Classes that doing system undoable action control on Keikai Spreadsheet UI Components.
Classes that doing system user action control on Keikai Spreadsheet UI Components.
-
Uses of Range in io.keikai.api
Methods in io.keikai.api that return RangeModifier and TypeMethodDescriptionstatic RangeCuts data and style from src to destinationRange.findAutoFilterRange()To find a range of cells for applying auto filter according to this range.static RangePaste data and style from src to destinationPastes to destination.Cut and paste to destination.static RangeCellOperationUtil.pasteAllExceptBorder(Range src, Range dest) Paste all (except border) from src to destinationstatic RangeCellOperationUtil.pasteFormula(Range src, Range dest) Paste formula only from src to destinationstatic RangeCellOperationUtil.pasteSpecial(Range src, Range dest, Range.PasteType pasteType, Range.PasteOperation pasteOperation, boolean skipBlank, boolean transpose) Paste according the argument from src to destinationRange.pasteSpecial(Range dest, Range.PasteType type, Range.PasteOperation op, boolean skipBlanks, boolean transpose) Pastes to destination.static RangeCellOperationUtil.pasteTranspose(Range src, Range dest) Paste and transpose from src to destinationstatic RangeCellOperationUtil.pasteValue(Range src, Range dest) Paste value only from src to destinationstatic Rangestatic Rangestatic Rangestatic RangeReturns the associatedXRangeof the specifiedXSheetand area.static Rangestatic RangeRanges.range(Sheet sheet, CellRegion cellRegion) static Rangestatic RangeRanges.rangeByName(Sheet sheet, String name) Returns the associatedRangeof the specified name of a NamedRange (e.g.Range.toCellRange(int rowOffset, int colOffset) Returns a new range having one cell according to the offset based on the left-top corner.Range.toColumnRange()Return a range that represents all rows and between the first-column and last-column of this range It is a useful when you want to manipulate entire column (such as deleting columns)Range.toRowRange()Return a range that represents all columns and between the first-row and last-row of this range.Range.toShiftedRange(int rowOffset, int colOffset) Return a new range by shifting the current Range according to the offsets but still keep the original height and width e.g.Methods in io.keikai.api that return types with arguments of type RangeModifier and TypeMethodDescriptionRange.getColumnGroups()Returns all group ranges for columns, which intersect with this range.Range.getColumnGroups(int outlineLevel) Returns all group ranges matched the given outline level for columns, which intersect with this range.Range.getColumnGroups(int fromOutlineLevel, int toOutlineLevel) Returns all group ranges matched between fromOutlineLevel and toOutlineLevel for columns, which intersect with this range.Range.getDependents()Returns all Range(s) that are the direct or indirect dependents of this cell Range.Range.getDirectDependents()Returns Range(s) that are the direct dependents of this cell Range.Range.getDirectPrecedents()Returns Range(s) that are the direct precedents of this cell Range.Range.getPrecedents()Returns all Range(s) that are the direct or indirect precedents of this cell Range.Range.getRowGroups()Returns all group ranges for rows, which intersect with this range.Range.getRowGroups(int outlineLevel) Returns all group ranges matched the given outline level for rows, which intersect with this range.Range.getRowGroups(int fromOutlineLevel, int toOutlineLevel) Returns all group ranges matched between fromOutlineLevel and toOutlineLevel for rows, which intersect with this range.Range.nOrderStream()Returns a n-order cell range stream which treats a merged cell as one range.Range.zOrderStream()Returns a z-order cell range stream which treats a merged cell as one range.Methods in io.keikai.api with parameters of type RangeModifier and TypeMethodDescriptionstatic ChartSheetOperationUtil.addChart(Range range, Chart.Type type, Chart.Grouping grouping, Chart.LegendPosition pos) Adds a chart to specified sheet range in pre-defined position and size.static ChartSheetOperationUtil.addChart(Range range, SheetAnchor anchor, Chart.Type type, Chart.Grouping grouping, Chart.LegendPosition pos) Adds a chart at the specified locationstatic ChartSheetOperationUtil.addChart(String name, Range range, Chart.Type type, Chart.Grouping grouping, Chart.LegendPosition pos) Adds a chart to specified sheet range in pre-defined position and size.static ChartSheetOperationUtil.addChart(String name, Range range, SheetAnchor anchor, Chart.Type type, Chart.Grouping grouping, Chart.LegendPosition pos) Adds a chart at the specified locationstatic PictureSheetOperationUtil.addPicture(Range range, byte[] binary, Picture.Format format, int widthPx, int heightPx) Add picture to the rangestatic PictureSheetOperationUtil.addPicture(Range range, SheetAnchor anchor, byte[] binary, Picture.Format format) Add picture to the rangestatic PictureSheetOperationUtil.addPicture(Range range, org.zkoss.image.AImage image) Add picture to the rangestatic voidAdd a new sheet to this bookvoidapply style to a single cell rangestatic voidCellOperationUtil.applyAlignment(Range range, CellStyle.Alignment alignment) Apply alignment to cells in the rangestatic voidSheetOperationUtil.applyAutoFilter(Range range) Re-apply autofilterstatic voidCellOperationUtil.applyBackColor(Range range, String htmlColor) Apply back-color to cells in the rangestatic voidCellOperationUtil.applyBorder(Range range, Range.ApplyBorderType applyType, CellStyle.BorderType borderType, String htmlColor) Apply border to cells in the rangestatic voidCellOperationUtil.applyCellStyle(Range range, CellOperationUtil.CellStyleApplier applyer) Apply style according to the cell style applierstatic voidCellOperationUtil.applyDataFormat(Range range, String format) Apply data-format to cells in the rangestatic voidCellOperationUtil.applyFillColor(Range range, String htmlColor) Apply fill-color to cells in the rangestatic voidCellOperationUtil.applyFontBoldweight(Range range, Font.Boldweight boldweight) Apply font bold-weight to cells in the rangestatic voidCellOperationUtil.applyFontColor(Range range, String htmlColor) Apply font color to cells in the rangestatic voidCellOperationUtil.applyFontHeightPoints(Range range, int fontHeightPoints) Apply font height to cells in the range, it will also enlarge the row height if row height is smaller than font heightstatic voidCellOperationUtil.applyFontItalic(Range range, boolean italic) Apply font italic to cells in the rangestatic voidCellOperationUtil.applyFontName(Range range, String fontName) Apply font to cells in the rangestatic voidCellOperationUtil.applyFontStrikeout(Range range, boolean strikeout) Apply font strike-out to cells in the rangestatic voidCellOperationUtil.applyFontTypeOffset(Range range, Font.TypeOffset offset) Apply font typeOffset to cells in the rangestatic voidCellOperationUtil.applyFontUnderline(Range range, Font.Underline underline) Apply font underline to cells in the rangestatic voidCellOperationUtil.applyHyperlink(Range range, Hyperlink.HyperlinkType type, String address, String label) static voidCellOperationUtil.applyIndentionOffset(Range range, int offset) Apply indention to cells in the rangestatic voidCellOperationUtil.applyLocked(Range range, boolean locked) Apply the locked status only to cells in the rangestatic voidCellOperationUtil.applyRotation(Range range, int rotation) Apply alignment to cells in the rangestatic voidCellOperationUtil.applyVerticalAlignment(Range range, CellStyle.VerticalAlignment alignment) Apply vertical-alignment to cells in the rangevoidCellOperationUtil.CellStyleApplierEx.applyWhole(Range cellRange) apply style to new cellstatic voidCellOperationUtil.applyWrapText(Range range, boolean wraptext) Apply text-warp to cells in the rangestatic voidCellOperationUtil.autoFill(Range src, Range dest, Range.AutoFillType type) Fills data from source range to destination range automatically upon auto fill typevoidRange.autoFill(Range dest, Range.AutoFillType fillType) According to current range, fills data to destination range automaticallystatic voidClear allstatic voidCellOperationUtil.clearContents(Range range) Clear contentsstatic voidCellOperationUtil.clearStyles(Range range) Clear stylestatic voidCopy the sheet with the naming pattern "ORIGINAL_SHEET_NAME (n)".static voidSheetOperationUtil.createSheet(Range range, String name) Add a new sheet as the last sheet to this bookstatic RangeCuts data and style from src to destinationstatic voidCellOperationUtil.delete(Range range, Range.DeleteShift shift) Delete cells of the range.static voidSheetOperationUtil.deleteChart(Range range, Chart chart) Delete a chart if the specified Range has the specified chart.static voidCellOperationUtil.deleteColumn(Range range) Delete columns to the range.static voidSheetOperationUtil.deletePicture(Range range, Picture picture) Delete a picturestatic voidDelete rows of the range.static voidSheetOperationUtil.deleteSheet(Range range) Deletes the sheet, notice that it prevents you from deleting the last sheetstatic voidSheetOperationUtil.displaySheetGridlines(Range range, boolean enable) Enables/disables to show a sheet's gridlines.static voidCellOperationUtil.fitFontHeightPoints(Range range) Detect the highest words in each row.static booleanReturns whether the range of sheet has the chart.static booleanSheetOperationUtil.hasPicture(Range range, Picture picture) Returns whether the range of sheet has the picturestatic voidHide the range.static voidCellOperationUtil.insert(Range range, Range.InsertShift shift, Range.InsertCopyOrigin copyOrigin) Insert cells to the range.static voidCellOperationUtil.insertColumn(Range range) Insert columns to the range.static voidInsert rows to the range.static voidmerge the rangestatic voidMove a chart to specified row and column.static voidSheetOperationUtil.movePicture(Range range, Picture picture, int rowIndex, int columnIndex) Move a picture to specified row and column.voidCellOperationUtil.CellStyleApplier.notifyChange(Range range) NotifyChange after applying the style to all cells.static RangePaste data and style from src to destinationPastes to destination.Cut and paste to destination.static RangeCellOperationUtil.pasteAllExceptBorder(Range src, Range dest) Paste all (except border) from src to destinationstatic RangeCellOperationUtil.pasteFormula(Range src, Range dest) Paste formula only from src to destinationstatic RangeCellOperationUtil.pasteSpecial(Range src, Range dest, Range.PasteType pasteType, Range.PasteOperation pasteOperation, boolean skipBlank, boolean transpose) Paste according the argument from src to destinationRange.pasteSpecial(Range dest, Range.PasteType type, Range.PasteOperation op, boolean skipBlanks, boolean transpose) Pastes to destination.static RangeCellOperationUtil.pasteTranspose(Range src, Range dest) Paste and transpose from src to destinationstatic RangeCellOperationUtil.pasteValue(Range src, Range dest) Paste value only from src to destinationstatic voidSheetOperationUtil.protectSheet(Range range, String password, boolean allowSelectingLockedCells, boolean allowSelectingUnlockedCells, boolean allowFormattingCells, boolean allowFormattingColumns, boolean allowFormattingRows, boolean allowInsertColumns, boolean allowInsertRows, boolean allowInsertingHyperlinks, boolean allowDeletingColumns, boolean allowDeletingRows, boolean allowSorting, boolean allowFiltering, boolean allowUsingPivotTables, boolean drawingObjects, boolean scenarios) static voidSheetOperationUtil.protectSheet(Range range, String password, String newpasswrod) static voidSheetOperationUtil.renameSheet(Range range, String newname) Rename a sheetstatic voidSheetOperationUtil.resetAutoFilter(Range range) Resets AutoFiltervoidmain execution methodstatic voidCellOperationUtil.setColumnWidth(Range range, int widthPx) Sets the column width.static voidCellOperationUtil.setRowHeight(Range range, int heightPx) Sets the row height and make it as custom modifiedstatic voidCellOperationUtil.setRowHeight(Range range, int heightPx, boolean isCustom) Sets the row height and provide a custom flag, a custom flag to indicate this height was set by user or system.static voidSheetOperationUtil.setSheetOrder(Range range, int pos) Sets a sheet's position order, used to move a sheetstatic voidShifts/moves cells with a offset row and columnstatic voidSort rangestatic voidCellOperationUtil.sort(Range range, Range index1, boolean desc1, Range.SortDataOption dataOption1, Range index2, boolean desc2, Range.SortDataOption dataOption2, Range index3, boolean desc3, Range.SortDataOption dataOption3, boolean header, boolean matchCase, boolean sortByRows) Sort rangevoidRange.sort(Range index1, boolean desc1, Range.SortDataOption dataOption1, Range index2, boolean desc2, Range.SortDataOption dataOption2, Range index3, boolean desc3, Range.SortDataOption dataOption3, boolean header, boolean matchCase, boolean sortByRows) Sort rangestatic SheetAnchorSheetOperationUtil.toChartAnchor(Range range) Create a anchor by range's row/column datastatic voidSheetOperationUtil.toggleAutoFilter(Range range) Toggles AutoFilter on or offstatic voidCellOperationUtil.toggleMergeCenter(Range range) Toggle merge/unmerge of the range, if merging it will also set alignment to centerstatic voidUnhide the range.static voidUnmerge the rangestatic booleanSheetOperationUtil.unprotectSheet(Range range, String password) booleanVisits the cell -
Uses of Range in io.keikai.api.impl
Classes in io.keikai.api.impl that implement RangeMethods in io.keikai.api.impl that return RangeModifier and TypeMethodDescriptionRangeImpl.findAutoFilterRange()RangeImpl.pasteSpecial(Range dest, Range.PasteType type, Range.PasteOperation op, boolean skipBlanks, boolean transpose) Methods in io.keikai.api.impl that return types with arguments of type RangeModifier and TypeMethodDescriptionRangeImpl.getColumnGroups()RangeImpl.getColumnGroups(int outlineLevel) RangeImpl.getColumnGroups(int fromOutlineLevel, int toOutlineLevel) RangeImpl.getDependents()RangeImpl.getDirectDependents()RangeImpl.getDirectPrecedents()RangeImpl.getPrecedents()RangeImpl.getRowGroups()RangeImpl.getRowGroups(int outlineLevel) RangeImpl.getRowGroups(int fromOutlineLevel, int toOutlineLevel) RangeImpl.nOrderStream()RangeImpl.zOrderStream()Methods in io.keikai.api.impl with parameters of type RangeModifier and TypeMethodDescriptionvoidRangeImpl.autoFill(Range dest, Range.AutoFillType fillType) RangeImpl.pasteSpecial(Range dest, Range.PasteType type, Range.PasteOperation op, boolean skipBlanks, boolean transpose) voidRangeImpl.sort(Range key1, boolean desc1, Range.SortDataOption dataOption1, Range key2, boolean desc2, Range.SortDataOption dataOption2, Range key3, boolean desc3, Range.SortDataOption dataOption3, boolean header, boolean matchCase, boolean sortByRows) -
Uses of Range in io.keikai.api.model
Methods in io.keikai.api.model with parameters of type RangeModifier and TypeMethodDescriptionvoidChart.setDataRange(Range range) change the data range and rerender -
Uses of Range in io.keikai.api.model.impl
Methods in io.keikai.api.model.impl with parameters of type Range -
Uses of Range in io.keikai.ui.event
Methods in io.keikai.ui.event that return RangeModifier and TypeMethodDescriptionGroupOpenEvent.getRange()Returns the group range in a whole rows or columns based onGroupOpenEvent.isRow().Methods in io.keikai.ui.event that return types with arguments of type RangeModifier and TypeMethodDescriptionGroupHeaderClickEvent.getCollapsedGroups()Returns all the collapsed groups in rows or columns.GroupHeaderClickEvent.getExpandedGroups()Returns all the expanded groups in rows or columns. -
Uses of Range in io.keikai.ui.impl
Methods in io.keikai.ui.impl with parameters of type RangeModifier and TypeMethodDescriptionstatic voidActionHelper.collectRichTextStyleActions(Range range, CellOperationUtil.CellStyleApplier applier, List<UndoableAction> actions) Scan the given range and collect rich text cells actions which will be applied with the applier. -
Uses of Range in io.keikai.ui.impl.ua
Methods in io.keikai.ui.impl.ua with parameters of type RangeModifier and TypeMethodDescriptionprotected booleanAbstractHandler.checkInArrayFormula(Range range) protected booleanAbstractHandler.checkInCornerFreezePanel(Range range) -
Uses of Range in io.keikai.ui.impl.undo
Constructors in io.keikai.ui.impl.undo with parameters of type RangeModifierConstructorDescriptionSortCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Range index1, boolean desc1) SortCellAction(String label, Sheet sheet, int row, int column, int lastRow, int lastColumn, Range index1, boolean desc1, Range.SortDataOption dataOption1, Range index2, boolean desc2, Range.SortDataOption dataOption2, Range index3, boolean desc3, Range.SortDataOption dataOption3, boolean header, boolean matchCase, boolean sortByRows) -
Uses of Range in io.keikaiex.ui.impl.ua
Methods in io.keikaiex.ui.impl.ua with parameters of type RangeModifier and TypeMethodDescriptionprotected booleanDataValidationHandler.isOverlapped(Range range) Detect if current selection has two validation or 1 validation with any empty cellsprotected voidDataValidationHandler.validTableTotalRows(Range range)