com.ibm.hats.transform.components
Class TableHeaderComponent
java.lang.Object
com.ibm.hats.transform.components.Component
com.ibm.hats.transform.components.AbstractTableComponent
com.ibm.hats.transform.components.TableHeaderComponent
- All Implemented Interfaces:
- ICustomPropertySupplier
public class TableHeaderComponent
- extends AbstractTableComponent
| 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 |
|
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 |
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
TableHeaderComponent
public TableHeaderComponent(HsrScreen hostScreen)
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 insettings - recognition settings
- Returns:
- an array of ComponentElement objects.