public class QueryFieldNumericEditor extends QueryEditor<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord,QueryFieldNumeric>
Modifier and Type | Field and Description |
---|---|
protected AmbitRows<Property> |
properties |
protected PropertyStats |
propertyStats |
protected AmbitRows<PropertyStats> |
stats |
protected com.jgoodies.binding.PresentationModel<PropertyStats> |
statsAdapter |
protected PropertyStatsNumeric |
statsQuery |
mainPanel, presentationModel
Constructor and Description |
---|
QueryFieldNumericEditor() |
Modifier and Type | Method and Description |
---|---|
JComponent |
buildPanel() |
protected JComponent |
createConditionComponent() |
protected JComponent |
createFieldnameComponent() |
protected JComponent |
createMaxValueComponent() |
protected com.jgoodies.binding.PresentationModel<QueryFieldNumeric> |
createPresentationModel() |
protected JButton |
createStatsButton() |
protected JComponent[] |
createStatsFields() |
protected JComponent |
createValueComponent() |
void |
open() |
QueryFieldNumeric |
process(net.idea.modbcum.i.IQueryRetrieval<Property> target) |
void |
setConnection(Connection connection) |
confirm, getJComponent, getObject, isEditable, setEditable, setObject
close, getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected AmbitRows<PropertyStats> stats
protected PropertyStatsNumeric statsQuery
protected PropertyStats propertyStats
protected com.jgoodies.binding.PresentationModel<PropertyStats> statsAdapter
protected com.jgoodies.binding.PresentationModel<QueryFieldNumeric> createPresentationModel()
createPresentationModel
in class QueryEditor<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord,QueryFieldNumeric>
public JComponent buildPanel()
buildPanel
in class QueryEditor<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord,QueryFieldNumeric>
protected JComponent[] createStatsFields()
protected JButton createStatsButton()
protected JComponent createFieldnameComponent()
createFieldnameComponent
in class QueryEditor<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord,QueryFieldNumeric>
protected JComponent createConditionComponent()
createConditionComponent
in class QueryEditor<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord,QueryFieldNumeric>
protected JComponent createValueComponent()
createValueComponent
in class QueryEditor<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord,QueryFieldNumeric>
protected JComponent createMaxValueComponent()
public QueryFieldNumeric process(net.idea.modbcum.i.IQueryRetrieval<Property> target) throws net.idea.modbcum.i.exceptions.AmbitException
process
in interface net.idea.modbcum.i.processors.IProcessor<net.idea.modbcum.i.IQueryRetrieval<Property>,QueryFieldNumeric>
process
in class QueryEditor<Property,Number,net.idea.modbcum.q.conditions.NumberCondition,IStructureRecord,QueryFieldNumeric>
net.idea.modbcum.i.exceptions.AmbitException
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<net.idea.modbcum.i.IQueryRetrieval<Property>,QueryFieldNumeric>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<net.idea.modbcum.i.IQueryRetrieval<Property>,QueryFieldNumeric>
net.idea.modbcum.i.exceptions.DbAmbitException
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection
in interface net.idea.modbcum.i.IDBProcessor<net.idea.modbcum.i.IQueryRetrieval<Property>,QueryFieldNumeric>
setConnection
in class net.idea.modbcum.p.AbstractDBProcessor<net.idea.modbcum.i.IQueryRetrieval<Property>,QueryFieldNumeric>
net.idea.modbcum.i.exceptions.DbAmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.