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 void
clear()
Object
clone()
boolean
contains(Object value)
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Enumeration<Object>
elements()
Set<Map.Entry<Object,Object>>
entrySet()
Object
get(Object key)
String
get_ValueAsString(String variableName)
Get Variable ValueString
getProperty(String key)
boolean
isEmpty()
Enumeration<Object>
keys()
Set<Object>
keySet()
Object
put(Object key, Object value)
void
putAll(Map<? extends Object,? extends Object> t)
Object
remove(Object key)
int
size()
String
toString()
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:
clone
in classProperties
-
contains
public boolean contains(Object value)
- Overrides:
contains
in classProperties
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<Object,Object>
- Overrides:
containsKey
in classProperties
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<Object,Object>
- Overrides:
containsValue
in classProperties
-
elements
public Enumeration<Object> elements()
- Overrides:
elements
in classProperties
-
isEmpty
public boolean isEmpty()
-
keys
public Enumeration<Object> keys()
- Overrides:
keys
in classProperties
-
size
public int size()
-
toString
public String toString()
- Overrides:
toString
in classProperties
-
values
public Collection<Object> values()
-
getProperty
public String getProperty(String key)
- Overrides:
getProperty
in classProperties
-
get_ValueAsString
public String get_ValueAsString(String variableName)
Description copied from interface:Evaluatee
Get Variable Value- Specified by:
get_ValueAsString
in interfaceEvaluatee
- Parameters:
variableName
- name- Returns:
- value
-
-