ABLE, Version 1.1b

com.ibm.able.editor
Interface AbleInspectorPanel

All Known Implementing Classes:
AbleInspectorGeneralPanel, AbleInspectorGeneralPanel.AxesPanel, AbleInspectorLoggingDialog.RefreshRatePanel, AbleInspectorOptionsDialog.AreaChartPanel, AbleInspectorOptionsDialog.BarChartPanel, AbleInspectorOptionsDialog.LineChartPanel, AbleInspectorOptionsDialog.ScatterPlotPanel, AbleInspectorOptionsDialog.StackedAreaPanel, AbleInspectorOptionsDialog.StackedBarPanel, AbleInspectorOptionsDialog.TextPanel, AbleInspectorOptionsDialog.TextSeriesPanel, AbleInspectorOptionsDialog.TimePlotPanel

public abstract interface AbleInspectorPanel

This interface allows for a batch update rather than PropertyChange based incremental updates to the underlying bean. Classes that implement it should inherit from a Component like JPanel.

Version:
$Revision: 1.3 $, $Date: 2000/04/25 21:10:33 $

Method Summary
 java.net.URL getHelpContext()
          Get the URL file context to be displayed.
 java.lang.String getHelpFileName()
          Get the html file name to be displayed.
 java.lang.String getName()
          Provide a displayable name for the panel for use in displaying error dialogs should an exception be thrown from updateObject.
 void setObject(java.lang.Object theObject)
          Set the object to be customized.
 void setView()
          This method does whatever the panel needs to make it represent the current view when the Apply button is pressed.
 void updateObject()
          Update the object to be customized by reading the panel and writing that data to the object.
 

Method Detail

setObject

public void setObject(java.lang.Object theObject)
Set the object to be customized. This method should be called only once. It should read data from the object and write it to the panel.
Parameters:
theObject - The object to be customized.

updateObject

public void updateObject()
                  throws java.lang.Exception
Update the object to be customized by reading the panel and writing that data to the object.
Throws:
Throw - an exception if panel data is invalid.

getName

public java.lang.String getName()
Provide a displayable name for the panel for use in displaying error dialogs should an exception be thrown from updateObject.

setView

public void setView()
This method does whatever the panel needs to make it represent the current view when the Apply button is pressed.

getHelpFileName

public java.lang.String getHelpFileName()
Get the html file name to be displayed.
Returns:
A String containing the html file to display in the browser.

getHelpContext

public java.net.URL getHelpContext()
Get the URL file context to be displayed. Able.HomeUrl is the Able context.
Returns:
A URL containing the html file to display in the browser.
See Also:
Able

ABLE, Version 1.1b

ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'