public interface MasterDetailHandler
MasterDetailComponent
s or a
Formular
and a MasterDetailComponent
.MasterDetail.setHandler(MasterDetailHandler)
,
MasterDetailComponent
Modifier and Type | Field and Description |
---|---|
static Object |
OFFLINE
Client property used to turn off auto-synchronization with the datasource
formular.putClientProperty(OFFLINE,Boolean.TRUE); |
Modifier and Type | Method and Description |
---|---|
void |
connect(MasterDetailComponent master,
Formular detail)
Connects a
MasterDetailComponent with a Formular , meaning the
formular (detail ) is filled with the current selected record
( VirtualTable.VirtualTableRow ) of the master . |
void |
connect(MasterDetailComponent master,
MasterDetailComponent detail)
Connects two
MasterDetailComponent s. |
static final Object OFFLINE
formular.putClientProperty(OFFLINE,Boolean.TRUE);
void connect(MasterDetailComponent master, MasterDetailComponent detail) throws MasterDetailException
MasterDetailComponent
s.
The detail is filled with the appropriate records depending on the master's selection.
The maching master is selected if the detail's selection changes.
master
- the component which operates as masterdetail
- the component which operates as detail viewMasterDetailException
- if necessary properties like the linked VirtualTable
are not set or insufficient entity relation information is
availablevoid connect(MasterDetailComponent master, Formular detail) throws MasterDetailException
MasterDetailComponent
with a Formular
, meaning the
formular (detail
) is filled with the current selected record
( VirtualTable.VirtualTableRow
) of the master
.master
- the component which operates as masterdetail
- the Formular
which operates as detail viewMasterDetailException
- if necessary properties like the linked VirtualTable
are not set or insufficient entity relation information is
availableCopyright © 2003–2021 XDEV Software. All rights reserved.