Functions relating to User Interface section of Adaptable State

TypeScript
export interface

Methods

MethodDescription
closeCustomWindowPopup(windowId)Closes a custom window
getAdaptableObjectsWithTag(tag, adaptableModule)Retrieves all objects in list which contain the given Tag
getAdaptableObjectTags()Retrieves any Object Tags (provided in User Interface Options)
getColorPalette()Retrieves Color Palette currently being used
getCustomIcons()Retrieves Custom Icons provided by users
getEditableCellStyle()Returns Style set for Editable cells
getEditedCellStyle()Returns Style for Cells that have been edited
getReadOnlyCellStyle()Returns Style set for ReadOnly Cells
getStyleClassNames()Retrieves any Style Class Names from User Interface Options
getUserInterfaceState()Retrieves the current User Interface State
hideAdaptableUI()Hides all AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Column and Context Menus etc.)
hideProgressIndicator()Hides the progress indicator
isAdaptableUIVisible()Returns whether the AdapTable UI is currently visible
openCustomWindowPopup(config)Opens a custom window popup
showAdaptableUI()Shows all AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Column and Context Menus etc.)
showProgressIndicator(config)Displays a progress indicator

Method Details

closeCustomWindowPopup

Closes a custom window

TypeScript
closeCustomWindowPopup(windowId: string): void;
Parameters
ParameterTypeDescription
windowIdstringwindow popup id
Returns

void

getAdaptableObjectsWithTag

Retrieves all objects in list which contain the given Tag

TypeScript
getAdaptableObjectsWithTag(tag: AdaptableObjectTag, adaptableModule?: AdaptableModule): AdaptableObject[] | undefined;
Parameters
ParameterTypeDescription
tagAdaptableObjectTagTag to check
adaptableModuleAdaptableModuleoptional Module to check
Returns

AdaptableObject[] | undefined

getAdaptableObjectTags

Retrieves any Object Tags (provided in User Interface Options)

TypeScript
getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
Returns

AdaptableObjectTag[] | undefined

getColorPalette

Retrieves Color Palette currently being used

TypeScript
getColorPalette(): string[];
Returns

string[]

getCustomIcons

Retrieves Custom Icons provided by users

TypeScript
getCustomIcons(): CustomIcon[];
Returns

CustomIcon[]

getEditableCellStyle

Returns Style set for Editable cells

TypeScript
getEditableCellStyle(): AdaptableStyle | undefined;
Returns

AdaptableStyle | undefined

getEditedCellStyle

Returns Style for Cells that have been edited

TypeScript
getEditedCellStyle(): AdaptableStyle | undefined;
Returns

AdaptableStyle | undefined

getReadOnlyCellStyle

Returns Style set for ReadOnly Cells

TypeScript
getReadOnlyCellStyle(): AdaptableStyle | undefined;
Returns

AdaptableStyle | undefined

getStyleClassNames

Retrieves any Style Class Names from User Interface Options

TypeScript
getStyleClassNames(): string[] | undefined;
Returns

string[] | undefined

getUserInterfaceState

Retrieves the current User Interface State

TypeScript
getUserInterfaceState(): UserInterfaceState;
Returns

UserInterfaceState

hideAdaptableUI

Hides all AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Column and Context Menus etc.)

TypeScript
hideAdaptableUI(): void;
Returns

void

hideProgressIndicator

Hides the progress indicator

TypeScript
hideProgressIndicator(): void;
Returns

void

isAdaptableUIVisible

Returns whether the AdapTable UI is currently visible

TypeScript
isAdaptableUIVisible(): boolean;
Returns

boolean

openCustomWindowPopup

Opens a custom window popup

TypeScript
openCustomWindowPopup(config: CustomWindowConfig): {
        close: () => void;
    };
Parameters
ParameterTypeDescription
configCustomWindowConfigThe configuration for the custom window
Returns

\{ close: () => void; \}

showAdaptableUI

Shows all AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Column and Context Menus etc.)

TypeScript
showAdaptableUI(): void;
Returns

void

showProgressIndicator

Displays a progress indicator

TypeScript
showProgressIndicator(config: ProgressIndicatorConfig): {
        close: () => void;
    };
Parameters
ParameterType
configProgressIndicatorConfig
Returns

\{ close: () => void; \}