TControl - type of the UI control (by default it is the Node)public interface IScellUiApiBuilder<TControl>
IScellUiApi| Modifier and Type | Method and Description |
|---|---|
IScellUiApi<TControl> |
create(IWorkbook coreApi)
Creates instance which will manage SCell control
|
IScellUiApiBuilder<TControl> |
customSvgNodeFactory(IFxSvgNodeFactory factory) |
IScellUiApiBuilder<TControl> |
customTextInputFactory(IExternalTextInputControlWrapperFactory factory)
Sets custom factory to extending base text input control.
|
IScellUiApiBuilder<TControl> |
demoWatermarksVisible(boolean value)
Created SCell control will have demo watermarks visible or not
|
IScellUiApiBuilder<TControl> |
disableContextMenu(ContextMenuOwner target)
Created SCell control will not have corresponding context menu
|
IScellUiApiBuilder<TControl> |
enableContextMenu(ContextMenuOwner target,
boolean value)
Created SCell control will have (or not) corresponding context menu
|
IScellUiApiBuilder<TControl> |
enableUndoRedo(boolean value)
Created SCell control will have undo/redo
|
IScellUiApiBuilder<TControl> |
gridRenderingType(IUiControlSettings.GridRenderingType type) |
IScellUiApiBuilder<TControl> |
gridVisible(IUiControlSettings.GridVisibilityType type)
Created SCell control will have cells grid visible or not
|
IScellUiApiBuilder<TControl> |
horizontalScrollbarVisible(boolean value)
Created SCell control will have horizontal scrollbar visible or not
|
IScellUiApiBuilder<TControl> |
iconScale(double scale)
Sets the icon scale of context menu items
|
IScellUiApiBuilder<TControl> |
inputBarVisible(boolean value)
Created SCell control will have input bar visible or hidden
|
IScellUiApiBuilder<TControl> |
readOnly(boolean value)
Created SCell control will have readonly content
|
IScellUiApiBuilder<TControl> |
setForegroundAccentColor(IColor value)
Created SCell control with custom color
|
IScellUiApiBuilder<TControl> |
systemClipboardAdapter(ISystemClipboardAdapter adapter)
Created SCell control will have custom clipboard adapter.
|
IScellUiApiBuilder<TControl> |
systemHyperlinkAdapter(IHyperlinkAdapter handler) |
IScellUiApiBuilder<TControl> |
verticalScrollbarVisible(boolean value)
Created SCell control will have vertical scrollbar visible or not
|
IScellUiApi<TControl> create(IWorkbook coreApi)
coreApi - workbook to get applicationIScellUiApiBuilder<TControl> readOnly(boolean value)
value - makes UI readonly if trueIScellUiApiBuilder<TControl> enableUndoRedo(boolean value)
value - makes it impossible to undo/redo if trueIScellUiApiBuilder<TControl> setForegroundAccentColor(IColor value)
value - is cutom colorIScellUiApiBuilder<TControl> enableContextMenu(ContextMenuOwner target, boolean value)
target - menu to set enable statevalue - makes it impossible to open context menu if falseIScellUiApiBuilder<TControl> disableContextMenu(ContextMenuOwner target)
target - menu to set enable stateIScellUiApiBuilder<TControl> inputBarVisible(boolean value)
value - makes input bar invisible if falseIScellUiApiBuilder<TControl> gridVisible(IUiControlSettings.GridVisibilityType type)
type - the IUiControlSettings.GridVisibilityType that sets the grid visibility modeIScellUiApiBuilder<TControl> gridRenderingType(IUiControlSettings.GridRenderingType type)
IScellUiApiBuilder<TControl> verticalScrollbarVisible(boolean value)
value - makes vertical scrollbar invisible if falseIScellUiApiBuilder<TControl> horizontalScrollbarVisible(boolean value)
value - makes horizontal scrollbar invisible if falseIScellUiApiBuilder<TControl> demoWatermarksVisible(boolean value)
value - makes demo watermarks visible if trueIScellUiApiBuilder<TControl> systemClipboardAdapter(ISystemClipboardAdapter adapter)
adapter - the custom ISystemClipboardAdapterIScellUiApiBuilder<TControl> systemHyperlinkAdapter(IHyperlinkAdapter handler)
IScellUiApiBuilder<TControl> customTextInputFactory(IExternalTextInputControlWrapperFactory factory)
factory - IExternalTextInputControlWrapperFactory with customized behaviorIScellUiApiBuilder<TControl> customSvgNodeFactory(IFxSvgNodeFactory factory)
IScellUiApiBuilder<TControl> iconScale(double scale)
scale - the icon scaleCopyright © 2025. All rights reserved.