com.mercury.ftjadin.infra.abstr
Interface WrapperInspector
- All Known Subinterfaces:
- RecordWrapper
public interface WrapperInspector
The WrapperInspector interface defines the method called to check
whether a specific object is wrapped.
For example, if checkWrappedObject
is called on a
javax.swing.JTextField
object in a combo box, the method returns
the text box's containing javax.swing.JComboBox
object.
Method Summary | |
---|---|
java.lang.Object | checkWrappedObject(java.lang.Object innerObj) Returns the wrapper object for the specified object. |
Method Detail |
---|
checkWrappedObject
java.lang.Object checkWrappedObject(java.lang.Object innerObj)
- Returns the wrapper object for the specified object. This method should be implemented by support classes of wrapper objects and other classes that need to check whether they wrap a specific object. A support class implementing this method generally returns the wrapper object it supports.
- Parameters:
innerObj
- The object to check.- Returns:
- The compound wrapper object. If not found, returns null.