public abstract class AbstractModel
extends java.lang.Object
implements javax.swing.ComboBoxModel
Constructor and Description |
---|
AbstractModel(FormElementI _formElement,
java.lang.String _property) |
AbstractModel(FormElementI _formElement,
java.lang.String _property,
java.lang.String _sortBy) |
AbstractModel(FormElementI _formElement,
java.lang.String _property,
java.lang.String _sortBy,
java.lang.String _autoSelect) |
AbstractModel(FormElementI _formElement,
java.lang.String _property,
java.lang.String _sortBy,
java.lang.String _autoSelect,
boolean _nullable) |
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(javax.swing.event.ListDataListener _ldl) |
void |
close() |
java.lang.Object |
comboBoxValueToSchemaValue(java.lang.Object _entry) |
void |
fireContentsChanged() |
java.lang.String |
getAutoSelect() |
java.lang.Object |
getElementAt(int _idx) |
java.lang.Object |
getFirstNonNull()
Returns the first Object that is not null
|
FormElementI |
getFormElement() |
FormContextI |
getFtx() |
java.lang.String |
getProperty() |
java.lang.Object |
getSelectedItem() |
int |
getSize() |
java.lang.String |
getSortBy() |
boolean |
isClosed() |
boolean |
isNullable() |
void |
refresh() |
void |
refresh(int _from) |
void |
refreshView() |
void |
removeListDataListener(javax.swing.event.ListDataListener _ldl) |
java.lang.Object |
schemaValueToComboBoxValue(java.lang.Object _obj) |
void |
setAutoSelect(java.lang.String $13) |
void |
setFormElement(FormElementI $15) |
void |
setFtx(FormContextI $16) |
void |
setNullable(boolean $14) |
void |
setProperty(java.lang.String $11) |
void |
setSelectedItem(java.lang.Object _entry) |
void |
setSortBy(java.lang.String $12) |
public AbstractModel(FormElementI _formElement, java.lang.String _property)
public AbstractModel(FormElementI _formElement, java.lang.String _property, java.lang.String _sortBy)
public AbstractModel(FormElementI _formElement, java.lang.String _property, java.lang.String _sortBy, java.lang.String _autoSelect)
public AbstractModel(FormElementI _formElement, java.lang.String _property, java.lang.String _sortBy, java.lang.String _autoSelect, boolean _nullable)
public void close()
public boolean isClosed()
public java.lang.Object getElementAt(int _idx)
getElementAt
in interface javax.swing.ListModel
public int getSize()
getSize
in interface javax.swing.ListModel
public void addListDataListener(javax.swing.event.ListDataListener _ldl)
addListDataListener
in interface javax.swing.ListModel
public void removeListDataListener(javax.swing.event.ListDataListener _ldl)
removeListDataListener
in interface javax.swing.ListModel
public java.lang.Object getSelectedItem()
getSelectedItem
in interface javax.swing.ComboBoxModel
public java.lang.Object schemaValueToComboBoxValue(java.lang.Object _obj)
public void setSelectedItem(java.lang.Object _entry)
setSelectedItem
in interface javax.swing.ComboBoxModel
public java.lang.Object comboBoxValueToSchemaValue(java.lang.Object _entry)
public void refresh()
public void refresh(int _from)
public void refreshView()
public void fireContentsChanged()
public java.lang.Object getFirstNonNull()
java.lang.IllegalStateException
- if only null is available as elementpublic java.lang.String getProperty()
public void setProperty(java.lang.String $11)
public java.lang.String getSortBy()
public void setSortBy(java.lang.String $12)
public java.lang.String getAutoSelect()
public void setAutoSelect(java.lang.String $13)
public boolean isNullable()
public void setNullable(boolean $14)
public FormElementI getFormElement()
public void setFormElement(FormElementI $15)
public FormContextI getFtx()
public void setFtx(FormContextI $16)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.