Class TextRect
- java.lang.Object
-
- com.inductiveautomation.rm.base.RMListenerList
-
- com.inductiveautomation.rm.base.RMObject
-
- com.inductiveautomation.snap.text.TextRect
-
- All Implemented Interfaces:
RMPropertyChanger
,java.lang.Cloneable
public class TextRect extends RMObject
A base class for text classes that have location and size.
-
-
Constructor Summary
Constructors Constructor Description TextRect()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getHeight()
Returns the height.double
getMaxX()
Returns the max X.double
getMaxY()
Returns the max Y.double
getWidth()
Returns the width.double
getX()
Returns the X location.double
getY()
Returns the Y location.void
setHeight(double aHeight)
Sets the height.void
setRect(double anX, double aY, double aWidth, double aHeight)
Sets the rect location and size.void
setSize(double aWidth, double aHeight)
Sets the rect size.void
setWidth(double aWidth)
Sets the width.void
setX(double anX)
Sets the X location.void
setY(double aY)
Sets the Y location.-
Methods inherited from class com.inductiveautomation.rm.base.RMObject
addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toString
-
Methods inherited from class com.inductiveautomation.rm.base.RMListenerList
addListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
-
-
-
-
Method Detail
-
getX
public double getX()
Returns the X location.
-
setX
public void setX(double anX)
Sets the X location.
-
getY
public double getY()
Returns the Y location.
-
setY
public void setY(double aY)
Sets the Y location.
-
getWidth
public double getWidth()
Returns the width.
-
setWidth
public void setWidth(double aWidth)
Sets the width.
-
getHeight
public double getHeight()
Returns the height.
-
setHeight
public void setHeight(double aHeight)
Sets the height.
-
setSize
public void setSize(double aWidth, double aHeight)
Sets the rect size.
-
setRect
public void setRect(double anX, double aY, double aWidth, double aHeight)
Sets the rect location and size.
-
getMaxX
public double getMaxX()
Returns the max X.
-
getMaxY
public double getMaxY()
Returns the max Y.
-
-