<component name="Toggle"> <BooleanAttribute name="isActive" defaultValue="true" /> </component>
class BooleanAttribute(keyString: String, key: Int, component: ComponentBase, initialValue: Boolean) : TypedAbstractAttribute<Boolean>
BooleanAttribute
(
keyString
, key
, component
, initialValue
)
|
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Boolean) Parameters
keyString:
String
key:
Int
initialValue:
Boolean
Returns |
value
: Boolean
[Get][Set] |
Signature
var value: Boolean |
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<*>): Boolean Parameters
thisRef:
Any?
property:
KProperty
Returns
Boolean
|
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: Boolean) Parameters
thisRef:
Any?
property:
KProperty
value:
Boolean
|