logbook.table
Class LgBkTableColMapper

java.lang.Object
  extended by logbook.table.LgBkTableColMapper
All Implemented Interfaces:
LogBookRecordConstants

public class LgBkTableColMapper
extends java.lang.Object
implements LogBookRecordConstants

Maps table column positions with their corresponding logbook record data element. This allows having several JTables all pointing at one LogBookRecord


Field Summary
 
Fields inherited from interface logbook.constants.LogBookRecordConstants
ACTUAL_INSTRUMENT, AIRCRAFT_TYPE, AIRPLANE_MEL, AIRPLANE_SEL, COMPLEX, CROSS_COUNTRY, DATE, DAY, DUAL_GIVEN, DUAL_RECEIVED, FROM, GROUND_TRAINER, HIGH_PERF, ID_DB_PRM_KEY, LANDINGS_COUNT, NIGHT, NIGHT_LDGS, NO_INSTR_APP, PILOT_IN_COMMAND, REMARKS, SEA_LDGS, SIC, SIMULATED_INSTRUMENT, SOLO, SOLO_XCNTRY, TAIL_DRGR_LDGS, TAIL_NUMBER, TO, TOTAL_DURATION_OF_FLIGHT, TURBINE_PIC, TURBINE_SIC, TURBO_FAN, TURBO_PROP
 
Method Summary
 java.util.ArrayList<java.lang.String> getColMapList(int tableNum)
          Gets columnMapping list for the specified table
static LgBkTableColMapper getInstance()
          singleton global accessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LgBkTableColMapper getInstance()
singleton global accessor


getColMapList

public java.util.ArrayList<java.lang.String> getColMapList(int tableNum)
Gets columnMapping list for the specified table

Parameters:
table -
Returns:


Copyright © Chris Riffle - GNU Public Licence