public interface IView extends IHitTestable, IContextProvider
View
methodsModifier and Type | Method and Description |
---|---|
android.graphics.drawable.Drawable |
getBackground()
Gets the background
Drawable for this IView instance |
int |
getHeight()
Gets the
IView height in pixels |
android.view.ViewGroup.LayoutParams |
getLayoutParams()
Gets the
ViewGroup.LayoutParams for this IView instance |
int |
getPaddingBottom()
Returns the lefbottomt padding of this
IView instance |
int |
getPaddingLeft()
Returns the left padding of this
IView instance |
int |
getPaddingRight()
Returns the right padding of this
IView instance |
int |
getPaddingTop()
Returns the top padding of this
IView instance |
int |
getVisibility()
Gets the visibility for this
IView instance |
int |
getWidth()
Gets the
IView width in pixels |
void |
invalidate()
Invalidates this
IView instance |
void |
postInvalidate()
Posts invalidate for this
IView instance |
void |
requestLayout()
Requests layout for this
IView instance |
void |
setLayoutParams(android.view.ViewGroup.LayoutParams params)
Sets the
ViewGroup.LayoutParams for this IView instance |
void |
setVisibility(int visibility)
Sets visibility for this
IView instance |
getBoundsRelativeTo, getBoundsRelativeTo, getView, isPointWithinBounds, isPointWithinBounds, translatePoint
getContext
int getWidth()
IView
width in pixelsint getHeight()
IView
height in pixelsint getPaddingLeft()
IView
instanceint getPaddingTop()
IView
instanceint getPaddingRight()
IView
instanceint getPaddingBottom()
IView
instancevoid invalidate()
IView
instancevoid postInvalidate()
IView
instancevoid requestLayout()
IView
instanceandroid.view.ViewGroup.LayoutParams getLayoutParams()
ViewGroup.LayoutParams
for this IView
instanceViewGroup.LayoutParams
for this IView
instancevoid setLayoutParams(android.view.ViewGroup.LayoutParams params)
ViewGroup.LayoutParams
for this IView
instanceparams
- The new ViewGroup.LayoutParams
void setVisibility(int visibility)
IView
instancevisibility
- The new visibility valueint getVisibility()
IView
instanceandroid.graphics.drawable.Drawable getBackground()
Drawable
for this IView
instance