Skip to content

Commit e106834

Browse files
author
Nicolai Parlog
committed
Renamed 'Nesting.innerObservable' to 'Nesting.innerObservableProperty'.
1 parent 8435c75 commit e106834

14 files changed

+45
-40
lines changed

src/org/codefx/libfx/nesting/DeepNesting.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/**
1515
* An implementation of {@link Nesting} which uses an outer {@link ObservableValue} and a series of nesting steps to get
16-
* the {@link #innerObservable()}.
16+
* the {@link #innerObservableProperty() innerObservable}.
1717
*
1818
* @param <O>
1919
* the hierarchy's innermost type of {@link Observable}
@@ -188,7 +188,7 @@ private void updateNestingFromLevel(int startLevel) {
188188
* {@inheritDoc}
189189
*/
190190
@Override
191-
public ReadOnlyProperty<Optional<O>> innerObservable() {
191+
public ReadOnlyProperty<Optional<O>> innerObservableProperty() {
192192
return inner;
193193
}
194194

src/org/codefx/libfx/nesting/Nesting.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
import javafx.beans.value.ObservableValue;
88

99
/**
10-
* A nesting encapsulates a hierarchy of nested {@link ObservableValue ObservableValues}; its {@link #innerObservable()}
11-
* always contains the current innermost {@link Observable} in that hierarchy as an {@link Optional}. If some observable
12-
* or its value were null, {@code innerObservable} contains {@link Optional#empty()}.
10+
* A nesting encapsulates a hierarchy of nested {@link ObservableValue ObservableValues}; its
11+
* {@link #innerObservableProperty() innerObservable} property always contains the current innermost {@link Observable}
12+
* in that hierarchy as an {@link Optional}. If some observable or its value were null, {@code innerObservableProperty}
13+
* contains {@link Optional#empty()}.
1314
* <p>
1415
* Nestings will usually be implemented such that they eagerly evaluate the nested observables.
1516
*
@@ -19,11 +20,11 @@
1920
public interface Nesting<O extends Observable> {
2021

2122
/**
22-
* A property holding the current innermost observable in the hierarchy. If some observable or its value were null,
23-
* this contains {@link Optional#empty()}.
23+
* A property holding the current innermost observable in the hierarchy as an optional. If some observable or its
24+
* value were null, this contains {@link Optional#empty()}.
2425
*
2526
* @return the innermost {@link ObservableValue} in an {@link Optional}
2627
*/
27-
ReadOnlyProperty<Optional<O>> innerObservable();
28+
ReadOnlyProperty<Optional<O>> innerObservableProperty();
2829

2930
}

src/org/codefx/libfx/nesting/ShallowNesting.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public ShallowNesting(O outerObservable) {
3535
}
3636

3737
@Override
38-
public ReadOnlyProperty<Optional<O>> innerObservable() {
38+
public ReadOnlyProperty<Optional<O>> innerObservableProperty() {
3939
return inner;
4040
}
4141

src/org/codefx/libfx/nesting/property/NestedBooleanPropertyBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.codefx.libfx.nesting.Nesting;
66

77
/**
8-
* A builder for a {@link NestedBooleanProperty} which is bound to the {@link Nesting#innerObservable() innerObservable}
8+
* A builder for a {@link NestedBooleanProperty} which is bound to the {@link Nesting#innerObservableProperty() innerObservable}
99
* of a {@link Nesting}.
1010
*/
1111
public class NestedBooleanPropertyBuilder extends AbstractNestedPropertyBuilder<BooleanProperty, NestedBooleanProperty> {

src/org/codefx/libfx/nesting/property/NestedDoublePropertyBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.codefx.libfx.nesting.Nesting;
66

77
/**
8-
* A builder for a {@link NestedDoubleProperty} which is bound to the {@link Nesting#innerObservable() innerObservable}
8+
* A builder for a {@link NestedDoubleProperty} which is bound to the {@link Nesting#innerObservableProperty() innerObservable}
99
* of a {@link Nesting}.
1010
*/
1111
public class NestedDoublePropertyBuilder extends AbstractNestedPropertyBuilder<DoubleProperty, NestedDoubleProperty> {

src/org/codefx/libfx/nesting/property/NestedFloatPropertyBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.codefx.libfx.nesting.Nesting;
66

77
/**
8-
* A builder for a {@link NestedFloatProperty} which is bound to the {@link Nesting#innerObservable() innerObservable}
8+
* A builder for a {@link NestedFloatProperty} which is bound to the {@link Nesting#innerObservableProperty() innerObservable}
99
* of a {@link Nesting}.
1010
*/
1111
public class NestedFloatPropertyBuilder extends AbstractNestedPropertyBuilder<FloatProperty, NestedFloatProperty> {

src/org/codefx/libfx/nesting/property/NestedIntegerPropertyBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.codefx.libfx.nesting.Nesting;
66

77
/**
8-
* A builder for a {@link NestedIntegerProperty} which is bound to the {@link Nesting#innerObservable() innerObservable}
8+
* A builder for a {@link NestedIntegerProperty} which is bound to the {@link Nesting#innerObservableProperty() innerObservable}
99
* of a {@link Nesting}.
1010
*/
1111
public class NestedIntegerPropertyBuilder extends AbstractNestedPropertyBuilder<IntegerProperty, NestedIntegerProperty> {

src/org/codefx/libfx/nesting/property/NestedLongPropertyBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.codefx.libfx.nesting.Nesting;
66

77
/**
8-
* A builder for a {@link NestedLongProperty} which is bound to the {@link Nesting#innerObservable() innerObservable} of
8+
* A builder for a {@link NestedLongProperty} which is bound to the {@link Nesting#innerObservableProperty() innerObservable} of
99
* a {@link Nesting}.
1010
*/
1111
public class NestedLongPropertyBuilder extends AbstractNestedPropertyBuilder<LongProperty, NestedLongProperty> {

src/org/codefx/libfx/nesting/property/NestedObjectPropertyBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.codefx.libfx.nesting.Nesting;
66

77
/**
8-
* A builder for a {@link Property} which is bound to the {@link Nesting#innerObservable() innerObservable} of a
8+
* A builder for a {@link Property} which is bound to the {@link Nesting#innerObservableProperty() innerObservable} of a
99
* {@link Nesting}.
1010
*
1111
* @param <T>

src/org/codefx/libfx/nesting/property/NestedStringPropertyBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.codefx.libfx.nesting.Nesting;
66

77
/**
8-
* A builder for a {@link NestedStringProperty} which is bound to the {@link Nesting#innerObservable() innerObservable}
8+
* A builder for a {@link NestedStringProperty} which is bound to the {@link Nesting#innerObservableProperty() innerObservable}
99
* of a {@link Nesting}.
1010
*/
1111
public class NestedStringPropertyBuilder extends AbstractNestedPropertyBuilder<StringProperty, NestedStringProperty> {

0 commit comments

Comments
 (0)