|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PaddingStyleProperties
Padding represents the space between an HTML element's content and its border. The padding space is displayed using the element's background color.
This is in contrast to margin which represents space outside an element's border, and is therefore displayed
with the background color of it's parent element.
| Method Summary | |
|---|---|
java.lang.String |
getAllPadding()
Single padding size value used for top, bottom, left and right padding. |
java.lang.String |
getBottomPadding()
Bottom padding size value. |
java.lang.String |
getLeftPadding()
Left padding size value. |
java.lang.String |
getRightPadding()
Right padding size value. |
java.lang.String |
getTopPadding()
Top padding size value. |
void |
setAllPadding(java.lang.String allPadding)
Sets the padding size value used for top, bottom, left and right padding. |
void |
setBottomPadding(java.lang.String bottomPadding)
Sets the bottom padding size value. |
void |
setLeftPadding(java.lang.String leftPadding)
Sets the left padding size value. |
void |
setRightPadding(java.lang.String rightPadding)
Sets the right padding size value. |
void |
setTopPadding(java.lang.String topPadding)
Sets the top padding size value. |
| Method Detail |
|---|
java.lang.String getAllPadding()
padding size value used for top, bottom, left and right padding. This property can be overridden by the more specific
topPadding, bottomPadding, leftPadding and rightPadding properties.
setAllPadding(String)void setAllPadding(java.lang.String allPadding)
padding size value used for top, bottom, left and right padding. This property can be overridden by the more specific
topPadding, bottomPadding, leftPadding and rightPadding properties.
Any size value that can be specified for the CSS padding property can be used when setting a value.
Setting this property to null removes any existing value.
Examples:
controls.PANEL1.allPadding = "5px";
controls.PANEL1.setAllPadding("2em");
java.lang.String getTopPadding()
padding size value. This property overrides any value set with the allPadding property.
setTopPadding(String)void setTopPadding(java.lang.String topPadding)
padding size value. This overrides any value set with the allPadding property.
Any size value that can be specified for the CSS padding property can be used when setting a value.
Setting this property to null removes any existing value.
Examples:
controls.PANEL1.topPadding = "5px";
controls.PANEL1.setTopPadding("2em");
java.lang.String getRightPadding()
padding size value. This property overrides any value set with the allPadding property.
setRightPadding(String)void setRightPadding(java.lang.String rightPadding)
padding size value. This overrides any value set with the allPadding property.
Any size value that can be specified for the CSS padding property can be used when setting a value.
Setting this property to null removes any existing value.
Examples:
controls.PANEL1.rightPadding = "5px";
controls.PANEL1.setRightPadding("2em");
java.lang.String getBottomPadding()
padding size value. This property overrides any value set with the allPadding property.
setBottomPadding(String)void setBottomPadding(java.lang.String bottomPadding)
padding size value. This overrides any value set with the allPadding property.
Any size value that can be specified for the CSS padding property can be used when setting a value.
Setting this property to null removes any existing value.
Examples:
controls.PANEL1.bottomPadding = "5px";
controls.PANEL1.setBottomPadding("2em");
java.lang.String getLeftPadding()
padding size value. This property overrides any value set with the allPadding property.
setLeftPadding(String)void setLeftPadding(java.lang.String leftPadding)
padding size value. This overrides any value set with the allPadding property.
Any size value that can be specified for the CSS padding property can be used when setting a value.
Setting this property to null removes any existing value.
Examples:
controls.PANEL1.leftPadding = "5px";
controls.PANEL1.setLeftPadding("2em");
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||