public class ComponentFocusedProperty extends com.github.leanframeworks.propertiesframework.base.property.AbstractReadableProperty<Boolean>
This property is not writable because of the difficulty of remaining platform-independent and because focus handling is asynchronous: setting the property value to true would not guarantee that the component will be focused and it would also not be immediate either.
Component.isFocusOwner()| Constructor and Description |
|---|
ComponentFocusedProperty(Component component)
Constructor specifying the component whose focus is to be tracked.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Boolean |
getValue() |
public ComponentFocusedProperty(Component component)
component - Component whose focus is to be tracked.public void dispose()
dispose in interface com.github.leanframeworks.propertiesframework.api.common.Disposabledispose in class com.github.leanframeworks.propertiesframework.base.property.AbstractReadableProperty<Boolean>Disposable.dispose()public Boolean getValue()
ReadableProperty.getValue()Copyright © 2017. All rights reserved.