public class IlvSDXLFileConnector extends Object
IlvScheduleChart
.
You can use the setChart
method and the
setFileName
method to set the chart and the SDXL file to
be connected.setChart(ilog.views.gantt.IlvHierarchyChart)
,
setFileName(java.lang.String)
Constructor and Description |
---|
IlvSDXLFileConnector()
Creates an
IlvSDXLFileConnector . |
IlvSDXLFileConnector(IlvGanttDocumentReader reader,
IlvGanttDocumentWriter writer)
Creates an
IlvSDXLFileConnector with a specific customized
XML document reader and a specific customized XML document writer. |
Modifier and Type | Method and Description |
---|---|
IlvHierarchyChart |
getChart()
Returns the connected Gantt Chart or Schedule Chart.
|
String |
getFileName()
Returns the connected SDXL file name.
|
void |
read()
Reads the connected SDXL file and refreshes the connected chart.
|
void |
setChart(IlvHierarchyChart chart)
Sets the Gantt Chart or Schedule Chart to be connected.
|
void |
setFileName(String file)
Sets the name of the SDXL file to read or to write.
|
void |
write()
Calls this function to write the Gantt model of the connected chart
to the connected file.
|
public IlvSDXLFileConnector()
IlvSDXLFileConnector
.public IlvSDXLFileConnector(IlvGanttDocumentReader reader, IlvGanttDocumentWriter writer)
IlvSDXLFileConnector
with a specific customized
XML document reader and a specific customized XML document writer.public String getFileName()
public void setFileName(String file)
read
in order to refresh the
Gantt model of the connected chart.
You can specify a local file name or a URL. Note that if a URL is
specified you can not call the method write
.file
- The file to be connected.public IlvHierarchyChart getChart()
setChart(ilog.views.gantt.IlvHierarchyChart)
public void setChart(IlvHierarchyChart chart)
read
in order to refresh the
Gantt model of the specified chart.chart
- The Gantt Chart or Schedule Chart to be connected.getChart()
public void read()
IlvDefaultGanttModel
that
receives the schedule data of the connected SDXL file.
The new created IlvDefaultGanttModel
is then specified
to the connected chart.
If the connected file or chart is not valid, this function does nothing.
public void write()
Note that if the connected file is an URL file you can not call this function.
setFileName(java.lang.String)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.