public static enum CSSProperty.FlexBasis extends Enum<CSSProperty.FlexBasis> implements CSSProperty
CSSProperty.AlignContent, CSSProperty.AlignItems, CSSProperty.AlignSelf, CSSProperty.Animation, CSSProperty.AnimationDelay, CSSProperty.AnimationDirection, CSSProperty.AnimationDuration, CSSProperty.AnimationFillMode, CSSProperty.AnimationIterationCount, CSSProperty.AnimationName, CSSProperty.AnimationPlayState, CSSProperty.AnimationTimingFunction, CSSProperty.Azimuth, CSSProperty.BackdropFilter, CSSProperty.Background, CSSProperty.BackgroundAttachment, CSSProperty.BackgroundColor, CSSProperty.BackgroundImage, CSSProperty.BackgroundPosition, CSSProperty.BackgroundRepeat, CSSProperty.BackgroundSize, CSSProperty.Border, CSSProperty.BorderCollapse, CSSProperty.BorderColor, CSSProperty.BorderRadius, CSSProperty.BorderSpacing, CSSProperty.BorderStyle, CSSProperty.BorderWidth, CSSProperty.Bottom, CSSProperty.BoxShadow, CSSProperty.BoxSizing, CSSProperty.CaptionSide, CSSProperty.Clear, CSSProperty.Clip, CSSProperty.Color, CSSProperty.Content, CSSProperty.CounterIncrement, CSSProperty.CounterReset, CSSProperty.Cue, CSSProperty.Cursor, CSSProperty.Direction, CSSProperty.Display, CSSProperty.Elevation, CSSProperty.EmptyCells, CSSProperty.Filter, CSSProperty.Flex, CSSProperty.FlexBasis, CSSProperty.FlexDirection, CSSProperty.FlexFlow, CSSProperty.FlexGrow, CSSProperty.FlexShrink, CSSProperty.FlexWrap, CSSProperty.Float, CSSProperty.Font, CSSProperty.FontFamily, CSSProperty.FontSize, CSSProperty.FontStyle, CSSProperty.FontVariant, CSSProperty.FontWeight, CSSProperty.GenericCSSPropertyProxy, CSSProperty.Grid, CSSProperty.GridAutoFlow, CSSProperty.GridAutoRowsColumns, CSSProperty.GridGap, CSSProperty.GridStartEnd, CSSProperty.GridTemplateAreas, CSSProperty.GridTemplateRowsColumns, CSSProperty.Height, CSSProperty.JustifyContent, CSSProperty.Left, CSSProperty.LetterSpacing, CSSProperty.LineHeight, CSSProperty.ListStyle, CSSProperty.ListStyleImage, CSSProperty.ListStylePosition, CSSProperty.ListStyleType, CSSProperty.Margin, CSSProperty.MaxHeight, CSSProperty.MaxWidth, CSSProperty.MinHeight, CSSProperty.MinWidth, CSSProperty.Opacity, CSSProperty.Order, CSSProperty.Orphans, CSSProperty.Outline, CSSProperty.OutlineColor, CSSProperty.OutlineStyle, CSSProperty.OutlineWidth, CSSProperty.Overflow, CSSProperty.Padding, CSSProperty.PageBreak, CSSProperty.PageBreakInside, CSSProperty.Pause, CSSProperty.Pitch, CSSProperty.PitchRange, CSSProperty.PlayDuring, CSSProperty.Position, CSSProperty.Quotes, CSSProperty.Right, CSSProperty.Richness, CSSProperty.Speak, CSSProperty.SpeakHeader, CSSProperty.SpeakNumeral, CSSProperty.SpeakPunctuation, CSSProperty.SpeechRate, CSSProperty.Stress, CSSProperty.TableLayout, CSSProperty.TabSize, CSSProperty.TextAlign, CSSProperty.TextDecoration, CSSProperty.TextIndent, CSSProperty.TextTransform, CSSProperty.Top, CSSProperty.Transform, CSSProperty.TransformOrigin, CSSProperty.Transition, CSSProperty.TransitionDelay, CSSProperty.TransitionDuration, CSSProperty.TransitionProperty, CSSProperty.TransitionTimingFunction, CSSProperty.Translator, CSSProperty.UnicodeBidi, CSSProperty.UnicodeRange, CSSProperty.VerticalAlign, CSSProperty.Visibility, CSSProperty.VoiceFamily, CSSProperty.Volume, CSSProperty.WhiteSpace, CSSProperty.Widows, CSSProperty.Width, CSSProperty.WordSpacing, CSSProperty.ZIndex| Enum Constant and Description |
|---|
AUTO |
CONTENT |
INHERIT |
INITIAL |
length |
percentage |
UNSET |
FONT_CURSIVE, FONT_FANTASY, FONT_MONOSPACED, FONT_SANS_SERIF, FONT_SERIF, INHERIT_KEYWORD, INITIAL_KEYWORD, UNSET_KEYWORD| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsInherit()
Allows to check whether property equals
inherit value |
boolean |
equalsInitial()
Allows to check whether property equals
initial value |
boolean |
equalsUnset()
Allows to check whether property equals
unset value |
boolean |
inherited()
Allows declarations of properties to inherit or to be inherited
|
String |
toString()
Textual representation of CSS property
|
static CSSProperty.FlexBasis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSSProperty.FlexBasis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSSProperty.FlexBasis CONTENT
public static final CSSProperty.FlexBasis length
public static final CSSProperty.FlexBasis percentage
public static final CSSProperty.FlexBasis AUTO
public static final CSSProperty.FlexBasis INHERIT
public static final CSSProperty.FlexBasis INITIAL
public static final CSSProperty.FlexBasis UNSET
public static CSSProperty.FlexBasis[] values()
for (CSSProperty.FlexBasis c : CSSProperty.FlexBasis.values()) System.out.println(c);
public static CSSProperty.FlexBasis 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 boolean inherited()
CSSPropertyinherited in interface CSSPropertytrue in case that this property could be inherited
from parent, false elsewherepublic boolean equalsInherit()
CSSPropertyinherit valueequalsInherit in interface CSSPropertytrueif value is INHERIT,
false otherwisepublic boolean equalsInitial()
CSSPropertyinitial valueequalsInitial in interface CSSPropertytrueif value is INITIAL,
false otherwisepublic boolean equalsUnset()
CSSPropertyunset valueequalsUnset in interface CSSPropertytrueif value is UNSET,
false otherwisepublic String toString()
CSSPropertytoString in interface CSSPropertytoString in class Enum<CSSProperty.FlexBasis>Copyright © 2019. All rights reserved.