Overview | Package | Class | Tree | Index | Help NetCharts Pro (Applets) 7.0
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Interface netcharts.util.
NFDataBeanObserver

Implementing Classes:
NFLoadParams

public interface NFDataBeanObserver
The NFDataBeanObserver interface is used to process the data loaded during the execution of the NFDataBean.loadData() method.


Method Summary
void dataBeanFailure(java.lang.Object db, java.lang.String message)
          This method is called when a databean has a fatal error.
java.util.Hashtable dataBeanGetExtraParams(java.lang.Object db)
          This method is called by a databean that wishes to know if there are any extra parameters available to it.
void dataBeanInformation(java.lang.Object db, java.lang.String information)
          This method is called when a databean has information to provide about its loading.
void dataBeanLoadData(java.lang.Object db, java.lang.Object info, java.lang.String param, java.util.Vector data)
          This method is called by a databean whenever it needs to load the data for a given parameter.
void dataBeanLoadParams(java.lang.Object db, java.lang.Object info, java.lang.Object params)
          This method is called when a databean needs to load parameters into the current chart.
void dataBeanRequestInitialParamsLoadedNotification(java.lang.Object db)
          This method is called by a databean that wishes to be notified of initial parameters being loaded through the NFInitialParamsLoadedObserver interface.
void dataBeanUserInput(java.lang.Object db, java.lang.Object info, java.lang.String action)
          This method is called when the user has completed entering information requested by the data bean through one or more dialog windows.
 

Method Detail

dataBeanLoadData

public void dataBeanLoadData(java.lang.Object db,
                             java.lang.Object info,
                             java.lang.String param,
                             java.util.Vector data)
                     throws java.lang.Exception
This method is called by a databean whenever it needs to load the data for a given parameter. The DB parameter references the invoking databean, while the INFO parameter is passed through from the NFDataBean.loadData() method that initiated the loading process. The PARAM parameter specifies the parameter to be updated, while the DATA vector specifies the data for that parameter. For single value parameters, the vector should contain a single value; all other values are ignored. For TUPLE and single-value VECTOR parameters, the vector should contain a value for each item in the tuple. Finally, for TUPLE VECTOR parameters, the DATA vector should contain a Vector for each tuple, with a value for each tuple item. The values can be any type (String, Number, NFDate, etc) that is valid for the given item.
Parameters:
db - The DataBean.
info - An Object argument.
param - The parameter this data is associated with.
data - The data.
Throws:
java.lang.Exception - If there is an error in loading.

dataBeanLoadParams

public void dataBeanLoadParams(java.lang.Object db,
                               java.lang.Object info,
                               java.lang.Object params)
                       throws java.lang.Exception
This method is called when a databean needs to load parameters into the current chart. The INFO parameter is passed through directly from the method that called NFDataBean.loadData(). The PARAMS object can be any type accepted by the NFLoadParams.loadParams() method. If false is returned (or an exception is generated) then subsequent data loading will be aborted.
Parameters:
db - The DataBean.
info - An Object argument.
params - The parameters.
Throws:
java.lang.Exception - If there is an error in loading.

dataBeanUserInput

public void dataBeanUserInput(java.lang.Object db,
                              java.lang.Object info,
                              java.lang.String action)
                      throws java.lang.Exception
This method is called when the user has completed entering information requested by the data bean through one or more dialog windows. The INFO parameter is passed through directly from the method that called NFDataBean.loadData(). The action parameter may be either "OK" or "CANCEL", depending on the interactive action taken by the user. Such a notification is needed because in order to process the user input dialog, the method that originally called NFDataBean.loadData() had to suspend it's processing. When this method is called, the original method can be resumed to complete its data loading processing.
Parameters:
db - The DataBean.
info - An Object argument.
action - The action.
Throws:
java.lang.Exception - If there is an error in loading.

dataBeanFailure

public void dataBeanFailure(java.lang.Object db,
                            java.lang.String message)
This method is called when a databean has a fatal error. The message is the reason for the error.
Parameters:
db - The DataBean.
message - The error message.

dataBeanInformation

public void dataBeanInformation(java.lang.Object db,
                                java.lang.String information)
This method is called when a databean has information to provide about its loading. The info parameter is the information it wishes to provide.
Parameters:
db - The DataBean.
info - The information.

dataBeanRequestInitialParamsLoadedNotification

public void dataBeanRequestInitialParamsLoadedNotification(java.lang.Object db)
This method is called by a databean that wishes to be notified of initial parameters being loaded through the NFInitialParamsLoadedObserver interface.
Parameters:
db - The DataBean.

dataBeanGetExtraParams

public java.util.Hashtable dataBeanGetExtraParams(java.lang.Object db)
This method is called by a databean that wishes to know if there are any extra parameters available to it.
Parameters:
db - The DataBean.

Overview | Package | Class | Tree | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD


Visual Mining, Inc.
2099 Gaither Grove Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2010
All Rights Reserved.

NetCharts ProTM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 29, 2010