public class LimitedComparableProperty<T extends Comparable<? super T>> extends SimpleObjectProperty<T> implements LimitedProperty<T>
LimitedProperty
for a Comparable
.Type | Property and Description |
---|---|
ObjectProperty<T> |
max
The maximum value.
|
ObjectProperty<T> |
min
The minimum value.
|
Constructor and Description |
---|
LimitedComparableProperty() |
LimitedComparableProperty(Object bean,
String name) |
LimitedComparableProperty(Object bean,
String name,
T initialValue) |
LimitedComparableProperty(Object bean,
String name,
T min,
T max) |
LimitedComparableProperty(Object bean,
String name,
T initialValue,
T min,
T max) |
LimitedComparableProperty(T initialValue) |
LimitedComparableProperty(T min,
T max) |
LimitedComparableProperty(T initialValue,
T min,
T max) |
Modifier and Type | Method and Description |
---|---|
T |
getMax()
Gets the value of the property max.
|
T |
getMin()
Gets the value of the property min.
|
ObjectProperty<T> |
maxProperty()
The maximum value.
|
ObjectProperty<T> |
minProperty()
The minimum value.
|
void |
set(T t) |
void |
setMax(T max)
Sets the value of the property max.
|
void |
setMin(T min)
Sets the value of the property min.
|
getBean, getName
addListener, addListener, bind, fireValueChangedEvent, get, invalidated, isBound, removeListener, removeListener, toString, unbind
bindBidirectional, setValue, unbindBidirectional
equals, hashCode
getValue, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull, objectExpression
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
bind, bindBidirectional, isBound, unbind, unbindBidirectional
getBean, getName
addListener, getValue, removeListener
addListener, removeListener
getValue, setValue
public ObjectProperty<T extends Comparable<? super T>> minProperty
minProperty
in interface LimitedProperty<T extends Comparable<? super T>>
getMin()
,
setMin(T)
public ObjectProperty<T extends Comparable<? super T>> maxProperty
maxProperty
in interface LimitedProperty<T extends Comparable<? super T>>
getMax()
,
setMax(T)
public LimitedComparableProperty()
public LimitedComparableProperty(T initialValue)
public LimitedComparableProperty(Object bean, String name, T initialValue)
public ObjectProperty<T> minProperty()
minProperty
in interface LimitedProperty<T extends Comparable<? super T>>
getMin()
,
setMin(T)
public final T getMin()
getMin
in interface LimitedProperty<T extends Comparable<? super T>>
public final void setMin(T min)
setMin
in interface LimitedProperty<T extends Comparable<? super T>>
public ObjectProperty<T> maxProperty()
maxProperty
in interface LimitedProperty<T extends Comparable<? super T>>
getMax()
,
setMax(T)
public final T getMax()
getMax
in interface LimitedProperty<T extends Comparable<? super T>>
public final void setMax(T max)
setMax
in interface LimitedProperty<T extends Comparable<? super T>>
public void set(T t)
set
in interface WritableObjectValue<T extends Comparable<? super T>>
set
in class ObjectPropertyBase<T extends Comparable<? super T>>
Copyright © 2012-2013 Drombler. All Rights Reserved.