public interface IUiControlSettings
Modifier and Type | Interface and Description |
---|---|
static class |
IUiControlSettings.GridVisibilityType
Used to set the display type of the grid
|
Modifier and Type | Method and Description |
---|---|
IUiControlSettings.GridVisibilityType |
getGridVisibilityType() |
boolean |
isContextMenuEnabled(ContextMenuOwner contextMenu)
Get corresponding SCell context menu status - disabled or not
|
boolean |
isHorizontalScrollbarVisible() |
boolean |
isInputBarVisible() |
boolean |
isReadOnly() |
boolean |
isVerticalScrollbarVisible() |
void |
setContextMenuEnabled(ContextMenuOwner contextMenu,
boolean value)
Set corresponding SCell context menu enabled property
|
void |
setForegroundAccentColor(IColor color)
Set SCell accent color
|
void |
setGridVisibilityType(IUiControlSettings.GridVisibilityType type)
Set SCell cells grid visible property
|
void |
setHorizontalScrollbarVisibility(boolean value)
Set SCell control horizontal scrollbar visible property
|
void |
setInputBarVisibility(boolean value)
Set input bar of SCell control visible property
|
void |
setReadOnly(boolean value)
Set SCell control content readonly property
|
void |
setVerticalScrollbarVisibility(boolean value)
Set SCell control vertical scrollbar visible property
|
boolean isReadOnly()
true
if SCell content is readonly otherwise false
void setReadOnly(boolean value)
value
- set readonly if true
boolean isContextMenuEnabled(ContextMenuOwner contextMenu)
contextMenu
- ContextMenuOwner
target context menutrue
if target context menu is enabled, otherwise false
void setContextMenuEnabled(ContextMenuOwner contextMenu, boolean value)
contextMenu
- ContextMenuOwner
target context menuvalue
- set target context menu enabled if true
void setForegroundAccentColor(IColor color)
color
- set accent color. null
will reset the color to defaultboolean isInputBarVisible()
true
if the input bar of SCell control is visible, otherwise false
void setInputBarVisibility(boolean value)
value
- set input bar visible if true
IUiControlSettings.GridVisibilityType getGridVisibilityType()
void setGridVisibilityType(IUiControlSettings.GridVisibilityType type)
type
- the type of the visibility mode of the gridboolean isVerticalScrollbarVisible()
true
if SCell control vertical scrollbar is visiblevoid setVerticalScrollbarVisibility(boolean value)
value
- set vertical scrollbar visible if true
boolean isHorizontalScrollbarVisible()
true
if SCell control horizontal scrollbar is visible, otherwise false
void setHorizontalScrollbarVisibility(boolean value)
value
- set horizontal scrollbar visible if true
Copyright © 2024. All rights reserved.