public static final class UICSSClasses.ICONS extends Object
To display an icon, add one of these CSS classes to a HTML element. The icon will be displayed once, in the top left of the element. Its size is 16x16 pixels.
The element will also have the minimum height and left-padding to ensure correct
display of the icon. A text can be included in the element. This works particularly well
with <p>
elements.
To set a different placement for the icon, the attribute
style="background-position: x y;"
can be added to the element.
x
can be:
20%
)5px
)y
can be:
20%
)5px
)Modifier and Type | Field and Description |
---|---|
static String |
ANIM_WAIT |
static String |
ANIM_WAIT_BIG
This icon is twice as big as the others (32x32 pixels) and its alignment is
center top . |
static String |
ATTRIBUTE |
static String |
ERROR |
static String |
FOREIGN_KEY |
static String |
GROUP |
static String |
INFO |
static String |
PRIMARY_FOREIGN_KEY |
static String |
PRIMARY_KEY |
static String |
WARNING |
Constructor and Description |
---|
ICONS() |
public static final String ERROR
public static final String WARNING
public static final String INFO
public static final String ATTRIBUTE
public static final String PRIMARY_KEY
public static final String FOREIGN_KEY
public static final String PRIMARY_FOREIGN_KEY
public static final String GROUP
public static final String ANIM_WAIT
public static final String ANIM_WAIT_BIG
center top
.