Package org.adempiere.util
Class GridRowCtx
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.adempiere.util.GridRowCtx
-
public class GridRowCtx extends Properties implements Evaluatee
Context (Properties) wrapper to be able to evaluate grid row context- Author:
- Teo Sarca, teo.sarca@gmail.com
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description GridRowCtx(Properties ctx, GridTab tab)GridRowCtx(Properties ctx, GridTab tab, int row)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Objectclone()booleancontains(Object value)booleancontainsKey(Object key)booleancontainsValue(Object value)Enumeration<Object>elements()Set<Map.Entry<Object,Object>>entrySet()Objectget(Object key)Stringget_ValueAsString(String variableName)Get Variable ValueStringgetProperty(String key)booleanisEmpty()Enumeration<Object>keys()Set<Object>keySet()Objectput(Object key, Object value)voidputAll(Map<? extends Object,? extends Object> t)Objectremove(Object key)intsize()StringtoString()Collection<Object>values()-
Methods inherited from class java.util.Properties
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, getProperty, hashCode, list, list, load, load, loadFromXML, merge, propertyNames, putIfAbsent, rehash, remove, replace, replace, replaceAll, save, setProperty, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
-
-
-
-
Constructor Detail
-
GridRowCtx
public GridRowCtx(Properties ctx, GridTab tab)
-
GridRowCtx
public GridRowCtx(Properties ctx, GridTab tab, int row)
-
-
Method Detail
-
clear
public void clear()
-
clone
public Object clone()
- Overrides:
clonein classProperties
-
contains
public boolean contains(Object value)
- Overrides:
containsin classProperties
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<Object,Object>- Overrides:
containsKeyin classProperties
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<Object,Object>- Overrides:
containsValuein classProperties
-
elements
public Enumeration<Object> elements()
- Overrides:
elementsin classProperties
-
isEmpty
public boolean isEmpty()
-
keys
public Enumeration<Object> keys()
- Overrides:
keysin classProperties
-
size
public int size()
-
toString
public String toString()
- Overrides:
toStringin classProperties
-
values
public Collection<Object> values()
-
getProperty
public String getProperty(String key)
- Overrides:
getPropertyin classProperties
-
get_ValueAsString
public String get_ValueAsString(String variableName)
Description copied from interface:EvaluateeGet Variable Value- Specified by:
get_ValueAsStringin interfaceEvaluatee- Parameters:
variableName- name- Returns:
- value
-
-