public class ViewInfo
extends java.lang.Object
Constructor and Description |
---|
ViewInfo(java.lang.String name,
java.lang.Object cookie,
int left,
int top,
int right,
int bottom) |
ViewInfo(java.lang.String name,
java.lang.Object cookie,
int left,
int top,
int right,
int bottom,
java.lang.Object viewObject,
java.lang.Object layoutParamsObject) |
Modifier and Type | Method and Description |
---|---|
int |
getBaseLine()
Returns the baseline value.
|
int |
getBottom()
Returns the bottom of the view bounds, relative to the view parent bounds.
|
int |
getBottomMargin()
Returns the bottom margin value.
|
java.util.List<ViewInfo> |
getChildren()
Returns the list of children views.
|
java.lang.String |
getClassName()
Returns the class name of the view object.
|
java.lang.Object |
getCookie()
Returns the cookie associated with the XML node.
|
java.lang.Object |
getLayoutParamsObject()
Returns the actual android.view.ViewGroup$LayoutParams (or child class) object.
|
int |
getLeft()
Returns the left of the view bounds, relative to the view parent bounds.
|
int |
getLeftMargin()
Returns the left margin value.
|
int |
getRight()
Returns the right of the view bounds, relative to the view parent bounds.
|
int |
getRightMargin()
Returns the right margin value.
|
int |
getTop()
Returns the top of the view bounds, relative to the view parent bounds.
|
int |
getTopMargin()
Returns the top margin value.
|
java.lang.Object |
getViewObject()
Returns the actual android.view.View (or child class) object.
|
ViewType |
getViewType()
Returns the type of View.
|
void |
setChildren(java.util.List<ViewInfo> children)
Sets the list of children
ViewInfo . |
void |
setExtendedInfo(int baseLine,
int leftMargin,
int topMargin,
int rightMargin,
int bottomMargin) |
java.lang.String |
toString() |
public ViewInfo(java.lang.String name, java.lang.Object cookie, int left, int top, int right, int bottom)
public ViewInfo(java.lang.String name, java.lang.Object cookie, int left, int top, int right, int bottom, java.lang.Object viewObject, java.lang.Object layoutParamsObject)
public void setChildren(java.util.List<ViewInfo> children)
ViewInfo
.public void setExtendedInfo(int baseLine, int leftMargin, int topMargin, int rightMargin, int bottomMargin)
public java.util.List<ViewInfo> getChildren()
public java.lang.Object getCookie()
ILayoutPullParser.getViewCookie()
public java.lang.String getClassName()
public int getLeft()
public int getTop()
public int getRight()
public int getBottom()
public java.lang.Object getViewObject()
RenderSession.getProperty(Object, String)
.public java.lang.Object getLayoutParamsObject()
RenderSession.getProperty(Object, String)
.public int getBaseLine()
Integer.MIN_VALUE
.public int getLeftMargin()
Integer.MIN_VALUE
.public int getTopMargin()
Integer.MIN_VALUE
.public int getRightMargin()
Integer.MIN_VALUE
.public int getBottomMargin()
Integer.MIN_VALUE
.public java.lang.String toString()
toString
in class java.lang.Object