Search in sources :

Example 1 with TrpCoordsChangedEvent

use of eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent in project TranskribusCore by Transkribus.

the class TrpTableCellType method setRow.

@Override
public void setRow(int value) {
    super.setRow(value);
    observable.setChangedAndNotifyObservers(new TrpCoordsChangedEvent(this));
}
Also used : TrpCoordsChangedEvent(eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent)

Example 2 with TrpCoordsChangedEvent

use of eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent in project TranskribusCore by Transkribus.

the class TrpTableCellType method setCornerPts.

public void setCornerPts(String value, Object who) {
    // getCoords().setCornerPts(value);
    setCornerPts(value);
    observable.setChangedAndNotifyObservers(new TrpCoordsChangedEvent(who));
}
Also used : TrpCoordsChangedEvent(eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent)

Example 3 with TrpCoordsChangedEvent

use of eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent in project TranskribusCore by Transkribus.

the class TrpTableCellType method setRowSpan.

@Override
public void setRowSpan(Integer value) {
    super.setRowSpan(value);
    observable.setChangedAndNotifyObservers(new TrpCoordsChangedEvent(this));
}
Also used : TrpCoordsChangedEvent(eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent)

Example 4 with TrpCoordsChangedEvent

use of eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent in project TranskribusCore by Transkribus.

the class TrpTextLineType method setCoordinates.

@Override
public void setCoordinates(String value, Object who) {
    CoordsType coords = new CoordsType();
    coords.setPoints(value);
    setCoords(coords);
    observable.setChangedAndNotifyObservers(new TrpCoordsChangedEvent(who));
}
Also used : CoordsType(eu.transkribus.core.model.beans.pagecontent.CoordsType) TrpCoordsChangedEvent(eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent)

Example 5 with TrpCoordsChangedEvent

use of eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent in project TranskribusCore by Transkribus.

the class TrpWordType method setCoordinates.

@Override
public void setCoordinates(String value, Object who) {
    CoordsType coords = new CoordsType();
    coords.setPoints(value);
    setCoords(coords);
    observable.setChangedAndNotifyObservers(new TrpCoordsChangedEvent(who));
}
Also used : CoordsType(eu.transkribus.core.model.beans.pagecontent.CoordsType) TrpCoordsChangedEvent(eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent)

Aggregations

TrpCoordsChangedEvent (eu.transkribus.core.model.beans.pagecontent_trp.observable.TrpObserveEvent.TrpCoordsChangedEvent)11 CoordsType (eu.transkribus.core.model.beans.pagecontent.CoordsType)5