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 SummaryConstructors Constructor Description TextRect()
 - 
Method SummaryAll 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.RMObjectaddPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, firePropertyChange, getPCEvent, removePropertyChangeListener, sendPropertyChange, toString
 - 
Methods inherited from class com.inductiveautomation.rm.base.RMListenerListaddListener, clone, getListener, getListenerCount, getListenerCount, getListenerList, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
getXpublic double getX() Returns the X location.
 - 
setXpublic void setX(double anX) Sets the X location.
 - 
getYpublic double getY() Returns the Y location.
 - 
setYpublic void setY(double aY) Sets the Y location.
 - 
getWidthpublic double getWidth() Returns the width.
 - 
setWidthpublic void setWidth(double aWidth) Sets the width.
 - 
getHeightpublic double getHeight() Returns the height.
 - 
setHeightpublic void setHeight(double aHeight) Sets the height.
 - 
setSizepublic void setSize(double aWidth, double aHeight)Sets the rect size.
 - 
setRectpublic void setRect(double anX, double aY, double aWidth, double aHeight)Sets the rect location and size.
 - 
getMaxXpublic double getMaxX() Returns the max X.
 - 
getMaxYpublic double getMaxY() Returns the max Y.
 
- 
 
-