Back to Website
Show / Hide Table of Contents

Class PlainTextItemHandler

Inheritance
ItemHandler
BaseRectangleItemHandler
ShapeItemHandler
RectangleItemHandler
BaseTextItemHandler
PlainTextItemHandler
Package: @aurigma/design-atoms

Constructors

(constructor)(item, textWhizz, apiClient, colorPreviewService)

Constructs a new instance of the PlainTextItemHandler class

Declaration
constructor(item?: PlainTextItem, textWhizz?: typeof TextWhizz, apiClient?: IDesignAtomsApiClient, colorPreviewService?: IListenableColorPreviewService);
Parameters
Type Name Description
PlainTextItem item
typeof TextWhizz textWhizz
IDesignAtomsApiClient apiClient
IListenableColorPreviewService colorPreviewService

Properties

item

Declaration
get item(): PlainTextItem;

set item(item: PlainTextItem);
Property Value
Type Description
PlainTextItem

typeName

Declaration
static readonly typeName: string;
Property Value
Type Description
string

Methods

_getDefaultPermissions()

Declaration
protected _getDefaultPermissions(): IPermissions;
Returns
Type Description
IPermissions

_onItemPropertyChanged(sender, propertyName)

Declaration
protected _onItemPropertyChanged(sender: PlainTextItem, propertyName: string): void;
Parameters
Type Name Description
PlainTextItem sender
string propertyName
Returns
Type Description
void

_setDataItem(itemData, itemHandlerData)

Declaration
protected _setDataItem(itemData: PlainTextItem, itemHandlerData: any): void;
Parameters
Type Name Description
PlainTextItem itemData
any itemHandlerData
Returns
Type Description
void

onResized()

Declaration
onResized(): boolean;
Returns
Type Description
boolean
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback