public enum ECSSMathOperator extends Enum<ECSSMathOperator> implements ICSSExpressionMathMember, com.helger.commons.name.IHasName
| Modifier and Type | Method and Description |
|---|---|
String |
getAsCSSString(ICSSWriterSettings aSettings,
int nIndentLevel)
Get the contents of this object as a serialized CSS string for writing to
an output.
|
static ECSSMathOperator |
getFromNameOrNull(String sName) |
ECSSVersion |
getMinimumCSSVersion() |
String |
getName() |
static ECSSMathOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECSSMathOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetAsCSSString, getAsCSSStringpublic static final ECSSMathOperator PLUS
public static final ECSSMathOperator MINUS
public static final ECSSMathOperator MULTIPLY
public static final ECSSMathOperator DIVIDE
public static ECSSMathOperator[] values()
for (ECSSMathOperator c : ECSSMathOperator.values()) System.out.println(c);
public static ECSSMathOperator 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 null@Nonnull @Nonempty public String getName()
getName in interface com.helger.commons.name.IHasName@Nonnull public ECSSVersion getMinimumCSSVersion()
getMinimumCSSVersion in interface ICSSVersionAwarenull.@Nonnull @Nonempty public String getAsCSSString(@Nonnull ICSSWriterSettings aSettings, @Nonnegative int nIndentLevel)
ICSSWriteablegetAsCSSString in interface ICSSWriteableaSettings - The settings to be used to format the output. May not be
null.nIndentLevel - The current indentation levelnull.@Nullable public static ECSSMathOperator getFromNameOrNull(@Nullable String sName)
Copyright © 2014–2022 Philip Helger. All rights reserved.