JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table.data
Class JCAppletDataSource

java.lang.Object
  |
  +--com.klg.jclass.table.data.AbstractDataSource
        |
        +--com.klg.jclass.table.data.AbstractVectorDataSource
              |
              +--com.klg.jclass.table.data.JCVectorDataSource
                    |
                    +--com.klg.jclass.table.data.JCInputStreamDataSource
                          |
                          +--com.klg.jclass.table.data.JCAppletDataSource
All Implemented Interfaces:
JCTableDataModel, Serializable, TableDataModel

public class JCAppletDataSource
extends JCInputStreamDataSource

An JCAppletDataSource object reads in data from the DATA tag of an applet.

Note:
In Netscape, new lines are stripped; make sure that if you spread the data across multiple lines, a space appears at the beginning of each line.

See Also:
JCInputStreamDataSource, Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.table.data.JCInputStreamDataSource
customParser, dataFormat
 
Fields inherited from class com.klg.jclass.table.data.JCVectorDataSource
cells, column_labels, columns, is_moving, row_labels, rows
 
Fields inherited from class com.klg.jclass.table.data.AbstractDataSource
listeners
 
Constructor Summary
JCAppletDataSource(Applet applet)
          Pulls the data from the DATA param tag associated with the specified applet.
JCAppletDataSource(Applet applet, com.klg.jclass.table.data.JCFileFormatParser prs)
          Pulls the data from the DATA param tag associated with the specified applet and uses a custom data parser to make sense of it.
 
Methods inherited from class com.klg.jclass.table.data.JCInputStreamDataSource
detectFileFormat, getCustomParser, getDataFormat, read, readFromStream, setCustomParser, setDataFormat
 
Methods inherited from class com.klg.jclass.table.data.JCVectorDataSource
addColumn, addColumn, addRow, addRow, clearCells, deleteColumns, deleteColumns, deleteRows, deleteRows, getCells, getColumnLabels, getLabelValue, getNumColumns, getNumRows, getRowLabels, getTableColumnLabel, getTableDataItem, getTableRowLabel, isCell, isColumnLabel, isLabel, isRowLabel, isValidCell, isValidLabel, moveColumns, moveColumns, moveRows, moveRows, setCell, setCells, setCells, setColumnLabel, setColumnLabels, setColumnLabels, setDataChanged, setLabelValue, setNumColumns, setNumRows, setRowLabel, setRowLabels, setRowLabels
 
Methods inherited from class com.klg.jclass.table.data.AbstractVectorDataSource
createVector, createVector, createVector, createVector, createVector, removeElementsAt, setElementAt, strip
 
Methods inherited from class com.klg.jclass.table.data.AbstractDataSource
addTableDataListener, dispose, fireColumnChanged, fireColumnLabelChanged, fireColumnsAdded, fireColumnsDeleted, fireColumnsMoved, fireDataReset, fireNumColumnsChanged, fireNumRowsChanged, fireRowChanged, fireRowDeleted, fireRowLabelChanged, fireRowsAdded, fireRowsMoved, fireTableDataEvent, fireValueChanged, hasListeners, removeTableDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCAppletDataSource

public JCAppletDataSource(Applet applet)
                   throws IOException
Pulls the data from the DATA param tag associated with the specified applet.

Parameters:
applet -
Throws:
IOException - An IOException will be thrown if there is a problem reading the data or if there is no DATA parameter.

JCAppletDataSource

public JCAppletDataSource(Applet applet,
                          com.klg.jclass.table.data.JCFileFormatParser prs)
                   throws IOException
Pulls the data from the DATA param tag associated with the specified applet and uses a custom data parser to make sense of it.

Parameters:
applet -
prs -
Throws:
IOException - An IOException will be thrown if there is a problem reading the data or if there is no DATA parameter.

Copyright © 2004 Quest Software Inc..
All rights reserved.