|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.mif.MifToken
org.foray.mif.MifTextRect
public class MifTextRect
A MIF Text Rectangle.
Constructor Summary | |
---|---|
MifTextRect(int numCols,
int id)
Constructor. |
Method Summary | |
---|---|
int |
getTextRectID()
Returns the ID for this text rectangle. |
String |
mifContent()
Returns the content of this token as a String. |
void |
setTextRectProp(int left,
int top,
int width,
int height)
Sets the properties for this text rectangle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MifTextRect(int numCols, int id)
numCols
- The number of columns in this text rectangle.id
- The ID for this rectangle.Method Detail |
---|
public int getTextRectID()
public void setTextRectProp(int left, int top, int width, int height)
left
- The x coordinate.top
- The y coordinate.width
- The width.height
- The height.public String mifContent()
MifToken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |