TControl
- the type of the UI node which will be created by the getControl()
. Default - Java FXpublic interface IScellUiApi<TControl>
Modifier and Type | Method and Description |
---|---|
void |
beginBunchOfOperations()
Disables redraw content of the component after each API call to get changes faster
|
IDiffController<TControl> |
createComparator() |
IDiffController<TControl> |
createComparator(IWorkbook leftWorkbook,
IWorkbook rightWorkbook) |
IDiffController<TControl> |
createComparator(IWorkbook leftWorkbook,
IWorkbook rightWorkbook,
Consumer<IComparatorConfig> config) |
void |
endBunchOfOperations()
Enables redraw content (see
beginBunchOfOperations() ) and redraws the content of the control |
IUiContentManager |
getContentManager() |
TControl |
getControl() |
IUiGridManager |
getGridManager() |
IUiGridMetrics |
getGridMetrics() |
IUiSelectionManager |
getSelectionManager() |
IUiControlSettings |
getSettingsService() |
void |
setContextMenuItems(ContextMenuOwner target,
List<PredefinedContextMenuCommand> commands)
Allows to customize the corresponding context menu
|
TControl getControl()
IUiControlSettings getSettingsService()
IUiContentManager getContentManager()
IUiSelectionManager getSelectionManager()
IUiGridMetrics getGridMetrics()
IUiGridMetrics
service to convert grid canvas coordinates to cells addressesvoid setContextMenuItems(ContextMenuOwner target, List<PredefinedContextMenuCommand> commands)
target
- the context menu to be customizedcommands
- the list of the PredefinedContextMenuCommand
used to form the corresponding context menuIUiGridManager getGridManager()
IUiGridManager
service to get/set top row index and left column indexvoid beginBunchOfOperations()
void endBunchOfOperations()
beginBunchOfOperations()
) and redraws the content of the controlIDiffController<TControl> createComparator()
IDiffController<TControl> createComparator(IWorkbook leftWorkbook, IWorkbook rightWorkbook)
IDiffController<TControl> createComparator(IWorkbook leftWorkbook, IWorkbook rightWorkbook, Consumer<IComparatorConfig> config)
Copyright © 2024. All rights reserved.