Package com.macrofocus.transform
Class AbstractMutableOneDScreenTransform
- java.lang.Object
-
- com.macrofocus.transform.AbstractMutableOneDScreenTransform
-
- All Implemented Interfaces:
MutableOneDScreenTransform
,OneDScreenTransform
- Direct Known Subclasses:
ComplexOneDScreenTransform
,SimpleOneDScreenTransform
,ZoomingOneDScreenTransform
public abstract class AbstractMutableOneDScreenTransform extends java.lang.Object implements MutableOneDScreenTransform
This class provides a skeletal implementation of the MutableOneDScreenTransform interface to minimize the effort required to implement this interface.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMutableOneDScreenTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addScreenTransformListener(ScreenTransformListener listener)
void
addWeakScreenTransformListener(ScreenTransformListener listener)
protected void
notifyTransformChanged(ScreenTransformEvent event)
void
removeScreenTransformListener(ScreenTransformListener listener)
void
removeScreenTransformListeners()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.transform.MutableOneDScreenTransform
setScreenMargins, setScreenSize, setWorldInterval
-
Methods inherited from interface com.macrofocus.transform.OneDScreenTransform
getScreenSize, getWorldInterval, getWorldMax, getWorldMin, getWorldRange, isAffine, isWorldCoordinatesInverted, screenToWorld, worldToScreen, worldToScreenPrecise
-
-
-
-
Method Detail
-
addScreenTransformListener
public void addScreenTransformListener(ScreenTransformListener listener)
- Specified by:
addScreenTransformListener
in interfaceOneDScreenTransform
-
addWeakScreenTransformListener
public void addWeakScreenTransformListener(ScreenTransformListener listener)
- Specified by:
addWeakScreenTransformListener
in interfaceOneDScreenTransform
-
removeScreenTransformListener
public void removeScreenTransformListener(ScreenTransformListener listener)
- Specified by:
removeScreenTransformListener
in interfaceOneDScreenTransform
-
removeScreenTransformListeners
public void removeScreenTransformListeners()
- Specified by:
removeScreenTransformListeners
in interfaceOneDScreenTransform
-
notifyTransformChanged
protected void notifyTransformChanged(ScreenTransformEvent event)
-
-