Package com.webfirmframework.wffweb.css
Class BorderBottom
java.lang.Object
com.webfirmframework.wffweb.css.core.AbstractCssProperty<BorderBottom>
com.webfirmframework.wffweb.css.BorderBottom
- All Implemented Interfaces:
 CssProperty,StateChangeInformer<CssProperty>,Serializable,Cloneable
public class BorderBottom
extends AbstractCssProperty<BorderBottom>
implements StateChangeInformer<CssProperty>
The border-bottom shorthand property sets all the bottom border properties in one declaration. The properties that can be set, are (in order): border-bottom-width, border-bottom-style, and border-bottom-color. If one of the values above are missing, e.g. border-bottom:solid #ff0000, the default value for the missing property will be inserted, if any. Default value: medium none color Inherited: no Animatable: yes Version: CSS1 JavaScript syntax: object.style.borderBottom="3px dashed blue"
- Since:
 - 1.0.0
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionThe valuemedium none blackwill be assigned as the cssValue.BorderBottom(BorderBottom borderBottom) BorderBottom(String cssValue)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPredefinedConstant(String constant) static booleanchecks the given css value is valid for this class.voidsets as inheritvoidsets as initialsetBorderBottomColor(BorderBottomColor borderBottomColor) setBorderBottomStyle(BorderBottomStyle borderBottomStyle) setBorderBottomWidth(BorderBottomWidth borderBottomWidth) setCssValue(String cssValue) voidstateChanged(CssProperty stateChangedObject) toString()Methods inherited from class com.webfirmframework.wffweb.css.core.AbstractCssProperty
clone, getStateChangeInformer, isAlreadyInUse, setAlreadyInUse, setStateChangeInformer, toCssString 
- 
Field Details
- 
INITIAL
- See Also:
 
 - 
INHERIT
- See Also:
 
 
 - 
 - 
Constructor Details
- 
BorderBottom
public BorderBottom()The valuemedium none blackwill be assigned as the cssValue.- Since:
 - 1.0.0
 
 - 
BorderBottom
- Parameters:
 cssValue- the css value to set.
 - 
BorderBottom
- Parameters:
 borderBottom- theBorderBottomobject from which the cssValue to set.And,nullwill throwNullValueException
 
 - 
 - 
Method Details
- 
getCssName
- Specified by:
 getCssNamein interfaceCssProperty- Returns:
 - the name portion in style, eg 
align-contentfor stylealign-content: center. 
 - 
getCssValue
- Specified by:
 getCssValuein interfaceCssProperty- Returns:
 - the value portion in style, eg 
centerfor stylealign-content: center. 
 - 
toString
 - 
setCssValue
- Specified by:
 setCssValuein classAbstractCssProperty<BorderBottom>- Parameters:
 cssValue- the value should be in the format ofmedium none color,initialorinherit.nullis considered as an invalid value and it will throwNullValueException.- Returns:
 - the current object.
 - Since:
 - 1.0.0
 
 - 
isValid
checks the given css value is valid for this class. It does't do a strict validation.- Parameters:
 cssValue-- Returns:
 - Since:
 - 1.0.0
 
 - 
setAsInitial
public void setAsInitial()sets as initial- Since:
 - 1.0.0
 
 - 
setAsInherit
public void setAsInherit()sets as inherit- Since:
 - 1.0.0
 
 - 
getBorderBottomColor
 - 
getBorderBottomStyle
 - 
getBorderBottomWidth
 - 
setBorderBottomWidth
 - 
setBorderBottomStyle
 - 
setBorderBottomColor
 - 
stateChanged
- Specified by:
 stateChangedin interfaceStateChangeInformer<CssProperty>
 - 
addPredefinedConstant
- Since:
 - 1.0.0
 
 
 -