|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
org.compiere.model.Lookup
org.compiere.grid.XLookup
public class XLookup
Manual Lookup (Model)- loaded by the put method
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.Lookup |
|---|
log, p_data |
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
XLookup(String keyColumn)
Manual Lookup |
|
| Method Summary | |
|---|---|
boolean |
containsKey(Object key)
The Lookup contains the key |
NamePair |
get(Object key)
Get Object of Key Value |
String |
getColumnName()
Get underlying fully qualified Table.Column Name |
ArrayList<Object> |
getData(boolean mandatory,
boolean onlyValidated,
boolean onlyActive,
boolean temporary)
Return data as sorted Array |
String |
getDisplay(Object key)
Get Display String of key value |
int |
refresh()
Refresh Values (nop) |
| Methods inherited from class org.compiere.model.Lookup |
|---|
addElement, dispose, fillComboBox, fillComboBox, getDirect, getDisplayType, getElementAt, getIndexOf, getInfoFactoryClass, getSelectedItem, getSize, getValidation, getWindowNo, getZoom, getZoom, getZoomQuery, hasInactive, insertElementAt, isLoaded, isMandatory, isValidated, loadComplete, put, put, removeAllElements, removeElement, removeElementAt, setMandatory, setSelectedItem |
| Methods inherited from class javax.swing.AbstractListModel |
|---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.ListModel |
|---|
addListDataListener, removeListDataListener |
| Constructor Detail |
|---|
public XLookup(String keyColumn)
keyColumn - key Column| Method Detail |
|---|
public String getDisplay(Object key)
getDisplay in class Lookupkey - key
public boolean containsKey(Object key)
containsKey in class Lookupkey - key
public NamePair get(Object key)
get in class Lookupkey - key
public ArrayList<Object> getData(boolean mandatory,
boolean onlyValidated,
boolean onlyActive,
boolean temporary)
getData in class Lookupmandatory - mandatoryonlyValidated - only validatedonlyActive - only activetemporary - force load for temporary display
public int refresh()
refresh in class Lookuppublic String getColumnName()
getColumnName in class Lookup
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||