modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TableRowBehavior.java
Print this page
rev 9240 : 8076423: JEP 253: Prepare JavaFX UI Controls & CSS APIs for Modularization
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -67,11 +67,11 @@
@Override protected ObservableList getVisibleLeafColumns() {
return getCellContainer().getVisibleLeafColumns();
}
@Override protected TableView<T> getCellContainer() {
- return getControl().getTableView();
+ return getNode().getTableView();
}
@Override protected void edit(TableRow<T> cell) {
// no-op (for now)
}