Class MLookupApontamentoPeso

java.lang.Object
javax.swing.AbstractListModel<Object>
org.compiere.model.Lookup
org.brerp.tms.base.model.MLookupApontamentoPeso
All Implemented Interfaces:
Serializable, ComboBoxModel<Object>, ListModel<Object>, MutableComboBoxModel<Object>

public class MLookupApontamentoPeso extends Lookup
See Also:
  • Constructor Details

    • MLookupApontamentoPeso

      public MLookupApontamentoPeso(Properties ctx, int WindowNo)
  • Method Details

    • getDisplay

      public String getDisplay(Object value)
      Get Display for Value (not cached)
      Specified by:
      getDisplay in class Lookup
      Parameters:
      value - Location_ID
      Returns:
      String Value
    • get

      public NamePair get(Object value)
      Get Object of Key Value
      Specified by:
      get in class Lookup
      Parameters:
      value - value
      Returns:
      Object or null
    • containsKey

      public boolean containsKey(Object key)
      The Lookup contains the key
      Specified by:
      containsKey in class Lookup
      Parameters:
      key - Location_ID
      Returns:
      true if key known
    • getPesagem

      public MCOFPesagem getPesagem(Object key, String trxName)
      Get Tax
      Parameters:
      key - ID as string or integer
      trxName - transaction
      Returns:
      X_LBR_Tax
    • getPesagem

      public MCOFPesagem getPesagem(int pesagemID, String trxName)
      Get Tax
      Parameters:
      LBR_Tax_ID - id
      trxName - transaction
      Returns:
      X_LBR_Tax
    • getColumnName

      public String getColumnName()
      Get underlying fully qualified Table.Column Name. Used for VLookup.actionButton (Zoom)
      Specified by:
      getColumnName in class Lookup
      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
      Specified by:
      getData in class Lookup
      Parameters:
      mandatory - mandatory
      onlyValidated - only validated
      onlyActive - only active
      temporary - force load for temporary display
      Returns:
      null
    • containsKeyNoDirect

      public boolean containsKeyNoDirect(Object key)
      Description copied from class: Lookup
      The Lookup contains the key (do not check the direct lookup list)
      Specified by:
      containsKeyNoDirect in class Lookup
      Parameters:
      key - key
      Returns:
      true if contains key