Package org.compiere.util
Class DefaultEvaluatee
java.lang.Object
org.compiere.util.DefaultEvaluatee
- All Implemented Interfaces:
Evaluatee
Default
Evaluatee
implementation- Author:
- hengsin
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Data provider interfacestatic class
Data provider implementation for GridTabstatic class
Data provider implementation for PO -
Constructor Summary
ConstructorDescriptionDefault constructorDefaultEvaluatee
(GridTab gridTab, int windowNo, int tabNo) DefaultEvaluatee
(GridTab gridTab, int windowNo, int tabNo, boolean onlyWindow) DefaultEvaluatee
(GridTab gridTab, int windowNo, int tabNo, boolean onlyTab, boolean onlyWindow) DefaultEvaluatee
(PO po) DefaultEvaluatee
(DefaultEvaluatee.DataProvider dataProvider) -
Method Summary
Modifier and TypeMethodDescriptionget_ValueAsString
(String variableName) Get Variable Valueget_ValueAsString
(Properties ctx, String variableName) Get Variable Value (Evaluatee)getPO()
Get wrapped POboolean
Is using column display format for date data valueboolean
Is using message translation for boolean data valuevoid
setTrxName
(String trxName) void
setUseColumnDateFormat
(boolean useColumnDateFormat) Set the use of column display format for date data valuevoid
setUseMsgForBoolean
(boolean useMsgForBoolean) Set the use of message translation for boolean data value
-
Constructor Details
-
DefaultEvaluatee
- Parameters:
gridTab
-windowNo
-tabNo
-
-
DefaultEvaluatee
- Parameters:
gridTab
-windowNo
-tabNo
-onlyWindow
-
-
DefaultEvaluatee
public DefaultEvaluatee(GridTab gridTab, int windowNo, int tabNo, boolean onlyTab, boolean onlyWindow) - Parameters:
gridTab
-windowNo
-tabNo
-onlyTab
-onlyWindow
-
-
DefaultEvaluatee
- Parameters:
po
-
-
DefaultEvaluatee
- Parameters:
dataProvider
-
-
DefaultEvaluatee
public DefaultEvaluatee()Default constructor
-
-
Method Details
-
setTrxName
-
get_ValueAsString
Description copied from interface:Evaluatee
Get Variable Value- Specified by:
get_ValueAsString
in interfaceEvaluatee
- Parameters:
variableName
- name- Returns:
- value
-
get_ValueAsString
Get Variable Value (Evaluatee)- Parameters:
ctx
-variableName
- name- Returns:
- value
-
isUseMsgForBoolean
public boolean isUseMsgForBoolean()Is using message translation for boolean data value- Returns:
- true if using message translation for boolean data value
-
setUseMsgForBoolean
public void setUseMsgForBoolean(boolean useMsgForBoolean) Set the use of message translation for boolean data value- Parameters:
useMsgForBoolean
-
-
isUseColumnDateFormat
public boolean isUseColumnDateFormat()Is using column display format for date data value- Returns:
- true if using column display format for date data value
-
setUseColumnDateFormat
public void setUseColumnDateFormat(boolean useColumnDateFormat) Set the use of column display format for date data value- Parameters:
useColumnDateFormat
-
-
getPO
Get wrapped PO- Returns:
- wrapped PO or null
-