public class SmartDashboardXMLWriter
extends java.lang.Object
| Constructor and Description |
|---|
SmartDashboardXMLWriter(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeight(int height) |
void |
addHiddenField(java.lang.String field) |
void |
addLocation(java.awt.Point p) |
void |
addProperty(java.lang.String name,
java.lang.String value) |
void |
addSubWidget(java.lang.String field,
java.lang.String type,
java.lang.String className) |
void |
addSubWidgetLocation(java.awt.Point p) |
void |
addSubWidgetWidth(int width) |
void |
addSubWudgetHeight(int height) |
void |
addWidth(int width) |
void |
beginLiveWindow() |
void |
beginSmartDashboard() |
void |
beginStaticWidget(java.lang.String className) |
void |
beginWidget(java.lang.String field,
java.lang.String className) |
void |
beginWidget(java.lang.String field,
java.lang.String type,
java.lang.String className) |
void |
close() |
void |
endLiveWindow() |
void |
endSmartDashboard() |
void |
endStaticWidget() |
void |
endSubWidget() |
void |
endWidget() |
public SmartDashboardXMLWriter(java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionpublic void beginSmartDashboard()
throws java.io.IOException
java.io.IOExceptionpublic void endSmartDashboard()
throws java.io.IOException
java.io.IOExceptionpublic void beginLiveWindow()
throws java.io.IOException
java.io.IOExceptionpublic void endLiveWindow()
throws java.io.IOException
java.io.IOExceptionpublic void beginStaticWidget(java.lang.String className)
throws java.io.IOException
java.io.IOExceptionpublic void endStaticWidget()
throws java.io.IOException
java.io.IOExceptionpublic void beginWidget(java.lang.String field,
java.lang.String className)
throws java.io.IOException
java.io.IOExceptionpublic void beginWidget(java.lang.String field,
java.lang.String type,
java.lang.String className)
throws java.io.IOException
java.io.IOExceptionpublic void endWidget()
throws java.io.IOException
java.io.IOExceptionpublic void addHiddenField(java.lang.String field)
throws java.io.IOException
java.io.IOExceptionpublic void addLocation(java.awt.Point p)
throws java.io.IOException
java.io.IOExceptionpublic void addSubWidget(java.lang.String field,
java.lang.String type,
java.lang.String className)
throws java.io.IOException
java.io.IOExceptionpublic void endSubWidget()
throws java.io.IOException
java.io.IOExceptionpublic void addSubWidgetLocation(java.awt.Point p)
throws java.io.IOException
java.io.IOExceptionpublic void addSubWudgetHeight(int height)
throws java.io.IOException
java.io.IOExceptionpublic void addSubWidgetWidth(int width)
throws java.io.IOException
java.io.IOExceptionpublic void addWidth(int width)
throws java.io.IOException
java.io.IOExceptionpublic void addHeight(int height)
throws java.io.IOException
java.io.IOExceptionpublic void addProperty(java.lang.String name,
java.lang.String value)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOException