All Packages Class Hierarchy This Package Previous Next Index
netscape.peas.TableApplet
public final static String gsApplicationClass
public final static String gsApplicationClassValue
public TableApplet()
public Class classForName(String className) throws ClassNotFoundException
When the netscape.application classes are installed as system classes, the ClassLoader is null. Thus, when code in netscape.application calls Class.forName() it can only find other system classes.
The solution is an API that allows code to find the ClassLoader for an applet by URL, and a public API on ClassLoader to ask it to load classes by name. Until those enhancements can be made and distributed to all the world's Java systems, applets must subclass FoundationApplet and implement the following one-line method:
public abstract Class classForName(String className) throws ClassNotFoundException { return Class.forName(className); }
public String getParameter(String sName)
public Object getInterface(String sInterfaceName)
public String getQuery()
public void setQuery(String sNewQuery)
public int getFetchBufferSize()
public void setFetchBufferSize(int iNewBufferSize)
public void executeQuery()
public void deleteRow(int iRowNumber, boolean bNotify)
public void deleteRow()
public void addRow()
public void setTableValue(int iRow, int iColumn, Object oNewValue, NotifyList oNotify)
public int getNumRowsFetched()
public boolean getRowsPending()
public void fetchMoreRows()
public int getCurrentRowNumber()
public boolean setCurrentRowNumber(int iNewRowNumber)
public boolean doSetCurrentRowNumber(int iNewRowNumber, boolean bNotify, boolean bUpdateView, NotifyList oNotifyList)
public boolean nextRow()
public boolean previousRow()
public Table getTable()
public RowProvider getCurrentRowValues()
public void addTableChangeListener(TableChangeListener oListener)
public void removeTableChangeListener(TableChangeListener oListener)
public void fireTableChange(int iChangeType, int iRowAffected, int iColumnAffected, Object oNewValue, TableProvider oTableProvider, NotifyList oNotify)
public Object[] getNonCurrentRowValues(int iRowNumber)
public void updateCurrentRow()
public void doUpdateRow(Object aColumnNames[], Object aNewValues[], Object aOldValues[])
public boolean isCurrentRowChanged()
public void tableChange(TableChangeEvent oEvent)
public void setColumnNames(String aColumnNames[], int aColumnWidths[], NotifyList oNotify)
public int getNumColumns()
public String[] getColumnNames()
public int[] getColumnWidths()
public String getColumnName(int iColumnNumber)
public Object[] getColumnValues()
public Object getValueByName(String sColumnName)
public Object getValueByNumber(int iColumnNumber)
public void addPropertyChangeListener(PropertyChangeListener x)
public void removePropertyChangeListener(PropertyChangeListener x)
public void firePropertyChange(String propertyName, Object oldValue, Object newValue)
public void addRowChangeListener(RowChangeListener oRowReceiver)
public void removeRowChangeListener(RowChangeListener oRowReceiver)
public void fireRowChange(int iChangeType, String sColumnAffected, Object oOldValue, Object oNewValue, RowProvider oRowProvider, NotifyList oNotify)
public void propertyChange(PropertyChangeEvent oEvent)
public void rowChange(RowChangeEvent oEvent)
public void setValueByName(String sColumnName, Object oNewValue, NotifyList oNotify)
public void setValueByNumber(int iColumnNumber, Object oNewValue, NotifyList oNotify)
public boolean initializeColumnInfo(RowProvider oRowProvider)
All Packages Class Hierarchy This Package Previous Next Index