dbfeditor
Class DBFTableManager

java.lang.Object
  extended by dbfeditor.DBFTableManager

public class DBFTableManager
extends java.lang.Object

DBFTableManager - This class is used for managing the changing of a DBF table. It provides service methods to be used by the event handlers.

Author:
Richard McKenna

Constructor Summary
DBFTableManager()
           
 
Method Summary
static DBFTable getDBFTable()
          This method returns the DBFTable which is being updated by the TableManager.
static void processSortRowsRequest(java.lang.String name)
          When called, this method will sort the table using the name field as the sorting criteria.
static void processToggleIncreasingRequest()
          When called this method will simply sort the table according to the current sorting criteria.
static void setDBFTable(DBFTable initDBFTable)
          This method sets the DBFTable to the DBFTable that is input.
static void setSortByFieldName(java.lang.String name)
          This method set the sortByFieldName to the new input String.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBFTableManager

public DBFTableManager()
Method Detail

setSortByFieldName

public static void setSortByFieldName(java.lang.String name)
This method set the sortByFieldName to the new input String.

Parameters:
name - New name to set the sortByFeildName variable.

setDBFTable

public static void setDBFTable(DBFTable initDBFTable)
This method sets the DBFTable to the DBFTable that is input.

Parameters:
initDBFTable - The new DBFTable to replace the original.

getDBFTable

public static DBFTable getDBFTable()
This method returns the DBFTable which is being updated by the TableManager.

Returns:
DBFTable Returns the DBFTable that was updated by the tableManager.

processToggleIncreasingRequest

public static void processToggleIncreasingRequest()
When called this method will simply sort the table according to the current sorting criteria.


processSortRowsRequest

public static void processSortRowsRequest(java.lang.String name)
When called, this method will sort the table using the name field as the sorting criteria.