public abstract class QueryEditor<F,T,C extends net.idea.modbcum.i.IQueryCondition,ResultType,Q extends AbstractQuery<F,T,C,ResultType>> extends net.idea.modbcum.p.AbstractDBProcessor<net.idea.modbcum.i.IQueryRetrieval<Property>,Q> implements IAmbitEditor<Q>
| Modifier and Type | Field and Description |
|---|---|
protected JComponent |
mainPanel |
protected com.jgoodies.binding.PresentationModel<Q> |
presentationModel |
| Constructor and Description |
|---|
QueryEditor() |
| Modifier and Type | Method and Description |
|---|---|
JComponent |
buildPanel() |
boolean |
confirm() |
protected abstract JComponent |
createConditionComponent() |
protected abstract JComponent |
createFieldnameComponent() |
protected com.jgoodies.binding.PresentationModel<Q> |
createPresentationModel() |
protected JComponent |
createValueComponent() |
JComponent |
getJComponent() |
Q |
getObject() |
boolean |
isEditable() |
Q |
process(net.idea.modbcum.i.IQueryRetrieval<Property> target) |
void |
setEditable(boolean editable) |
void |
setObject(Q object) |
close, getConnection, isCloseConnection, isEnabled, setCloseConnection, setConnectionaddPropertyChangeListener, addPropertyChangeListener, getID, open, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toStringprotected JComponent mainPanel
protected com.jgoodies.binding.PresentationModel<Q extends AbstractQuery<F,T,C,ResultType>> presentationModel
protected com.jgoodies.binding.PresentationModel<Q> createPresentationModel()
public JComponent buildPanel()
protected abstract JComponent createFieldnameComponent()
protected abstract JComponent createConditionComponent()
protected JComponent createValueComponent()
public JComponent getJComponent()
getJComponent in interface IAmbitEditor<Q extends AbstractQuery<F,T,C,ResultType>>public Q getObject()
getObject in interface IAmbitEditor<Q extends AbstractQuery<F,T,C,ResultType>>public boolean isEditable()
isEditable in interface IAmbitEditor<Q extends AbstractQuery<F,T,C,ResultType>>public void setEditable(boolean editable)
setEditable in interface IAmbitEditor<Q extends AbstractQuery<F,T,C,ResultType>>public void setObject(Q object)
setObject in interface IAmbitEditor<Q extends AbstractQuery<F,T,C,ResultType>>public Q 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>,Q extends AbstractQuery<F,T,C,ResultType>>net.idea.modbcum.i.exceptions.AmbitExceptionpublic boolean confirm()
confirm in interface IAmbitEditor<Q extends AbstractQuery<F,T,C,ResultType>>Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.