Package org.openbravo.reference.ui
Class UIReference
- java.lang.Object
-
- org.openbravo.reference.ui.UIReference
-
- Direct Known Subclasses:
SelectorUIReference
,UIBinary
,UIButton
,UIColor
,UIDate
,UIGeneralQuantity
,UIID
,UIImage
,UIImageBLOB
,UILink
,UIList
,UINumber
,UIPrice
,UIRowID
,UIString
,UITable
,UITableDir
,UIYesNo
public class UIReference extends Object
Base implementation for UI objects
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
numeric
protected String
reference
protected String
subReference
-
Constructor Summary
Constructors Constructor Description UIReference(String reference, String subreference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeCached()
Indicates whether this reference is a cacheable combo Basically, this indicates whether the ComboTableData instances related to this class will be // cached and reused by the FormInitializationComponent or not.String
formatGridValue(VariablesSecureApp vars, String value)
This method is called to show the value in the grid, it is intended to format the value properlyboolean
isNumeric()
void
setComboTableDataIdentifier(ComboTableData comboTableData, String tableName, FieldProvider field)
-
-
-
Method Detail
-
formatGridValue
public String formatGridValue(VariablesSecureApp vars, String value)
This method is called to show the value in the grid, it is intended to format the value properly- Parameters:
vars
-
-
isNumeric
public boolean isNumeric()
-
setComboTableDataIdentifier
public void setComboTableDataIdentifier(ComboTableData comboTableData, String tableName, FieldProvider field) throws Exception
- Throws:
Exception
-
canBeCached
public boolean canBeCached()
Indicates whether this reference is a cacheable combo Basically, this indicates whether the ComboTableData instances related to this class will be // cached and reused by the FormInitializationComponent or not. // For them to be cached, it's very important that the Combo values themselves only depend on the // parameter values the combo uses; that is, that they do not depend on things like session // variables, ...
-
-