SilverStream
Application Server 3.5

com.sssw.rt.event
Interface AgiViewListener


public interface AgiViewListener

The AgiViewListener interface is implemented by all objects that listen for events on views. Events are fired when a the selection is changed in a view, when a row is clicked or double-clicked, expanded, or contracted, or when a column is resized.


Method Summary
 void viewColumnResize(AgoEvent event)
          This method is called when a column has been resized.
 void viewDoubleClick(AgoEvent event)
          This method is called when a view is double-clicked.
 void viewHeaderRowClick(AgoEvent event)
          This method is called when the header row has been clicked.
 void viewRowCollapse(AgoEvent event)
          This method is called after a row has been collapsed.
 void viewRowExpand(AgoEvent event)
          This method is called after a row has been expanded.
 void viewSelectionChange(AgoEvent event)
          This method is called each time a view changes selection.
 

Method Detail

viewSelectionChange

public void viewSelectionChange(AgoEvent event)
This method is called each time a view changes selection.

The 'argument' value in the event is an appropriate selection object for the view object.

Parameters:
event - an AgoEvent object

viewDoubleClick

public void viewDoubleClick(AgoEvent event)
This method is called when a view is double-clicked.

The 'identifier' value in the event is the modifiers flag from the mouse event. It can be used to determine which button was clicked.

The 'argument' value in the event is an appropriate selection object for the view object.

Parameters:
event - an AgoEvent object

viewRowExpand

public void viewRowExpand(AgoEvent event)
This method is called after a row has been expanded.

The 'argument' value in the event is an appropriate selection object for the view object.

Parameters:
event - an AgoEvent object

viewRowCollapse

public void viewRowCollapse(AgoEvent event)
This method is called after a row has been collapsed.

The 'argument' value in the event is an appropriate selection object for the view object.

Parameters:
event - an AgoEvent object

viewColumnResize

public void viewColumnResize(AgoEvent event)
This method is called when a column has been resized.

The 'argument' value in the event is an appropriate selection object for the view object.

Parameters:
event - an AgoEvent object

viewHeaderRowClick

public void viewHeaderRowClick(AgoEvent event)
This method is called when the header row has been clicked.

The 'argument' value in the event is an AgoHeaderRowClick object from which you can determine the column, the bandformat, and the state of the control and shift keys at the time of the click

Parameters:
event - an AgoEvent object

SilverStream
Application Server 3.5