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> |
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> |
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> |
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> |
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 true
IScellUiApiBuilder<TControl> enableUndoRedo(boolean value)
value
- makes it impossible to undo/redo if true
IScellUiApiBuilder<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 false
IScellUiApiBuilder<TControl> disableContextMenu(ContextMenuOwner target)
target
- menu to set enable stateIScellUiApiBuilder<TControl> inputBarVisible(boolean value)
value
- makes input bar invisible if false
IScellUiApiBuilder<TControl> gridVisible(IUiControlSettings.GridVisibilityType type)
type
- the IUiControlSettings.GridVisibilityType
that sets the grid visibility modeIScellUiApiBuilder<TControl> verticalScrollbarVisible(boolean value)
value
- makes vertical scrollbar invisible if false
IScellUiApiBuilder<TControl> horizontalScrollbarVisible(boolean value)
value
- makes horizontal scrollbar invisible if false
IScellUiApiBuilder<TControl> demoWatermarksVisible(boolean value)
value
- makes demo watermarks visible if true
IScellUiApiBuilder<TControl> systemClipboardAdapter(ISystemClipboardAdapter adapter)
adapter
- the custom ISystemClipboardAdapter
IScellUiApiBuilder<TControl> customTextInputFactory(IExternalTextInputControlWrapperFactory factory)
factory
- IExternalTextInputControlWrapperFactory
with customized behaviorCopyright © 2024. All rights reserved.