info.informatica.doc.style.css.visual.box
Class ListItemBox.ListItemMarkerBox

java.lang.Object
  extended by info.informatica.doc.style.css.visual.box.AbstractCSSBox
      extended by info.informatica.doc.style.css.visual.box.ListItemBox.ListItemMarkerBox
All Implemented Interfaces:
CSSBox, NonStaticallyPositioned
Direct Known Subclasses:
ListItemBox.ListItemNumberedMarkerBox
Enclosing class:
ListItemBox

public class ListItemBox.ListItemMarkerBox
extends AbstractCSSBox
implements NonStaticallyPositioned

CSS list item marker box.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
ListItemBox.ListItemMarkerBox(CSS2ComputedProperties style)
           
 
Method Summary
 void computeDimension()
           
 float getHeight()
          Gets the height of this box.
 float getLeft()
           
 String getMarkerType()
          Gets the marker type according to the list-style-type property value.
 float getRight()
           
 float getWidth()
          Gets the width of this box.
 boolean isPositionInside()
           
 
Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractCSSBox
computeNumberOrZero, computeNumberOrZero, getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainerWidth, getContainingBlock, getCSSValue, getErrorHandler, getFontFamily, getFontSize, getFontWeight, getGeneratedSibling, getLeading, getLeading, getLineHeight, getLineHeight, getLineHeightCSSValue, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingSubproperty, getPaddingTop, isContainerHeightAuto, isHeightAuto, isWidthAuto, overflowsWithScroll, setContainingBlock, setErrorHandler, shrinkToFit, textLengthToNaturalUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListItemBox.ListItemMarkerBox

public ListItemBox.ListItemMarkerBox(CSS2ComputedProperties style)
Method Detail

computeDimension

public void computeDimension()
Specified by:
computeDimension in interface NonStaticallyPositioned

isPositionInside

public boolean isPositionInside()

getMarkerType

public String getMarkerType()
Gets the marker type according to the list-style-type property value.

Returns:
a String with the value of the list-style-type property.

getWidth

public float getWidth()
Description copied from class: AbstractCSSBox
Gets the width of this box.

This is defined to be the value of the width property, for boxes where it is defined, or the content width otherwise.

Specified by:
getWidth in class AbstractCSSBox
Returns:
the width of this box.

getHeight

public float getHeight()
Description copied from class: AbstractCSSBox
Gets the height of this box.

This is defined to be the value of the height property, for boxes where it is defined, or the content height otherwise.

Specified by:
getHeight in class AbstractCSSBox
Returns:
the height of this box.

getLeft

public float getLeft()
Specified by:
getLeft in interface CSSBox
Overrides:
getLeft in class AbstractCSSBox

getRight

public float getRight()
Specified by:
getRight in interface CSSBox
Overrides:
getRight in class AbstractCSSBox


Copyright © 2011 informatica.info. All Rights Reserved.