Package org.brerp.base.model
Class MTaxesLookup
- All Implemented Interfaces:
Serializable,ComboBoxModel<Object>,ListModel<Object>,MutableComboBoxModel<Object>
Product Attribute Lookup Model (not Cached)
- Version:
- $Id: MPAttributeLookup.java,v 1.2 2006/07/30 00:58:38 jjanke Exp $
- Author:
- Jorg Janke, Teo Sarca, SC ARHIPAC SERVICE SRL
- BF [ 1885260 ] MPAttributeLookup: throws SQLException sometimes
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(Object key) The Lookup contains the key (not cached)booleanThe Lookup contains the key (do not check the direct lookup list)voiddispose()DisposeGet 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)Methods inherited from class org.compiere.model.Lookup
addElement, 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, setShortListMethods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.ListModel
addListDataListener, removeListDataListener
-
Constructor Details
-
MTaxesLookup
Constructor- Parameters:
ctx- contextWindowNo- window no
-
-
Method Details
-
getDisplay
Get Display for Value (not cached)- Specified by:
getDisplayin classLookup- Parameters:
value- Location_ID- Returns:
- String Value
-
containsKey
The Lookup contains the key (not cached)- Specified by:
containsKeyin classLookup- Parameters:
key- Location_ID- Returns:
- true if key known
-
get
Get Object of Key Value -
dispose
public void dispose()Dispose -
getData
public ArrayList<Object> getData(boolean mandatory, boolean onlyValidated, boolean onlyActive, boolean temporary, boolean shortlist) Return data as sorted Array - not implemented -
getColumnName
Get underlying fully qualified Table.Column Name. Used for VLookup.actionButton (Zoom)- Specified by:
getColumnNamein classLookup- Returns:
- column name
-
containsKeyNoDirect
Description copied from class:LookupThe Lookup contains the key (do not check the direct lookup list)- Specified by:
containsKeyNoDirectin classLookup- Parameters:
key- key- Returns:
- true if contains key
-