| java.lang.Object prefuse.data.query.DynamicQueryBinding prefuse.data.query.RangeQueryBinding
Constructor Summary | |
public | RangeQueryBinding(TupleSet ts, String field) Create a new RangeQueryBinding over the given set and data field. | public | RangeQueryBinding(TupleSet ts, String field, boolean forceOrdinal) Create a new RangeQueryBinding over the given set and data field,
optionally forcing an ordinal treatment of data.
Parameters: ts - the TupleSet to query Parameters: field - the data field (Table column) to query Parameters: forceOrdinal - if true, forces all items in the range to betreated in strictly ordinal fashion. |
RangeQueryBinding | public RangeQueryBinding(TupleSet ts, String field)(Code) | | Create a new RangeQueryBinding over the given set and data field.
Parameters: ts - the TupleSet to query Parameters: field - the data field (Table column) to query |
RangeQueryBinding | public RangeQueryBinding(TupleSet ts, String field, boolean forceOrdinal)(Code) | | Create a new RangeQueryBinding over the given set and data field,
optionally forcing an ordinal treatment of data.
Parameters: ts - the TupleSet to query Parameters: field - the data field (Table column) to query Parameters: forceOrdinal - if true, forces all items in the range to betreated in strictly ordinal fashion. That means that if the datais numerical, the quantitative nature of the data will be ignoredand only the relative ordering of the numbers will matter. In termsof mechanism, this entails that a ObjectRangeModel and nota NumberRangeModel will be used to represent the data. Ifthe argument is false, default inference mechanisms will be used. |
createSlider | public JSlider createSlider()(Code) | | Create a new regular (non-range) slider for interacting with the query.
This allows you to select a single value at a time.
a javax.swing.JSlider bound to this dynamic query. |
getModel | public ValuedRangeModel getModel()(Code) | | Return the ValuedRangeModel constructed by this dynamic query binding.
This model backs any user interface components generated by this
instance.
the ValuedRangeModel for this range query binding. |
getNumberModel | public NumberRangeModel getNumberModel()(Code) | | Attempts to return the ValuedRangeModel for this binding as a
NumberRangeModel. If the range model is not an instance of
NumberRangeModel , a null value is returned.
the ValuedRangeModel for this binding as a NumberRangeModel, or null if the range is not numerical. |
getObjectModel | public ObjectRangeModel getObjectModel()(Code) | | Attempts to return the ValuedRangeModel for this binding as an
ObjectRangeModel. If the range model is not an instance of
ObjectRangeModel , a null value is returned.
the ValuedRangeModel for this binding as anObjectRangeModel, or null if the range is numerical. |
initModel | public void initModel()(Code) | | |
|
|