|
Servoy 5.x Public API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IServoyAwareBean
Interface to be used by beans to make them aware of Servoy. If you implement this interface you will get the selected record of the foundset.
If this bean is used in a List like TableView or ListView then setSelectedRecord will be called more often. And the given record doesnt have to be the selected record of the foundset but is then the record where the bean should render it self with.
if you also want to be notified on visibility changes.| Method Summary | |
|---|---|
void |
initialize(IClientPluginAccess access)
Initializes the bean. |
void |
setSelectedRecord(IRecord record)
Applies the record, currently selected record for editing or the record to render itself with, to the bean. |
| Methods inherited from interface com.servoy.j2db.dataprocessing.IDisplay |
|---|
isEnabled, isReadOnly, setValidationEnabled, stopUIEditing |
| Method Detail |
|---|
void initialize(IClientPluginAccess access)
IServoyBeanFactory.getBeanInstance(int, IClientPluginAccess, Object[])
you have to call initialize yourself then.
access - object that gives plugins access to parts of Servoy.void setSelectedRecord(IRecord record)
record - the record for which the bean should render itself with.
|
Copyright © 2010 Servoy B.V. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||