Package org.brerp.base.model
Class MLBRTaxesLookup
java.lang.Object
javax.swing.AbstractListModel<Object>
org.compiere.model.Lookup
org.brerp.base.model.MLBRTaxesLookup
- All Implemented Interfaces:
Serializable
,ComboBoxModel<Object>
,ListModel<Object>
,MutableComboBoxModel<Object>
Taxes Lookup
- Version:
- $Id: MLBRTaxesLookup.java, v1.0 2007/11/14 13:48:41 AM, mgrigioni Exp $
- Author:
- Mario Grigioni (Kenos, www.kenos.com.br)
- 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
The Lookup contains the key (do not check the direct lookup list)Get Object of Key ValueGet underlying fully qualified Table.Column Name.getData
(boolean mandatory, boolean onlyValidated, boolean onlyActive, boolean temporary, boolean shortlist) Return data as sorted Array - not implementedgetDisplay
(Object value) Get Display for Value (not cached)Get TaxGet TaxMethods inherited from class org.compiere.model.Lookup
addElement, dispose, fillComboBox, fillComboBox, getDirect, getDirect, getDirect, getDisplayType, getElementAt, getIndexOf, getSelectedItem, getSize, getValidation, getWindowNo, getZoom, getZoom, getZoom, getZoomQuery, hasInactive, insertElementAt, isLoaded, isMandatory, isShortList, isValidated, loadComplete, put, put, refresh, 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
-
MLBRTaxesLookup
Constructor- Parameters:
ctx
- contextWindowNo
- window no (to derive AD_Client/Org for new records)
-
-
Method Details
-
getDisplay
Get Display for Value (not cached)- Specified by:
getDisplay
in classLookup
- Parameters:
value
- Location_ID- Returns:
- String Value
-
get
Get Object of Key Value -
containsKey
The Lookup contains the key- Specified by:
containsKey
in classLookup
- Parameters:
key
- Location_ID- Returns:
- true if key known
-
getTax
Get Tax- Parameters:
key
- ID as string or integertrxName
- transaction- Returns:
- X_LBR_Tax
-
getTax
Get Tax- Parameters:
LBR_Tax_ID
- idtrxName
- transaction- Returns:
- X_LBR_Tax
-
getColumnName
Get underlying fully qualified Table.Column Name. Used for VLookup.actionButton (Zoom)- Specified by:
getColumnName
in classLookup
- Returns:
- column name
-
getData
public ArrayList<Object> getData(boolean mandatory, boolean onlyValidated, boolean onlyActive, boolean temporary, boolean shortlist) Return data as sorted Array - not implemented -
containsKeyNoDirect
Description copied from class:Lookup
The Lookup contains the key (do not check the direct lookup list)- Specified by:
containsKeyNoDirect
in classLookup
- Parameters:
key
- key- Returns:
- true if contains key
-