org.jopendocument.dom
Class StyleProperties

java.lang.Object
  extended by org.jopendocument.dom.StyleProperties
Direct Known Subclasses:
CellStyle.SyleTableCellProperties, GraphicStyle.SyleGraphicProperties, ParagraphStyle.SyleParagraphProperties, TextStyle.SyleTextProperties

public abstract class StyleProperties
extends Object


Field Summary
static Color TRANSPARENT
           
 
Constructor Summary
StyleProperties(StyleStyle style, String propPrefix)
           
 
Method Summary
 Color getBackgroundColor()
           
 org.jdom.Element getElement()
           
protected  org.jdom.Namespace getNS(String prefix)
           
 StyleStyle getParentStyle()
           
 String getRawBackgroundColor()
           
protected  boolean parseBoolean(String s, boolean def)
           
 void setBackgroundColor(Color color)
           
 void setBackgroundColor(String color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSPARENT

public static final Color TRANSPARENT
Constructor Detail

StyleProperties

public StyleProperties(StyleStyle style,
                       String propPrefix)
Method Detail

getParentStyle

public final StyleStyle getParentStyle()

getElement

public final org.jdom.Element getElement()

parseBoolean

protected final boolean parseBoolean(String s,
                                     boolean def)

getNS

protected final org.jdom.Namespace getNS(String prefix)

getRawBackgroundColor

public final String getRawBackgroundColor()

getBackgroundColor

public final Color getBackgroundColor()

setBackgroundColor

public final void setBackgroundColor(Color color)

setBackgroundColor

public final void setBackgroundColor(String color)


Copyright © 2010 jOpenDocument All Rights Reserved.