java.util.EventListener
, MOTableRowListener<BaseRow>
protected class MOTableRelation.RelationShipListener extends java.lang.Object implements MOTableRowListener<BaseRow>
Modifier | Constructor | Description |
---|---|---|
protected |
RelationShipListener() |
Modifier and Type | Method | Description |
---|---|---|
MOTable<DependentRow,? extends MOColumn,? extends MOTableModel<DependentRow>> |
getDependentTable() |
|
void |
rowChanged(MOTableRowEvent<BaseRow> event) |
A column or a complete row is changed/has been changed.
|
public void rowChanged(MOTableRowEvent<BaseRow> event)
MOTableRowListener
rowChanged
in interface MOTableRowListener<BaseRow extends MOTableRow>
event
- a MOTableRowEvent
describing the event. To veto the event
the MOTableRowEvent.setVetoStatus(int)
and optionally also the
MOTableRowEvent.setVetoColumn(int)
can be called.
If MOTableRowEvent.getNumberOfConsecutiveEventsOfSameOrigin()
is greater than zero you need to
set MOTableRowEvent.setSendNextEventsOfSameOrigin(boolean)
to true
in order to receive those
consecutive events too. Otherwise they will be ignored and not been propagated to this listener.public MOTable<DependentRow,? extends MOColumn,? extends MOTableModel<DependentRow>> getDependentTable()
Copyright © 2018 SNMP4J.org. All rights reserved.