-
- All Implemented Interfaces:
-
tornadofx.Configurable,tornadofx.ScopedInstance
public final class KeybindModel extends ItemViewModel<Keybind>
The ItemViewModel of a Keybind.
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<ActionFromKey>actionPropertyprivate final Property<KeyCode>keyPropertyprivate final Appappprivate final ObservableList<ObservableValue<out Object>>autocommitPropertiesprivate final Clipboardclipboardprivate final ConfigPropertiesconfigprivate final CharsetconfigCharsetprivate final PathconfigPathprivate final BooleanBindingdirtyprivate final ListChangeListener<Object>dirtyListListenerprivate final ChangeListener<Object>dirtyListenerprivate final ObservableList<ObservableValue<?>>dirtyPropertiesprivate final BooleanBindingemptyprivate final ObservableMap<Property<?>, ChangeListener<Object>>externalChangeListenersprivate final HostServiceshostServicesprivate final ObservableList<ObservableValue<out Object>>ignoreDirtyStatePropertiesprivate final BooleanisDirtyprivate final BooleanisEmptyprivate final BooleanisNotDirtyprivate final BooleanisNotEmptyprivate final BooleanisValidprivate Keybinditemprivate final ObjectProperty<Keybind>itemPropertyprivate final Loggerlogprivate ResourceBundlemessagesprivate final Map<String, Object>paramsprivate final SimpleObjectProperty<Map<String, Object>>paramsPropertyprivate final StageprimaryStageprivate final ObservableMap<Object, Object>propertiesprivate final ObservableMap<Property<?>, Property<?>>propertyCacheprivate final ObservableMap<Property<?>, Function0<Property<?>>>propertyMapprivate final ResourceLookupresourcesprivate final Scopescopeprivate final ConcurrentHashMap<KClass<out FXEvent>, List<FXEventRegistration>>subscribedEventsprivate final ReadOnlyBooleanPropertyvalidprivate final ValidationContextvalidationContextprivate final Workspaceworkspace
-
Constructor Summary
Constructors Constructor Description KeybindModel()
-
Method Summary
Modifier and Type Method Description final Property<ActionFromKey>getActionProperty()The property of the action. final Property<KeyCode>getKeyProperty()The property of the key. final AppgetApp()final ObservableList<ObservableValue<out Object>>getAutocommitProperties()final ClipboardgetClipboard()ConfigPropertiesgetConfig()CharsetgetConfigCharset()PathgetConfigPath()BooleanBindinggetDirty()final ListChangeListener<Object>getDirtyListListener()final ChangeListener<Object>getDirtyListener()final ObservableList<ObservableValue<?>>getDirtyProperties()final BooleanBindinggetEmpty()final ObservableMap<Property<?>, ChangeListener<Object>>getExternalChangeListeners()final HostServicesgetHostServices()final ObservableList<ObservableValue<out Object>>getIgnoreDirtyStateProperties()final BooleangetIsDirty()final BooleangetIsEmpty()final BooleangetIsNotDirty()final BooleangetIsNotEmpty()final BooleangetIsValid()final KeybindgetItem()final UnitsetItem(Keybind item)final ObjectProperty<Keybind>getItemProperty()final LoggergetLog()final ResourceBundlegetMessages()final UnitsetMessages(ResourceBundle messages)final Map<String, Object>getParams()final SimpleObjectProperty<Map<String, Object>>getParamsProperty()final StagegetPrimaryStage()final ObservableMap<Object, Object>getProperties()final ObservableMap<Property<?>, Property<?>>getPropertyCache()final ObservableMap<Property<?>, Function0<Property<?>>>getPropertyMap()final ResourceLookupgetResources()ScopegetScope()final ConcurrentHashMap<KClass<out FXEvent>, List<FXEventRegistration>>getSubscribedEvents()final ReadOnlyBooleanPropertygetValid()final ValidationContextgetValidationContext()final WorkspacegetWorkspace()-
Methods inherited from class tornadofx.ItemViewModel
addValidator, assignValue, backingValue, bind, clearDecorators, commit, commit, dirtyStateProperty, isDirty, isNotDirty, markDirty, onCommit, onCommit, property, rollback, setDecorationProvider, valid, validate -
Methods inherited from class it.unibo.alchemist.boundary.KeybindModel
asyncItem, bindField, bindGetter, bindMutableField, bindMutableNullableField, bindMutableProperty, bindProperty, bindPropertyFunction, select -
Methods inherited from class tornadofx.ViewModel
background, di, find, find, find, find, find, fire, fragment, fragment, get, inject, inject, k, nullableParam, param, preferences, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, set, setInScope, subscribe, ui, unsubscribe -
Methods inherited from class tornadofx.Component
loadConfig -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getActionProperty
final Property<ActionFromKey> getActionProperty()
The property of the action.
-
getKeyProperty
final Property<KeyCode> getKeyProperty()
The property of the key.
-
getApp
final App getApp()
-
getAutocommitProperties
final ObservableList<ObservableValue<out Object>> getAutocommitProperties()
-
getClipboard
final Clipboard getClipboard()
-
getConfig
ConfigProperties getConfig()
-
getConfigCharset
Charset getConfigCharset()
-
getConfigPath
Path getConfigPath()
-
getDirty
BooleanBinding getDirty()
-
getDirtyListListener
final ListChangeListener<Object> getDirtyListListener()
-
getDirtyListener
final ChangeListener<Object> getDirtyListener()
-
getDirtyProperties
final ObservableList<ObservableValue<?>> getDirtyProperties()
-
getEmpty
final BooleanBinding getEmpty()
-
getExternalChangeListeners
final ObservableMap<Property<?>, ChangeListener<Object>> getExternalChangeListeners()
-
getHostServices
final HostServices getHostServices()
-
getIgnoreDirtyStateProperties
final ObservableList<ObservableValue<out Object>> getIgnoreDirtyStateProperties()
-
getIsDirty
final Boolean getIsDirty()
-
getIsEmpty
final Boolean getIsEmpty()
-
getIsNotDirty
final Boolean getIsNotDirty()
-
getIsNotEmpty
final Boolean getIsNotEmpty()
-
getIsValid
final Boolean getIsValid()
-
getItemProperty
final ObjectProperty<Keybind> getItemProperty()
-
getMessages
final ResourceBundle getMessages()
-
setMessages
final Unit setMessages(ResourceBundle messages)
-
getParamsProperty
final SimpleObjectProperty<Map<String, Object>> getParamsProperty()
-
getPrimaryStage
final Stage getPrimaryStage()
-
getProperties
final ObservableMap<Object, Object> getProperties()
-
getPropertyCache
final ObservableMap<Property<?>, Property<?>> getPropertyCache()
-
getPropertyMap
final ObservableMap<Property<?>, Function0<Property<?>>> getPropertyMap()
-
getResources
final ResourceLookup getResources()
-
getScope
Scope getScope()
-
getSubscribedEvents
final ConcurrentHashMap<KClass<out FXEvent>, List<FXEventRegistration>> getSubscribedEvents()
-
getValid
final ReadOnlyBooleanProperty getValid()
-
getValidationContext
final ValidationContext getValidationContext()
-
getWorkspace
final Workspace getWorkspace()
-
-
-
-