HATS 7.5.1 Web API Reference

Publicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product.

com.ibm.hats.transform.components
Class TableHeaderComponent

java.lang.Object
  extended by com.ibm.hats.transform.components.Component
      extended by com.ibm.hats.transform.components.AbstractTableComponent
          extended by com.ibm.hats.transform.components.TableHeaderComponent
All Implemented Interfaces:
ICustomPropertySupplier

public class TableHeaderComponent
extends AbstractTableComponent


Field Summary
static String CLASS_NAME
           
static String PROPERTY_MAX_ROWS
           
static String PROPERTY_MIN_COLS
           
static String PROPERTY_TABLEDEPTH
           
static String PROPERTY_TABLETYPE
           
 
Fields inherited from class com.ibm.hats.transform.components.AbstractTableComponent
defaults, PROPERTY_BETTER_FOUND_TABLE_HAS_BETTER_PARAMETER, PROPERTY_BETTER_FOUND_TABLE_HAS_LEAST, PROPERTY_CELL_BREAKS, PROPERTY_EXCLUDE_COLS, PROPERTY_EXCLUDE_ROWS, PROPERTY_INCLUDE_EMPTY_ROWS, PROPERTY_MIN_COLUMNS, PROPERTY_MIN_ROWS, PROPERTY_OVERRIDE_RENDERING_TYPE, PROPERTY_RENDER_BEHAVIOR_AS_DEFAULT, PROPERTY_RENDER_DEFAULT_AS_GUIDE, PROPERTY_TABLE_EVALUATION_SETTING_ABSTRACT_AREA, PROPERTY_TABLE_EVALUATION_SETTING_ABSTRACT_CELL_COUNT, PROPERTY_TABLE_EVALUATION_SETTING_ABSTRACT_COL_COUNT, PROPERTY_TABLE_EVALUATION_SETTING_ABSTRACT_FIRST, PROPERTY_TABLE_EVALUATION_SETTING_ABSTRACT_HEIGHT, PROPERTY_TABLE_EVALUATION_SETTING_ABSTRACT_SECOND, PROPERTY_TABLE_EVALUATION_SETTING_ABSTRACT_WIDTH, PROPERTY_TABLE_HIGHLIGHT_FIRST_ROW, PROPERTY_TABLE_HIGHLIGHT_PREVIOUS_ROW, SPREAD_SHEET_RECOGNIZE_REGION
 
Fields inherited from class com.ibm.hats.transform.components.Component
contextAttributes, flag, hostScreen
 
Fields inherited from interface com.ibm.hats.common.ICustomPropertySupplier
CLASSNAME
 
Constructor Summary
TableHeaderComponent(HsrScreen hostScreen)
           
 
Method Summary
 void createTableHeaderCell(com.ibm.hats.common.NumberedSet got, HsrScreen hs, int row, int col, int thisbreak, int span, List rowcells)
           
 boolean evalCharIsBreak(int row, int col, HsrScreen hs, Properties settings)
           
 ComponentElement[] recognize(BlockScreenRegion region, Properties settings)
          Method to recognize components in the specified BlockScreenRegion using the specified settings.
 ComponentElement[] recognize(BlockScreenRegion region, Properties settings, com.ibm.hats.common.NumberedSet ns)
           
 ComponentElement[] recognize(Properties settings, TableComponentElement tce)
           
 
Methods inherited from class com.ibm.hats.transform.components.AbstractTableComponent
assignSpreadsheetProperties, createEmptyFieldComponentElement, createHeaderRegions, createTableCell, createTableHeader, evalFirstRegionIsBetterTable, evalFirstRegionIsBetterTable, findTables, findTables, getCustomProperties, handleCleaningOfSet, handleRemovalFromSet, modifyDepthTree, previouslyRecognized, printIntArray, printNumberedSetTable, printNumberedSetTable, printNumberedSetTable, printNumberedSetTable, protectedandspace, recognize, refactorBreaks, removeEmptyBottomRowsFromRegion, testTable, testTable, track
 
Methods inherited from class com.ibm.hats.transform.components.Component
convertPosToCol, convertPosToRow, convertRowColToPos, findFirstDelimiterIndex, findFirstIndexOf, findFirstIndexOf, findFirstIndexOf, findFirstNonWhitespaceIndex, findFirstNonWhitespaceIndex, findFirstNonWhitespaceIndex, getContextAttribute, getContextAttributes, getCustomComposite, getDefaultValues, getHostScreen, getPropertyPageCount, getTrailingSpaceCount, newInstance, recognize, setContextAttribute, setContextAttributes, setHostScreen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
See Also:
Constant Field Values

PROPERTY_TABLETYPE

public static final String PROPERTY_TABLETYPE
See Also:
Constant Field Values

PROPERTY_TABLEDEPTH

public static final String PROPERTY_TABLEDEPTH
See Also:
Constant Field Values

PROPERTY_MAX_ROWS

public static final String PROPERTY_MAX_ROWS
See Also:
Constant Field Values

PROPERTY_MIN_COLS

public static final String PROPERTY_MIN_COLS
See Also:
Constant Field Values
Constructor Detail

TableHeaderComponent

public TableHeaderComponent(HsrScreen hostScreen)
Method Detail

evalCharIsBreak

public boolean evalCharIsBreak(int row,
                               int col,
                               HsrScreen hs,
                               Properties settings)
Specified by:
evalCharIsBreak in class AbstractTableComponent

createTableHeaderCell

public void createTableHeaderCell(com.ibm.hats.common.NumberedSet got,
                                  HsrScreen hs,
                                  int row,
                                  int col,
                                  int thisbreak,
                                  int span,
                                  List rowcells)

recognize

public ComponentElement[] recognize(BlockScreenRegion region,
                                    Properties settings,
                                    com.ibm.hats.common.NumberedSet ns)

recognize

public ComponentElement[] recognize(Properties settings,
                                    TableComponentElement tce)

recognize

public ComponentElement[] recognize(BlockScreenRegion region,
                                    Properties settings)
Description copied from class: Component
Method to recognize components in the specified BlockScreenRegion using the specified settings.

This method must be implemented if the base class is subclassed.

Specified by:
recognize in class Component
Parameters:
region - BlockScreenRegion to search in
settings - recognition settings
Returns:
an array of ComponentElement objects.

HATS 7.5.1 (201005110649)