<component name="MyComponent"> <StringAttribute name="name" defaultValue="Player" /> </component>
class StringAttribute(keyString: String, key: Int, component: ComponentBase, initialValue: String) : TypedAbstractAttribute<String>
StringAttribute
(
keyString
, key
, component
, initialValue
)
|
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: String) Parameters keyString: String
The string key for this attribute
key: Int
The integer key for this attribute
initialValue: String
The initial value for this attribute
Returns StringAttribute |
value
: String
[Get][Set] |
Signature
var value: String |
checkIfComponentIsOld
()
|
Signature
fun checkIfComponentIsOld() |
checkIfComponentIsRecycled
()
|
Signature
fun checkIfComponentIsRecycled() |
get
()
|
Signature
open override fun get(): Any Returns Any |
getValue
(
thisRef
, property
)
|
Signature
operator fun getValue(thisRef: Any?, property: KProperty<*>): String Parameters thisRef: Any?property: KPropertyReturns String |
keyName
()
|
Signature
fun keyName(): String Returns String |
set
(
value
)
|
Signature
open override fun set(value: Any) Parameters value: Any |
setValue
(
thisRef
, property
, value
)
|
Signature
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) Parameters thisRef: Any?property: KPropertyvalue: String |