|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BoxModelable
Encapsulates the functionality of a BoxModel. See http://www.w3.org/TR/CSS21/box.html for a good explanation of how the box model works.
Method Summary | |
---|---|
android.graphics.RectF |
getMarginatedRect(android.graphics.RectF boundsRect)
Returns a RectF instance describing the inner edge of the margin layer. |
float |
getMarginBottom()
|
float |
getMarginLeft()
|
float |
getMarginRight()
|
float |
getMarginTop()
|
android.graphics.RectF |
getPaddedRect(android.graphics.RectF marginRect)
Returns a RectF instance describing the inner edge of the padding layer. |
float |
getPaddingBottom()
|
float |
getPaddingLeft()
|
float |
getPaddingRight()
|
float |
getPaddingTop()
|
void |
setMarginLeft(float marginLeft)
|
void |
setMarginRight(float marginRight)
|
void |
setMargins(float left,
float top,
float right,
float bottom)
|
void |
setMarginTop(float marginTop)
|
void |
setPadding(float left,
float top,
float right,
float bottom)
|
void |
setPaddingBottom(float paddingBottom)
|
void |
setPaddingLeft(float paddingLeft)
|
void |
setPaddingRight(float paddingRight)
|
void |
setPaddingTop(float paddingTop)
|
Method Detail |
---|
android.graphics.RectF getMarginatedRect(android.graphics.RectF boundsRect)
boundsRect
-
android.graphics.RectF getPaddedRect(android.graphics.RectF marginRect)
marginRect
-
void setMargins(float left, float top, float right, float bottom)
void setPadding(float left, float top, float right, float bottom)
float getMarginLeft()
void setMarginLeft(float marginLeft)
float getMarginTop()
void setMarginTop(float marginTop)
float getMarginRight()
void setMarginRight(float marginRight)
float getMarginBottom()
float getPaddingLeft()
void setPaddingLeft(float paddingLeft)
float getPaddingTop()
void setPaddingTop(float paddingTop)
float getPaddingRight()
void setPaddingRight(float paddingRight)
float getPaddingBottom()
void setPaddingBottom(float paddingBottom)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |