public abstract class DataSelectDialog extends ListRemoteUserInterface
Modifier and Type | Field and Description |
---|---|
protected DataObject |
contentDataObject |
protected AttributeList |
currentAttributeList |
protected TabButtonGroup |
tabButtonGroup |
BUILD_STATUS_COMPLETE_BUILD_NECESSARY, BUILD_STATUS_EMPTY_LIST_TO_BUILD, BUILD_STATUS_NEW_SELECT, BUILD_STATUS_NOTHING_TO_DO, BUILD_STATUS_UPDATE, buildStatus, identifiers, sqlSyntaxError
appearanceModifiablePool, appellation, buildDone, confirmationMatter, contextInfo, dependencies, infoMatter, isToRenew, popupBuilders, presentMessageInDialogIfRepeated, remoteContents, remoteContentsExceptionallyToSetValues, sessionData
Constructor and Description |
---|
DataSelectDialog(SessionData sessionData,
DataObject contentDataObject,
java.lang.String frameTitle) |
Modifier and Type | Method and Description |
---|---|
void |
buildRemoteView(ToAppletWriter out)
Build remote view.
|
protected void |
buildRemoteViewNewContent(ToAppletWriter out) |
protected HalfDataComboBox |
createComboBox(java.lang.String label,
DataObject sourceDataObject,
java.lang.String visibleColumn) |
protected MustTextField |
createTextField(java.lang.String label,
int length)
Creates a new text field.
|
void |
fetchValuesFromRequest(GeneralizedRequest request) |
protected abstract int |
getNbrOfRowsPerHostContact()
Specifies the number of rows that should be listed by one host contact.
|
protected abstract java.lang.String |
getOrderByFields()
Returns the fields to be used for the order by clause, separated by comma
as usual in SQL statements.
|
protected abstract java.lang.String |
getRowString()
Returns the laid-out row of the list with the overview information, which
allows the user to identify the entry.
|
protected Identifier |
getSelectedIdentifier() |
protected java.lang.String |
getSelectionFields()
Returns the fields to be selected, separated by comma as usual in SQL statements.
|
protected abstract java.lang.String |
getWhereCondition()
Returns the where condition for the select statement to process the inquiry.
|
protected abstract boolean |
isSelectionAccepted() |
protected void |
newPanel() |
protected void |
newPanel(java.lang.String tabLabel)
Creates a new panel with an attribute list and adds it to the tabbed pane.
|
void |
process(GeneralizedRequest request) |
protected void |
processCancel()
Override this to process additional stuff after user canceled selection.
|
protected abstract void |
processSelection()
Process selection consequences.
|
void |
setFurtherRowAvailable(boolean furtherRowAvailable,
ToAppletWriter out) |
getSelectedIdentifiers
addDependency, addDependency, associateDefaultButtonToInputField, destroy, free, getAppellation, getAppResStr, getConcerning, getContextInfo, getElementID, getInstance, getMessageSetSize, getTabId, getTabLabel, getTranslation, hasVeto, isVisible, register, register, registerRemotable, setAppellation, setElementID, setMessage, setMessageToKeep, setMessageToKeep, setMessageToKeep, setMessageToKeep, setMessageToKeep, setSoundToPlay, setTitle, setToolTipText, setToRenewToTrue, setVisible
protected DataObject contentDataObject
protected TabButtonGroup tabButtonGroup
protected AttributeList currentAttributeList
public DataSelectDialog(SessionData sessionData, DataObject contentDataObject, java.lang.String frameTitle)
protected void newPanel(java.lang.String tabLabel)
tabLabel
- the label of the new tablineCapacity
- the number of rows of the attribute list to be createdAttributeList
protected void newPanel()
protected MustTextField createTextField(java.lang.String label, int length)
label
- the line labellength
- the length of the text fieldprotected HalfDataComboBox createComboBox(java.lang.String label, DataObject sourceDataObject, java.lang.String visibleColumn)
public void fetchValuesFromRequest(GeneralizedRequest request)
fetchValuesFromRequest
in interface Remotable
fetchValuesFromRequest
in class ListRemoteUserInterface
public void buildRemoteView(ToAppletWriter out)
AppletTalker
buildRemoteView
in interface AppletTalker
buildRemoteView
in class RemoteUserInterface
out
- the writer which will be read by the appletprotected java.lang.String getSelectionFields()
return DbField1, DbField2, DbField3;
protected abstract java.lang.String getWhereCondition()
return "DbFieldName like '%" + UIfield.getText() + "%'";
protected abstract java.lang.String getOrderByFields()
protected abstract int getNbrOfRowsPerHostContact()
protected abstract java.lang.String getRowString()
protected void buildRemoteViewNewContent(ToAppletWriter out)
public void setFurtherRowAvailable(boolean furtherRowAvailable, ToAppletWriter out)
public void process(GeneralizedRequest request)
protected abstract boolean isSelectionAccepted()
protected abstract void processSelection()
protected void processCancel()
protected Identifier getSelectedIdentifier()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de