Skip to content

Commit 22d88d9

Browse files
author
Nicolai Parlog
committed
Renamed 'Nested.isInnerObservablePresent' to 'Nested.isInnerObservablePresentProperty'.
1 parent 218ca3e commit 22d88d9

10 files changed

+19
-19
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public interface Nested {
1212
*
1313
* @return whether the inner observable is present, i.e. not null (as a property)
1414
*/
15-
ReadOnlyBooleanProperty innerObservablePresent();
15+
ReadOnlyBooleanProperty innerObservablePresentProperty();
1616

1717
/**
1818
* Indicates whether the inner observable is currently present.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class NestedBooleanProperty extends SimpleBooleanProperty implements Nest
4848
// #region IMPLEMENTATION OF 'NestedProperty'
4949

5050
@Override
51-
public ReadOnlyBooleanProperty innerObservablePresent() {
51+
public ReadOnlyBooleanProperty innerObservablePresentProperty() {
5252
return innerObservablePresent;
5353
}
5454

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class NestedDoubleProperty extends SimpleDoubleProperty implements Nested
5050
// #region IMPLEMENTATION OF 'NestedProperty'
5151

5252
@Override
53-
public ReadOnlyBooleanProperty innerObservablePresent() {
53+
public ReadOnlyBooleanProperty innerObservablePresentProperty() {
5454
return innerObservablePresent;
5555
}
5656

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class NestedFloatProperty extends SimpleFloatProperty implements NestedPr
5050
// #region IMPLEMENTATION OF 'NestedProperty'
5151

5252
@Override
53-
public ReadOnlyBooleanProperty innerObservablePresent() {
53+
public ReadOnlyBooleanProperty innerObservablePresentProperty() {
5454
return innerObservablePresent;
5555
}
5656

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class NestedIntegerProperty extends SimpleIntegerProperty implements Nest
5050
// #region IMPLEMENTATION OF 'NestedProperty'
5151

5252
@Override
53-
public ReadOnlyBooleanProperty innerObservablePresent() {
53+
public ReadOnlyBooleanProperty innerObservablePresentProperty() {
5454
return innerObservablePresent;
5555
}
5656

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class NestedLongProperty extends SimpleLongProperty implements NestedProp
5050
// #region IMPLEMENTATION OF 'NestedProperty'
5151

5252
@Override
53-
public ReadOnlyBooleanProperty innerObservablePresent() {
53+
public ReadOnlyBooleanProperty innerObservablePresentProperty() {
5454
return innerObservablePresent;
5555
}
5656

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public class NestedObjectProperty<T> extends SimpleObjectProperty<T> implements
5353
// #region IMPLEMENTATION OF 'NestedProperty'
5454

5555
@Override
56-
public ReadOnlyBooleanProperty innerObservablePresent() {
56+
public ReadOnlyBooleanProperty innerObservablePresentProperty() {
5757
return innerObservablePresent;
5858
}
5959

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
* property's value changes to the new observable's value. Like all other value changes this one also results in calling
1414
* all change listeners. If the new observable is null, the property keeps its value and no change listener is called.
1515
* <h2>Inner Observable Holds Null</h2> It is possible that a nesting's inner observable holds null (see class comment
16-
* in {@link Nesting}). In that case the {@link NestedProperty#innerObservablePresent() innerObservablePresent} property
17-
* is true and changes made to this property's value can not be propagated to another property. If the inner observable
18-
* changes back to a non-null value, everything said above applies.
16+
* in {@link Nesting}). In that case the {@link NestedProperty#innerObservablePresentProperty() innerObservablePresent}
17+
* property is true and changes made to this property's value can not be propagated to another property. If the inner
18+
* observable changes back to a non-null value, everything said above applies.
1919
*
2020
* @param <T>
2121
* the type of the value wrapped by the property

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class NestedStringProperty extends SimpleStringProperty implements Nested
5050
// #region IMPLEMENTATION OF 'NestedProperty'
5151

5252
@Override
53-
public ReadOnlyBooleanProperty innerObservablePresent() {
53+
public ReadOnlyBooleanProperty innerObservablePresentProperty() {
5454
return innerObservablePresent;
5555
}
5656

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class PropertyToNestingBinding<T> {
2525
private final NestedProperty<T> nestedProperty;
2626

2727
/**
28-
* Sets the {@link #nestedProperty}'s {@link NestedProperty#innerObservablePresent() innerObservablePresent}
28+
* Sets the {@link #nestedProperty}'s {@link NestedProperty#innerObservablePresentProperty() innerObservablePresent}
2929
* property.
3030
*/
3131
private final Consumer<Boolean> innerObservablePresentSetter;
@@ -41,13 +41,13 @@ class PropertyToNestingBinding<T> {
4141

4242
/**
4343
* Bidirectionally binds the specified nested property to the specified nesting's property. The specified setter is
44-
* used to update the nested property's {@link NestedProperty#innerObservablePresent() innerObservablePresent}
45-
* property.
44+
* used to update the nested property's {@link NestedProperty#innerObservablePresentProperty()
45+
* innerObservablePresent} property.
4646
*
4747
* @param nestedProperty
4848
* the {@link Property} which will be bound to the specified nesting
4949
* @param innerObservablePresentSetter
50-
* the {@link Consumer} which sets the {@link NestedProperty#innerObservablePresent()} property
50+
* the {@link Consumer} which sets the {@link NestedProperty#innerObservablePresentProperty()} property
5151
* @param nesting
5252
* the {@link Nesting} to which the property will be bound
5353
* @throws NullPointerException
@@ -69,15 +69,15 @@ private PropertyToNestingBinding(
6969

7070
/**
7171
* Bidirectionally binds the specified nested property to the specified nesting's property. The specified setter is
72-
* used to update the nested property's {@link NestedProperty#innerObservablePresent() innerObservablePresent}
73-
* property.
72+
* used to update the nested property's {@link NestedProperty#innerObservablePresentProperty()
73+
* innerObservablePresent} property.
7474
*
7575
* @param <T>
7676
* the type wrapped by the property
7777
* @param nestedProperty
7878
* the {@link Property} which will be bound to the specified nesting
7979
* @param innerObservablePresentSetter
80-
* the {@link Consumer} which sets the {@link NestedProperty#innerObservablePresent()} property
80+
* the {@link Consumer} which sets the {@link NestedProperty#innerObservablePresentProperty()} property
8181
* @param nesting
8282
* the {@link Nesting} to which the property will be bound
8383
* @throws NullPointerException
@@ -117,7 +117,7 @@ private void bindToNestingProperty() {
117117
*/
118118
private void moveBinding(
119119
Optional<? extends Property<T>> oldPropertyOpt,
120-
Optional<? extends Property<T>> newPropertyOpt) {
120+
Optional<? extends Property<T>> newPropertyOpt) {
121121

122122
oldPropertyOpt.ifPresent(oldProperty -> nestedProperty.unbindBidirectional(oldProperty));
123123
newPropertyOpt.ifPresent(newProperty -> nestedProperty.bindBidirectional(newProperty));

0 commit comments

Comments
 (0)