com.bmc.mainview.nvbapi
Interface ViewListener

All Superinterfaces:
java.util.EventListener

public interface ViewListener
extends java.util.EventListener

The ViewListener interface is used to modify how a view is processed.
At various stages during processing the eventPerformed method is invoked to allow the caller to examine or modify how the View is handled.

Version:
2.0
Author:
F. Schneider
See Also:
View

Field Summary
static int GOTFIELDS
          The view definition has been processed, but the data has not been retrieved.
static int REFRESHING
          New data is about to be retrieved.
static int VIEWSET
          The Conversation has been set to use the view.
 
Method Summary
 void eventPerformed(int event, View view)
          Invoked at various times during processing of a View
 

Field Detail

VIEWSET

static final int VIEWSET
The Conversation has been set to use the view. The getConversation() method can be used. If hyperlink definitions are needed as part of the field definitions, the View.setHyperlinks(true) method can be used.

See Also:
View.setHyperlinks(boolean), Constant Field Values

GOTFIELDS

static final int GOTFIELDS
The view definition has been processed, but the data has not been retrieved. The fieldCount and getField methods can be used. The view.setWhere() and view.setQwhere() methods can be used.

See Also:
Constant Field Values

REFRESHING

static final int REFRESHING
New data is about to be retrieved. This can occur either during initialization, or as part of View.refresh()

See Also:
View.refresh(), Constant Field Values
Method Detail

eventPerformed

void eventPerformed(int event,
                    View view)
                    throws java.io.IOException
Invoked at various times during processing of a View

Parameters:
event - Which event this is
view - the View
Throws:
java.io.IOException
See Also:
VIEWSET, GOTFIELDS