public void onEvent(Event e) throws Exception {
  iframe.setContent(null);
  Object source=e.getTarget();
  if (source == tabResult)   stateChanged();
 else   if (source == tabQuery)   stateChanged();
 else   if (source == selAcctSchema)   actionAcctSchema();
 else   if (source == bQuery)   actionQuery();
 else   if (source == selDocument)   actionDocument();
 else   if (source == selTable)   actionTable();
 else   if (source == bRePost)   actionRePost();
 else   if (source == bExport)   actionExportExcel();
 else   if (source == bPrint)   ;
 else   if (source == bExport)   actionExportExcel();
 else   if (source instanceof Button)   actionButton((Button)source);
 else   if (source == paging) {
    int pgno=paging.getActivePage();
    int start=pgno * PAGE_SIZE;
    int end=start + PAGE_SIZE;
    if (end > paging.getTotalSize())     end=paging.getTotalSize();
    List<ArrayList<Object>> list=m_queryData.subList(start,end);
    ListModelTable model=new ListModelTable(list);
    table.setModel(model);
  }
}

public void onEvent ( Event e ) throws Exception { iframe . setContent ( null ) ; Object source = e . getTarget ( ) ; if ( source == tabResult ) stateChanged ( ) ; else if ( source == tabQuery ) stateChanged ( ) ; else if ( source == selAcctSchema ) actionAcctSchema ( ) ; else if ( source == bQuery ) actionQuery ( ) ; else if ( source == selDocument ) actionDocument ( ) ; else if ( source == selTable ) actionTable ( ) ; else if ( source == bRePost ) actionRePost ( ) ; else if ( source == bExport ) actionExportExcel ( ) ; else if ( source == bPrint ) ; else if ( source == bExport ) actionExportExcel ( ) ; else if ( source instanceof Button ) actionButton ( ( Button ) source ) ; else if ( source == paging ) { int pgno = paging . getActivePage ( ) ; int start = pgno * PAGE_SIZE ; int end = start + PAGE_SIZE ; if ( end > paging . getTotalSize ( ) ) end = paging . getTotalSize ( ) ; List < ArrayList < Object > > list = m_queryData . subList ( start , end ) ; ListModelTable model = new ListModelTable ( list ) ; table . setModel ( model ) ; } }
event performed ( event listener )
