|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
org.compiere.framework.Lookup
org.compiere.model.MLocationLookup
public final class MLocationLookup
Address Loaction Lookup Model.
| Field Summary |
|---|
| Fields inherited from class org.compiere.framework.Lookup |
|---|
log, m_WindowNo, p_data |
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
MLocationLookup(Ctx ctx,
int WindowNo)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
containsKey(Object key)
The Lookup contains the key |
NamePair |
get(Object value)
Get Object of Key Value |
String |
getColumnName()
Get underlying fully qualified Table.Column Name. |
ArrayList<NamePair> |
getData(boolean mandatory,
boolean onlyValidated,
boolean onlyActive,
boolean temporary)
Return data as sorted Array - not implemented |
String |
getDisplay(Object value)
Get Display for Value (not cached) |
MLocation |
getLocation(int C_Location_ID,
String trxName)
Get Location |
MLocation |
getLocation(Object key,
String trxName)
Get Location |
| Methods inherited from class org.compiere.framework.Lookup |
|---|
addElement, addElement, disableValidation, dispose, fillComboBox, fillComboBox, getCtx, getDirect, getDisplayType, getElementAt, getIndexOf, getSelectedItem, getSize, getValidation, getWindowNo, getZoomQuery, getZoomWindow, getZoomWindow, hasInactive, insertElementAt, insertElementAt, isValidated, isValidationDisabled, loadComplete, put, put, refresh, removeAllElements, removeElement, removeElementAt, setContext, setDisplayType, setSelectedItem, setSelectedItemAlways, toString |
| 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, wait, wait, wait |
| Methods inherited from interface javax.swing.ListModel |
|---|
addListDataListener, removeListDataListener |
| Constructor Detail |
|---|
public MLocationLookup(Ctx ctx,
int WindowNo)
ctx - contextWindowNo - window no (to derive AD_Client/Org for new records)| Method Detail |
|---|
public String getDisplay(Object value)
getDisplay in class Lookupvalue - Location_ID
public NamePair get(Object value)
get in class Lookupvalue - value
public boolean containsKey(Object key)
containsKey in class Lookupkey - Location_ID
public MLocation getLocation(Object key,
String trxName)
key - ID as string or integertrxName - transaction
public MLocation getLocation(int C_Location_ID,
String trxName)
C_Location_ID - idtrxName - transaction
public String getColumnName()
getColumnName in class Lookup
public ArrayList<NamePair> getData(boolean mandatory,
boolean onlyValidated,
boolean onlyActive,
boolean temporary)
getData in class Lookupmandatory - mandatoryonlyValidated - only validatedonlyActive - only activetemporary - force load for temporary display
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||