Package org.openpnp.gui.support
Class MutableLocationProxy
- java.lang.Object
-
- org.openpnp.model.AbstractModelObject
-
- org.openpnp.gui.support.MutableLocationProxy
-
public class MutableLocationProxy extends AbstractModelObject
A proxy class that allows bindings to mutate a Location field by field by replacing the bound Location whenever a field is changed.
-
-
Field Summary
-
Fields inherited from class org.openpnp.model.AbstractModelObject
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description MutableLocationProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LengthgetLengthX()LengthgetLengthY()LengthgetLengthZ()LocationgetLocation()java.lang.DoublegetRotation()voidsetLengthX(Length l)voidsetLengthY(Length l)voidsetLengthZ(Length l)voidsetLocation(Location location)voidsetRotation(java.lang.Double rotation)-
Methods inherited from class org.openpnp.model.AbstractModelObject
addPropertyChangeListener, addPropertyChangeListener, dispose, dumpListeners, fireIndexedPropertyChange, firePropertyChange, isListener, isListener, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Method Detail
-
getLocation
public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getLengthX
public Length getLengthX()
-
setLengthX
public void setLengthX(Length l)
-
getLengthY
public Length getLengthY()
-
setLengthY
public void setLengthY(Length l)
-
getLengthZ
public Length getLengthZ()
-
setLengthZ
public void setLengthZ(Length l)
-
getRotation
public java.lang.Double getRotation()
-
setRotation
public void setRotation(java.lang.Double rotation)
-
-