API reference
API reference
Select your platform
No SDKs available
No versions available

TypedAbstractAttribute Class

Implements AbstractAttribute
Modifiers: abstract
Base class for typed attributes that provides common functionality.
This abstract class implements the AbstractAttribute interface and provides common functionality for typed attributes, including validation and error checking.

Signature

abstract class TypedAbstractAttribute<T>(keyString: String, key: Int, component: ComponentBase) : AbstractAttribute

Constructors

TypedAbstractAttribute ( keyString , key , component )
Signature
constructor(keyString: String, key: Int, component: ComponentBase)
Parameters
keyString: String  The string key for this attribute
key: Int  The integer key for this attribute
component: ComponentBase  The component this attribute belongs to

Methods

checkIfComponentIsOld ()
Signature
fun checkIfComponentIsOld()
checkIfComponentIsRecycled ()
Signature
fun checkIfComponentIsRecycled()
get ()
Signature
abstract fun get(): Any
Returns
Any
keyName ()
Signature
fun keyName(): String
Returns
String
set ( value )
Signature
abstract fun set(value: Any)
Parameters
value: Any