Class AbstractCssProperty<EXTENDEDCLASS extends AbstractCssProperty<EXTENDEDCLASS>>
java.lang.Object
com.webfirmframework.wffweb.css.core.AbstractCssProperty<EXTENDEDCLASS>
- All Implemented Interfaces:
CssProperty
,Serializable
,Cloneable
- Direct Known Subclasses:
AnimationIterationCount
,BackgroundColor
,BackgroundImage
,BackgroundSize
,Border
,BorderBottom
,BorderBottomColor
,BorderBottomWidth
,BorderColor
,BorderImageOutset
,BorderImageRepeat
,BorderImageSlice
,BorderImageSource
,BorderImageWidth
,BorderLeft
,BorderLeftColor
,BorderLeftWidth
,BorderRight
,BorderRightColor
,BorderRightWidth
,BorderSpacing
,BorderTop
,BorderTopColor
,BorderTopWidth
,BorderWidth
,Bottom
,Color
,ColumnCount
,ColumnGap
,ColumnRule
,ColumnRuleColor
,ColumnRuleWidth
,Columns
,ColumnWidth
,Cursor
,CustomCssProperty
,Flex
,FlexBasis
,FlexGrow
,FlexShrink
,Font
,FontFamily
,FontSize
,FontSizeAdjust
,HeightCss
,Icon
,Left
,LetterSpacing
,LineHeight
,ListStyle
,ListStyleImage
,Margin
,MarginBottom
,MarginLeft
,MarginRight
,MarginTop
,MaxHeight
,MaxWidth
,MinHeight
,MinWidth
,MozBackgroundSize
,MozColumnCount
,MozColumnGap
,MozColumnRule
,MozColumnRuleColor
,MozColumnRuleWidth
,MozColumnWidth
,MozFlex
,MozFlexBasis
,MozFlexGrow
,MozFlexShrink
,MsFlex
,OBackgroundSize
,Opacity
,Outline
,OutlineColor
,OutlineOffset
,OutlineWidth
,Padding
,PaddingBottom
,PaddingLeft
,PaddingRight
,PaddingTop
,Perspective
,PerspectiveOrigin
,Right
,Src
,Top
,UnicodeRange
,WebkitBackgroundSize
,WebkitColumnCount
,WebkitColumnGap
,WebkitColumnRule
,WebkitColumnRuleColor
,WebkitColumnRuleWidth
,WebkitColumnWidth
,WebkitFlex
,WebkitFlexBasis
,WebkitFlexGrow
,WebkitFlexShrink
,WidthCss
,WordSpacing
public abstract class AbstractCssProperty<EXTENDEDCLASS extends AbstractCssProperty<EXTENDEDCLASS>>
extends Object
implements CssProperty
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
void
setAlreadyInUse
(boolean alreadyInUse) To set whether this object is used by any other object.abstract EXTENDEDCLASS
setCssValue
(String value) void
setStateChangeInformer
(StateChangeInformer<CssProperty> stateChangeInformer) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.webfirmframework.wffweb.css.core.CssProperty
getCssName, getCssValue
-
Constructor Details
-
AbstractCssProperty
public AbstractCssProperty()
-
-
Method Details
-
setCssValue
- Parameters:
value
- to set the value portion in style, egcenter
for stylealign-content: center
.- Returns:
- the current object.
- Since:
- 1.0.0
-
getStateChangeInformer
- Returns:
- the stateChangeInformer
- Since:
- 1.0.0
-
setStateChangeInformer
- Parameters:
stateChangeInformer
- the stateChangeInformer to set- Since:
- 1.0.0
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
isAlreadyInUse
public boolean isAlreadyInUse()- Returns:
- true if the object is already used by
Style
class. - Since:
- 1.0.0
-
setAlreadyInUse
public void setAlreadyInUse(boolean alreadyInUse) To set whether this object is used by any other object. It also dereferences stateChangeInformer object if the given argument is false.- Parameters:
alreadyInUse
- the alreadyInUse to set- Since:
- 1.0.0
-
toCssString
- Returns:
- the css string of the property
- Since:
- 1.1.2
-