Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.jopendocument.dom.style
Class SideStyleProperties

java.lang.Object
 extended by org.jopendocument.dom.StyleProperties
 extended by org.jopendocument.dom.style.SideStyleProperties
Direct Known Subclasses:
CellStyle.StyleTableCellProperties, PageLayoutStyle.PageLayoutProperties, TableStyle.StyleTableProperties

public class SideStyleProperties
extends StyleProperties


Nested Class Summary
static class SideStyleProperties.Side
Field Summary
Fields inherited from class org.jopendocument.dom.StyleProperties
TRANSPARENT, TRANSPARENT_NAME
Constructor Summary
SideStyleProperties(S style, String propPrefix, StyledNode<S,?> styledNode)
SideStyleProperties(Style style, String propPrefix)
Method Summary
String getBorder(SideStyleProperties.Side s)
String[] getBorderLineWidth(SideStyleProperties.Side s)
If the line style for the border is double, specify the width of the inner and outer lines and the distance between them.
Map<SideStyleProperties.Side,String> getBorders()
Return all defined borders.
protected String getSideAttribute(SideStyleProperties.Side s, String attrName, org.jdom.Namespace ns)
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

SideStyleProperties

public SideStyleProperties(Style style,
 String propPrefix)

SideStyleProperties

public SideStyleProperties(S style,
 String propPrefix,
 StyledNode<S,?> styledNode)
Method Detail

getBorder

public final String getBorder(SideStyleProperties.Side s)

getBorders

public final Map<SideStyleProperties.Side,String> getBorders()
Return all defined borders.

Returns:
all defined borders, i.e. without any null value and thus an empty map when there are no borders.
See Also:
getBorder(Side)

getBorderLineWidth

public final String[] getBorderLineWidth(SideStyleProperties.Side s)
If the line style for the border is double, specify the width of the inner and outer lines and the distance between them. See section 15.5.26.

Parameters:
s - which side.
Returns:
the width of the inner line, the distance between the two lines, the width of the outer line, null if the line style of the border is not double.

getSideAttribute

protected final String getSideAttribute(SideStyleProperties.Side s,
 String attrName,
 org.jdom.Namespace ns)

Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 jOpenDocument All Rights Reserved.

AltStyle によって変換されたページ (->オリジナル) /