Package org.compiere.model
Class MPaymentLookup
- All Implemented Interfaces:
Serializable
,ComboBoxModel<Object>
,ListModel<Object>
,MutableComboBoxModel<Object>
Payment rules lookup
- Author:
- Elaine
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(Object key) The Lookup contains the keyboolean
Same ascontainsKey(Object)
in this lookup implementation.GetNamePair
of Key ValueGet underlying fully qualified Table.Column Name.getData
(boolean mandatory, boolean onlyValidated, boolean onlyActive, boolean temporary, boolean shortlist) Load Data (Value/KeyNamePair) from DB.getDisplay
(Object key) Get Display Text of Key ValueGet dynamic Validation SQL (none)int
refresh()
Refresh Values - default implementationMethods inherited from class org.compiere.model.Lookup
addElement, dispose, fillComboBox, fillComboBox, getDirect, getDirect, getDirect, getDisplayType, getElementAt, getIndexOf, getSelectedItem, getSize, getWindowNo, getZoom, getZoom, getZoom, getZoomQuery, hasInactive, insertElementAt, isLoaded, isMandatory, isShortList, isValidated, loadComplete, put, put, removeAllElements, removeElement, removeElementAt, setMandatory, setSelectedItem, setShortList
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 Details
-
MPaymentLookup
- Parameters:
ctx
-windowNo
-validationCode
-
-
-
Method Details
-
getDisplay
Description copied from class:Lookup
Get Display Text of Key Value- Specified by:
getDisplay
in classLookup
- Parameters:
key
- key value- Returns:
- Display Text
-
get
Description copied from class:Lookup
GetNamePair
of Key Value -
containsKey
Description copied from class:Lookup
The Lookup contains the key- Specified by:
containsKey
in classLookup
- Parameters:
key
- key- Returns:
- true if contains key
-
containsKeyNoDirect
Same ascontainsKey(Object)
in this lookup implementation.- Specified by:
containsKeyNoDirect
in classLookup
- Parameters:
key
- key- Returns:
- true if contains key
-
getColumnName
Description copied from class:Lookup
Get underlying fully qualified Table.Column Name.- Specified by:
getColumnName
in classLookup
- Returns:
- column name
-
getValidation
Description copied from class:Lookup
Get dynamic Validation SQL (none)- Overrides:
getValidation
in classLookup
- Returns:
- validation SQL
-
getData
public ArrayList<Object> getData(boolean mandatory, boolean onlyValidated, boolean onlyActive, boolean temporary, boolean shortlist) Description copied from class:Lookup
Load Data (Value/KeyNamePair) from DB. -
refresh
public int refresh()Description copied from class:Lookup
Refresh Values - default implementation
-