package bluej.utility.javafx;
import javafx.scene.Node;
import javafx.scene.control.ScrollPane;
| A version of ScrollPane which overrides the default behaviour of capturing
| focus when clicked. This scroll pane cannot be focused.
|
public class UnfocusableScrollPane
extends ScrollPane{
| Creates the scroll pane with the given content.
|
public UnfocusableScrollPane(Node content)
{
super(content);
}
@Override
public void requestFocus()
{
}
}
top,
use,
map,
class UnfocusableScrollPane
. UnfocusableScrollPane
. requestFocus
21 neLoCode
+ 3 LoComm