org.jopendocument.dom.spreadsheet
Class TableStyle.StyleTableProperties

java.lang.Object
  extended by org.jopendocument.dom.StyleProperties
      extended by org.jopendocument.dom.style.SideStyleProperties
          extended by org.jopendocument.dom.spreadsheet.TableStyle.StyleTableProperties
Enclosing class:
TableStyle

public static class TableStyle.StyleTableProperties
extends SideStyleProperties


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jopendocument.dom.style.SideStyleProperties
SideStyleProperties.Side
 
Field Summary
 
Fields inherited from class org.jopendocument.dom.StyleProperties
TRANSPARENT, TRANSPARENT_NAME
 
Constructor Summary
TableStyle.StyleTableProperties(StyleStyle style)
           
 
Method Summary
 BigDecimal getMargin(SideStyleProperties.Side s, LengthUnit in)
          Get the margin of one of the side.
 String getRawMargin(SideStyleProperties.Side s)
           
 BigDecimal getWidth(LengthUnit in)
           
 Boolean isDisplayed()
           
 void setDisplayed(Boolean b)
           
 
Methods inherited from class org.jopendocument.dom.style.SideStyleProperties
getBorder, getBorderLineWidth, getBorders, getSideAttribute
 
Methods inherited from class org.jopendocument.dom.StyleProperties
fallbackToDefaultStyle, getAttributeValue, getAttributeValueInAncestors, getAttributeValueNotInAncestors, getBackgroundColor, getElement, getElement, getEnclosingStyle, getNS, getRawBackgroundColor, getStyledNode, parseBoolean, parseInt, parseInteger, setAttributeValue, setAttributeValue, setBackgroundColor, setBackgroundColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableStyle.StyleTableProperties

public TableStyle.StyleTableProperties(StyleStyle style)
Method Detail

isDisplayed

public final Boolean isDisplayed()

setDisplayed

public final void setDisplayed(Boolean b)

getRawMargin

public final String getRawMargin(SideStyleProperties.Side s)

getMargin

public final BigDecimal getMargin(SideStyleProperties.Side s,
                                  LengthUnit in)
Get the margin of one of the side.

Parameters:
s - which side.
in - the desired unit.
Returns:
the margin.

getWidth

public final BigDecimal getWidth(LengthUnit in)


Copyright © 2010 jOpenDocument All Rights Reserved.