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 doublegetHeight()Returns the height.doublegetMaxX()Returns the max X.doublegetMaxY()Returns the max Y.doublegetWidth()Returns the width.doublegetX()Returns the X location.doublegetY()Returns the Y location.voidsetHeight(double aHeight)Sets the height.voidsetRect(double anX, double aY, double aWidth, double aHeight)Sets the rect location and size.voidsetSize(double aWidth, double aHeight)Sets the rect size.voidsetWidth(double aWidth)Sets the width.voidsetX(double anX)Sets the X location.voidsetY(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.
-
-