|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.ide.common.rendering.api.ViewInfo
public class ViewInfo
Layout information for a specific view object
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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. |
boolean |
isSystemView()
Returns if the ViewInfo represents part of the SystemUI, for example, the ActionBar. |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)
Method Detail |
---|
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 boolean isSystemView()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |