lt.monarch.util
Class StyleWriter
java.lang.Object
lt.monarch.util.StyleWriter
public class StyleWriter
extends java.lang.Object
Saves chart styles to a a stream
Method Summary
protected java.util.List<java.lang.String> |
getClassHierarchyNames(java.lang.Object object)
|
protected java.lang.String |
getClassName(java.lang.Class<?> type)
|
protected java.lang.String |
getClassName(java.lang.Object object)
|
void |
saveStyles(java.io.OutputStream fileOutputStream,
ViewContainer chart)
Serializes style properties of chart elements into file. |
void |
saveStyles(java.lang.String fileName,
ViewContainer chart)
Serializes style properties of chart elements into file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyleWriter
public StyleWriter()
saveStyles
public void saveStyles(java.lang.String fileName,
ViewContainer chart)
- Serializes style properties of chart elements into file.
- Parameters:
fileName - file namechart -
saveStyles
public void saveStyles(java.io.OutputStream fileOutputStream,
ViewContainer chart)
- Serializes style properties of chart elements into file.
- Parameters:
fileOutputStream - file output streamchart -
getClassName
protected java.lang.String getClassName(java.lang.Class<?> type)
getClassName
protected java.lang.String getClassName(java.lang.Object object)
getClassHierarchyNames
protected java.util.List<java.lang.String> getClassHierarchyNames(java.lang.Object object)