|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Padding>
com.sap.ui.commons.client.layout.Padding
public enum Padding
The enum Padding is the GWT wrapper
for the Phoenix type: com.sap.ui.commons.client.layout.Padding.
Padding, e.g. of a layout cell's content within the cell's borders.
Note that all options except "None" include a padding of 2px at the top and
bottom, and differ only in the presence of a 4px padding towards the beginning
or end of a line, in the current locale's writing direction.
| Enum Constant Summary | |
|---|---|
Begin
Top and bottom padding of 2px. |
|
Both
Top and bottom padding of 2px. |
|
End
Top and bottom padding of 2px. |
|
Neither
Top and bottom padding of 2px. |
|
None
No padding at all. |
|
| Method Summary | |
|---|---|
static Padding |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Padding[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Padding None
public static final Padding Begin
public static final Padding End
public static final Padding Both
public static final Padding Neither
| Method Detail |
|---|
public static Padding[] values()
for (Padding c : Padding.values()) System.out.println(c);
public static Padding valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||