Search in sources :

Example 6 with TrpCoordsChangedEvent

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

the class TrpPrintSpaceType 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 7 with TrpCoordsChangedEvent

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

the class TrpTableCellType method setColSpan.

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

Example 8 with TrpCoordsChangedEvent

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

the class TrpTableCellType 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 9 with TrpCoordsChangedEvent

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

the class TrpTableCellType method setCol.

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

Example 10 with TrpCoordsChangedEvent

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

the class TrpRegionType 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