public class TextRectangle extends SimpleScriptable
| Constructor and Description |
|---|
TextRectangle()
Creates an instance.
|
TextRectangle(int bottom,
int left,
int right,
int top)
Creates an instance, with the given coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
int |
jsxGet_bottom()
Returns the bottom coordinate of the rectangle surrounding the object content.
|
int |
jsxGet_left()
Returns the left coordinate of the rectangle surrounding the object content.
|
int |
jsxGet_right()
Returns the right coordinate of the rectangle surrounding the object content.
|
int |
jsxGet_top()
Returns the top coordinate of the rectangle surrounding the object content.
|
void |
jsxSet_bottom(int bottom)
Sets the bottom coordinate of the rectangle surrounding the object content.
|
void |
jsxSet_left(int left)
Sets the left coordinate of the rectangle surrounding the object content.
|
void |
jsxSet_right(int right)
Sets the right coordinate of the rectangle surrounding the object content.
|
void |
jsxSet_top(int top)
Sets the top coordinate of the rectangle surrounding the object content.
|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getIntArg, getLog, getObjectArg, getPrototype, getScriptableFor, getStartingScope, getStringArg, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, makeScriptableFor, setDomNode, setDomNode, setHtmlElementassociateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototypepublic TextRectangle()
public TextRectangle(int bottom,
int left,
int right,
int top)
bottom - the bottom coordinate of the rectangle surrounding the object content.left - the left coordinate of the rectangle surrounding the object content.right - the right coordinate of the rectangle surrounding the object content.top - the top coordinate of the rectangle surrounding the object content.public void jsxSet_bottom(int bottom)
bottom - the bottom coordinate of the rectangle surrounding the object content.public int jsxGet_bottom()
public void jsxSet_left(int left)
left - the left coordinate of the rectangle surrounding the object content.public int jsxGet_left()
public void jsxSet_right(int right)
right - the right coordinate of the rectangle surrounding the object content.public int jsxGet_right()
public void jsxSet_top(int top)
top - the top coordinate of the rectangle surrounding the object content.public int jsxGet_top()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.