< prev index next >

modules/javafx.base/src/main/java/javafx/beans/binding/ListExpression.java

Print this page

        

*** 68,77 **** --- 68,78 ---- * {@code ObservableListValue} is already a {@code ListExpression}, it * will be returned. Otherwise a new * {@link javafx.beans.binding.ListBinding} is created that is bound to * the {@code ObservableListValue}. * + * @param <E> the type of the wrapped {@code List} * @param value * The source {@code ObservableListValue} * @return A {@code ListExpression} that wraps the * {@code ObservableListValue} if necessary * @throws NullPointerException
*** 104,113 **** --- 105,115 ---- }; } /** * The size of the list + * @return the size */ public int getSize() { return size(); }
*** 117,126 **** --- 119,130 ---- */ public abstract ReadOnlyIntegerProperty sizeProperty(); /** * A boolean property that is {@code true}, if the list is empty. + * @return the {@code ReadOnlyBooleanProperty} + * */ public abstract ReadOnlyBooleanProperty emptyProperty(); /** * Creates a new {@link ObjectBinding} that contains the element at the specified position.
< prev index next >