com.irisel.oms.guiom.interfaces
Interface ComponentFactory
- All Known Implementing Classes:
- ComponentFactoryBase
public interface ComponentFactory
getComponent
java.awt.Component getComponent(ClassVO clsvo,
Instance instance,
int propId)
- It returns a JComponent object used as input control for a OMS Property.
The property is defined by its class (clsvo), and property id (propId).
- Parameters:
clsvo
- ClassVO objectinstance
- Instance object used to initialize the controlpropId
- Index of the property in the instance associated with this control
- Returns:
- JComponent
getComponent
java.awt.Component getComponent(ClassVO clsvo,
PropertyVO propvo,
java.lang.Object value)
getLabel
javax.swing.JLabel getLabel(ClassVO clsvo,
int propId)
getLabel
javax.swing.JLabel getLabel(ClassVO clsvo,
PropertyVO prop)
getTableCellComponent
java.awt.Component getTableCellComponent(ClassVO cvo,
Instance inst,
int col)
getComponentValue
java.lang.Object getComponentValue(java.awt.Component component)
setComponentValue
void setComponentValue(java.awt.Component component,
java.lang.Object value)