/** * Creates a new group of check boxes for interacting with the query. * @return a {@link prefuse.util.ui.JToggleGroup} of check boxes bound to * this dynamic query. * @see prefuse.data.query.DynamicQueryBinding#createComponent() */ public JComponent createComponent() { return createCheckboxGroup(); }
/** * Creates a new group of radio buttons for interacting with the query. * @return a {@link prefuse.util.ui.JToggleGroup} of radio buttons bound to * this dynamic query. */ public JToggleGroup createRadioGroup() { return createToggleGroup(JToggleGroup.RADIO); }
/** * Create a new ListQueryBinding over the given set and data field. * @param ts the TupleSet to query * @param field the data field (Table column) to query * @param includeAllOption indicates if the dynamic queries should * include an "All" option for including all data values */ public ListQueryBinding(TupleSet ts, String field, boolean includeAllOption) { super(ts, field); m_type = DataLib.inferType(ts, field); m_listener = new Listener(); m_includeAll = includeAllOption; initPredicate(); initModel(); }
private void initPredicate() { // set up predicate OrPredicate orP = new OrPredicate(); orP.add(BooleanLiteral.TRUE); setPredicate(orP); }
/** * Creates a new group of check boxes for interacting with the query. * @return a {@link prefuse.util.ui.JToggleGroup} of check boxes bound to * this dynamic query. */ public JToggleGroup createCheckboxGroup() { return createToggleGroup(JToggleGroup.CHECKBOX); }