public class FXFocusBehavior extends AbstractBehavior<javafx.scene.Node> implements java.beans.PropertyChangeListener
FXFocusBehavior can be registered on an IVisualPart to
transfer the focus information from the FocusModel to the part's
visualization.pcsACTIVE_PROPERTY| Constructor and Description |
|---|
FXFocusBehavior() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
protected void |
applyFocus()
Assigns keyboard focus to the visualization of the host.
|
void |
deactivate() |
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
addFeedback, addFeedback, addHandles, addHandles, addPropertyChangeListener, getAdaptable, getFeedbackParts, getHandleParts, getHost, isActive, removeFeedback, removeHandles, removePropertyChangeListener, setAdaptable, switchAdaptableScopespublic void activate()
activate in interface IActivatableactivate in class AbstractBehavior<javafx.scene.Node>protected void applyFocus()
public void deactivate()
deactivate in interface IActivatabledeactivate in class AbstractBehavior<javafx.scene.Node>public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerCopyright (c) 2014 itemis AG and others. All rights reserved.