Class sfclasses.ListPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sfclasses.ListPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----sfclasses.ListPanel

public class ListPanel
extends Panel
implements Refreshable
List Panel
The list panel can be used to display arbitrary data stored in a vector in table format. It is used to show filter rules and active TCP connections. You have to derive subclasses of ListCanvas and of ListHeader and implement the data dependent output in those classes. See FirewallAction.java and RuleEditor.java for examples.
See Also:
java, java

Constructor Index

 o ListPanel(ListCanvas, ListHeader)
Initialize new list panel.

Method Index

 o deselect()
 o handleEvent(Event)
 o refresh()
 o resetScrollOffset()
 o updateScrollbars(int, int)

Constructors

 o ListPanel
  public ListPanel(ListCanvas listCanvas,
                   ListHeader listHeader)
Initialize new list panel.
Parameters:
listCanvas - Canvas that implements data output
listHeader - Canvas that draws the table header

Methods

 o handleEvent
  public boolean handleEvent(Event e)
Overrides:
handleEvent in class Component
 o updateScrollbars
  protected void updateScrollbars(int cwidth,
                                  int cheight)
 o refresh
  public void refresh()
 o deselect
  public void deselect()
 o resetScrollOffset
  public void resetScrollOffset()

All Packages  Class Hierarchy  This Package  Previous  Next  Index