public enum MagnoliaIcons extends Enum<MagnoliaIcons> implements com.vaadin.server.FontIcon
FontIcon
.
With this, our icons can be used as Resources
on Vaadin Components.Enum Constant and Description |
---|
ARROW2_E |
ARROW2_N |
ARROW2_S |
ARROW2_W |
Modifier and Type | Field and Description |
---|---|
static String |
FONT_FAMILY |
Modifier and Type | Method and Description |
---|---|
int |
getCodepoint()
Unsupported: we do not rely on code-points for our icons, but only on class names.
|
String |
getFontFamily() |
String |
getHtml()
Magnolia icons do not need a specific font-family, they apply to any class name prefixed with icon-.
|
String |
getMIMEType()
Unsupported:
FontIcon does not have a MIME type and is not a
Resource that can be used in a context where a MIME type would be
needed. |
static MagnoliaIcons |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MagnoliaIcons[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagnoliaIcons ARROW2_E
public static final MagnoliaIcons ARROW2_N
public static final MagnoliaIcons ARROW2_S
public static final MagnoliaIcons ARROW2_W
public static final String FONT_FAMILY
public static MagnoliaIcons[] values()
for (MagnoliaIcons c : MagnoliaIcons.values()) System.out.println(c);
public static MagnoliaIcons valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getFontFamily()
getFontFamily
in interface com.vaadin.server.FontIcon
public String getHtml()
getHtml
in interface com.vaadin.server.FontIcon
public int getCodepoint()
getCodepoint
in interface com.vaadin.server.FontIcon
public String getMIMEType()
FontIcon
does not have a MIME type and is not a
Resource
that can be used in a context where a MIME type would be
needed.getMIMEType
in interface com.vaadin.server.Resource
Copyright © 2018 Magnolia International Ltd.. All rights reserved.