<component name="Counter"> <IntAttribute name="score" defaultValue="0" /> </component>
class IntAttribute(keyString: String, key: Int, component: ComponentBase, initialValue: Int) : TypedAbstractAttribute<Int>
IntAttribute
(
keyString
, key
, component
, initialValue
)
|
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Int) Parameters keyString: String
The string key for this attribute
key: Int
The integer key for this attribute
initialValue: Int
The initial value for this attribute
Returns IntAttribute |
value
: Int
[Get][Set] |
Signature
var value: Int |
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<*>): Int Parameters thisRef: Any?property: KPropertyReturns Int |
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: Int) Parameters thisRef: Any?property: KPropertyvalue: Int |