public static enum CSSProperty.Cursor extends Enum<CSSProperty.Cursor> implements CSSProperty
CSSProperty.Azimuth, CSSProperty.Background, CSSProperty.BackgroundAttachment, CSSProperty.BackgroundColor, CSSProperty.BackgroundImage, CSSProperty.BackgroundPosition, CSSProperty.BackgroundRepeat, CSSProperty.Border, CSSProperty.BorderCollapse, CSSProperty.BorderColor, CSSProperty.BorderRadius, CSSProperty.BorderSpacing, CSSProperty.BorderStyle, CSSProperty.BorderWidth, CSSProperty.Bottom, 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.Float, CSSProperty.Font, CSSProperty.FontFamily, CSSProperty.FontSize, CSSProperty.FontStyle, CSSProperty.FontVariant, CSSProperty.FontWeight, CSSProperty.GenericCSSPropertyProxy, CSSProperty.Height, 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.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.Richness, CSSProperty.Right, CSSProperty.Speak, CSSProperty.SpeakHeader, CSSProperty.SpeakNumeral, CSSProperty.SpeakPunctuation, CSSProperty.SpeechRate, CSSProperty.Stress, CSSProperty.TableLayout, CSSProperty.TextAlign, CSSProperty.TextDecoration, CSSProperty.TextIndent, CSSProperty.TextTransform, CSSProperty.Top, CSSProperty.Translator, CSSProperty.UnicodeBidi, CSSProperty.VerticalAlign, CSSProperty.Visibility, CSSProperty.VoiceFamily, CSSProperty.Volume, CSSProperty.WhiteSpace, CSSProperty.Widows, CSSProperty.Width, CSSProperty.WordSpacing, CSSProperty.ZIndex| Enum Constant and Description |
|---|
AUTO |
CROSSHAIR |
DEFAULT |
E_RESIZE |
HELP |
INHERIT |
MOVE |
N_RESIZE |
NE_RESIZE |
NW_RESIZE |
POINTER |
PROGRESS |
S_RESIZE |
SE_RESIZE |
SW_RESIZE |
TEXT |
W_RESIZE |
WAIT |
FONT_CURSIVE, FONT_FANTASY, FONT_MONOSPACED, FONT_SANS_SERIF, FONT_SERIF, INHERIT_KEYWORD| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsInherit()
Allows to check whether property equals
inherit value |
boolean |
inherited()
Allows declarations of properties to inherit or to be inherited
|
String |
toString()
Textual representation of CSS property
|
static CSSProperty.Cursor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CSSProperty.Cursor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CSSProperty.Cursor AUTO
public static final CSSProperty.Cursor CROSSHAIR
public static final CSSProperty.Cursor DEFAULT
public static final CSSProperty.Cursor POINTER
public static final CSSProperty.Cursor MOVE
public static final CSSProperty.Cursor E_RESIZE
public static final CSSProperty.Cursor NE_RESIZE
public static final CSSProperty.Cursor NW_RESIZE
public static final CSSProperty.Cursor N_RESIZE
public static final CSSProperty.Cursor SE_RESIZE
public static final CSSProperty.Cursor SW_RESIZE
public static final CSSProperty.Cursor S_RESIZE
public static final CSSProperty.Cursor W_RESIZE
public static final CSSProperty.Cursor TEXT
public static final CSSProperty.Cursor WAIT
public static final CSSProperty.Cursor PROGRESS
public static final CSSProperty.Cursor HELP
public static final CSSProperty.Cursor INHERIT
public static CSSProperty.Cursor[] values()
for (CSSProperty.Cursor c : CSSProperty.Cursor.values()) System.out.println(c);
public static CSSProperty.Cursor 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 String toString()
CSSPropertytoString in interface CSSPropertytoString in class Enum<CSSProperty.Cursor>Copyright © 2014. All rights reserved.