public class FXFocusAndSelectOnClickPolicy extends AbstractFXOnClickPolicy
FXFocusAndSelectOnClickPolicy
is an
AbstractFXOnClickPolicy
that focuses and selects its
host
by altering the FocusModel
and the
SelectionModel
when the host
is clicked by the
mouse.Constructor and Description |
---|
FXFocusAndSelectOnClickPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
click(javafx.scene.input.MouseEvent e)
This callback method is invoked when the user performs a mouse click on
the
host . |
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, getHost, init, setAdaptable
public void click(javafx.scene.input.MouseEvent e)
AbstractFXOnClickPolicy
host
.click
in class AbstractFXOnClickPolicy
e
- The original MouseEvent
.Copyright (c) 2014 itemis AG and others. All rights reserved.