Package org.compiere.model
Class MPaymentLookup
- java.lang.Object
-
- javax.swing.AbstractListModel<Object>
-
- org.compiere.model.Lookup
-
- org.compiere.model.MPaymentLookup
-
- All Implemented Interfaces:
Serializable,ComboBoxModel<Object>,ListModel<Object>,MutableComboBoxModel<Object>
public class MPaymentLookup extends Lookup implements Serializable
- Author:
- Elaine
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.AbstractListModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description MPaymentLookup(Properties ctx, int windowNo, String validationCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsKey(Object key)The Lookup contains the keybooleancontainsKeyNoDirect(Object key)The Lookup contains the key, do not push directNamePairget(Object key)Get Object of Key ValueStringgetColumnName()Get underlying fully qualified Table.Column Name.ArrayList<Object>getData(boolean mandatory, boolean onlyValidated, boolean onlyActive, boolean temporary, boolean shortlist)Fill ComboBox with Data (Value/KeyNamePair)StringgetDisplay(Object key)Get Display of Key ValueStringgetValidation()Get dynamic Validation SQL (none)intrefresh()Refresh Values - default implementation-
Methods 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 Detail
-
MPaymentLookup
public MPaymentLookup(Properties ctx, int windowNo, String validationCode)
-
-
Method Detail
-
getDisplay
public String getDisplay(Object key)
Description copied from class:LookupGet Display of Key Value- Specified by:
getDisplayin classLookup- Parameters:
key- key- Returns:
- String
-
containsKey
public boolean containsKey(Object key)
Description copied from class:LookupThe Lookup contains the key- Specified by:
containsKeyin classLookup- Parameters:
key- key- Returns:
- true if contains key
-
containsKeyNoDirect
public boolean containsKeyNoDirect(Object key)
Description copied from class:LookupThe Lookup contains the key, do not push direct- Specified by:
containsKeyNoDirectin classLookup- Parameters:
key- key- Returns:
- true if contains key
-
getColumnName
public String getColumnName()
Description copied from class:LookupGet underlying fully qualified Table.Column Name. Used for VLookup.actionButton (Zoom)- Specified by:
getColumnNamein classLookup- Returns:
- column name
-
getValidation
public String getValidation()
Description copied from class:LookupGet dynamic Validation SQL (none)- Overrides:
getValidationin classLookup- Returns:
- validation
-
getData
public ArrayList<Object> getData(boolean mandatory, boolean onlyValidated, boolean onlyActive, boolean temporary, boolean shortlist)
Description copied from class:LookupFill ComboBox with Data (Value/KeyNamePair)
-
-