org.omnaest.utils.structure.table.internal
Interface TableInternal.CellAndStripeResolver<E>

Type Parameters:
E -
All Superinterfaces:
Serializable, Table.TableComponent, TableInternal.TableComponentInternal
All Known Implementing Classes:
CellAndStripeResolverAbstract, CellAndStripeResolverImpl
Enclosing interface:
TableInternal<E>

public static interface TableInternal.CellAndStripeResolver<E>
extends TableInternal.TableComponentInternal

Author:
Omnaest
See Also:
TableInternal

Method Summary
 Table.Cell<E> resolveCell(int cellIndexPosition)
          Resolves a Table.Cell by its Table.Cell index position.
 Table.Cell<E> resolveCell(int rowIndexPosition, int columnIndexPosition)
          Resolves the Table.Cell for the given index positions.
 Table.Cell<E> resolveCell(int rowIndexPosition, Object columnTitleValue)
          Resolves a Table.Cell by the Table.Row index position and the Table.Column title value
 Table.Cell<E> resolveCell(int rowIndexPosition, TableInternal.StripeInternal<E> column)
          Resolves a Table.Cell by a row index position and a Table.Column.
 Table.Cell<E> resolveCell(Object rowTitleValue, int columnIndexPosition)
          Resolves a Table.Cell by the Table.Row title value and the Table.Column index position
 Table.Cell<E> resolveCell(Object rowTitleValue, Object columnTitleValue)
          Resolves a Table.Cell by the Table.Row title value and the Table.Column title value
 Table.Cell<E> resolveCell(Object rowTitleValue, TableInternal.StripeInternal<E> column)
          Resolves a Table.Cell by the Table.Stripe.Title.getValue() of the Table.Row and the Table.Column
 Table.Cell<E> resolveCell(TableInternal.StripeData<E> stripe, int indexPosition)
          Resolves a Table.Cell by a given Table.Stripe and the complementary index position
 Table.Cell<E> resolveCell(TableInternal.StripeData<E> stripe, Object titleValue)
          Resolves a Table.Cell by a given Table.Stripe and the title value of the orthogonal stripe
 Table.Cell<E> resolveCell(TableInternal.StripeData<E> stripeData, TableInternal.StripeData<E> stripeDataOrthogonal)
          Resolves a Table.Cell by two orthogonal TableInternal.StripeData instances
 Table.Cell<E> resolveCell(TableInternal.StripeInternal<E> row, int columnIndexPosition)
          Resolves a Table.Cell for the given Table.Row and Table.Column index position.
 Table.Cell<E> resolveCell(TableInternal.StripeInternal<E> row, Object columnTitleValue)
          Resolves a Table.Cell by the Table.Row and the Table.Stripe.Title.getValue() of the Table.Column
 Table.Cell<E> resolveCell(TableInternal.StripeInternal<E> row, TableInternal.StripeInternal<E> column)
          Resolves a Table.Cell by a given Table.Row and Table.Column
 TableInternal.StripeData<E> resolveColumnStripeData(int columnIndexPosition)
          Resolves a ColumnInternal for the given Table.Column index position.
 TableInternal.StripeData<E> resolveColumnStripeData(Object titleValue)
          Resolves the Table.Column by the given Table.Stripe.Title.getValue()
 Table.Cell<E> resolveOrCreateCell(int cellIndexPosition)
          Resolves a Table.Cell by its Table.Cell index position or creates it if it cannot be resolved.
 Table.Cell<E> resolveOrCreateCell(int rowIndexPosition, int columnIndexPosition)
          Resolves a Table.Cell by its Table.Row and Table.Column index positions.
 Table.Cell<E> resolveOrCreateCell(int rowIndexPosition, TableInternal.StripeInternal<E> column)
          Tries to resolve a Table.Cell by the given Table.Row index position and a given Table.Column.
 Table.Cell<E> resolveOrCreateCell(TableInternal.StripeData<E> stripeInternal, int indexPosition)
          Tries to resolve or create a Table.Cell for the given Table.Stripe instance and its orthogonal Table.Stripe and index position relation
 Table.Cell<E> resolveOrCreateCell(TableInternal.StripeData<E> stripeInternal, Object titleValue)
          Tries to resolve or create a Table.Cell for the given Table.Stripe instance and its orthogonal Table.Stripe with the given Table.Stripe.Title.getValue()
 Table.Cell<E> resolveOrCreateCell(TableInternal.StripeData<E> stripeData, TableInternal.StripeData<E> stripeDataOrthogonal)
          Tries to resolve or creates a Table.Cell by two orthogonal TableInternal.StripeData instances
 Table.Cell<E> resolveOrCreateCell(TableInternal.StripeInternal<E> row, int columnIndexPosition)
          Tries to resolve a Table.Cell by the given Table.Row and Table.Column index position.
 Table.Cell<E> resolveOrCreateCell(TableInternal.StripeInternal<E> row, TableInternal.StripeInternal<E> column)
          Tries to resolve a Table.Cell by a given RowInternal and ColumnInternal.
 Table.Cell<E> resolveOrCreateCellWithinNewTableArea(int cellIndexPosition)
          Resolves or creates a Table.Cell even if it is out of the current Table area
 Table.Cell<E> resolveOrCreateCellWithinNewTableArea(int rowIndexPosition, int columnIndexPosition)
          Resolves or creates a Table.Cell even if it is out of the current Table area
 Table.Cell<E> resolveOrCreateCellWithinNewTableArea(int rowIndexPosition, TableInternal.StripeInternal<E> column)
          Resolves or creates a Table.Cell even if it is out of the current Table area
 Table.Cell<E> resolveOrCreateCellWithinNewTableArea(TableInternal.StripeData<E> stripeData, int indexPosition)
          Resolves or creates a Table.Cell even if it is out of the current Table area
 Table.Cell<E> resolveOrCreateCellWithinNewTableArea(TableInternal.StripeData<E> stripeData, Object titleValue)
          Resolves or creates a Table.Cell even if it is out of the current Table area
 Table.Cell<E> resolveOrCreateCellWithinNewTableArea(TableInternal.StripeInternal<E> row, int columnIndexPosition)
          Resolves or creates a Table.Cell even if it is out of the current Table area
 TableInternal.StripeData<E> resolveOrCreateColumnStripeData(int columnIndexPosition)
          Tries to resolve the Table.Column for the given Table.Column index position.
 TableInternal.StripeData<E> resolveOrCreateRowStripeData(int rowIndexPosition)
          Tries to resolve the Table.Row for the given Table.Row index position.
 TableInternal.StripeData<E> resolveOrCreateStripeData(Table.Stripe.StripeType stripeType, int indexPosition)
          Tries to resolve a TableInternal.StripeData instance for the given index position and Table.Stripe.StripeType.
 TableInternal.StripeData<E> resolveOrCreateStripeData(Table.Stripe.StripeType stripeType, Object titleValue)
          Tries to resolve a TableInternal.StripeData instance for the given index position and Table.Stripe.StripeType.
 TableInternal.StripeData<E> resolveRowStripeData(int rowIndexPosition)
          Resolves a RowInternal for the given Table.Row index position.
 TableInternal.StripeData<E> resolveRowStripeData(Object titleValue)
          Resolves the Table.Row by the given Table.Stripe.Title.getValue()
 TableInternal.StripeData<E> resolveStripeData(Table.Stripe.StripeType stripeType, int indexPosition)
          Resolves the Table.Stripe for the given Table.Stripe.StripeType and index position from the internal Table reference.
 

Method Detail

resolveCell

Table.Cell<E> resolveCell(int rowIndexPosition,
                          int columnIndexPosition)
Resolves the Table.Cell for the given index positions.

Parameters:
rowIndexPosition -
columnIndexPosition -
Returns:

resolveCell

Table.Cell<E> resolveCell(TableInternal.StripeInternal<E> row,
                          int columnIndexPosition)
Resolves a Table.Cell for the given Table.Row and Table.Column index position.

Parameters:
row -
columnIndexPosition -
Returns:

resolveCell

Table.Cell<E> resolveCell(int rowIndexPosition,
                          TableInternal.StripeInternal<E> column)
Resolves a Table.Cell by a row index position and a Table.Column.

Parameters:
rowIndexPosition -
column -
Returns:

resolveCell

Table.Cell<E> resolveCell(TableInternal.StripeInternal<E> row,
                          TableInternal.StripeInternal<E> column)
Resolves a Table.Cell by a given Table.Row and Table.Column

Parameters:
row -
column -
Returns:

resolveCell

Table.Cell<E> resolveCell(TableInternal.StripeData<E> stripe,
                          int indexPosition)
Resolves a Table.Cell by a given Table.Stripe and the complementary index position

Parameters:
stripe -
indexPosition -
Returns:

resolveCell

Table.Cell<E> resolveCell(TableInternal.StripeData<E> stripe,
                          Object titleValue)
Resolves a Table.Cell by a given Table.Stripe and the title value of the orthogonal stripe

Parameters:
stripe -
titleValue -
Returns:

resolveColumnStripeData

TableInternal.StripeData<E> resolveColumnStripeData(int columnIndexPosition)
Resolves a ColumnInternal for the given Table.Column index position.

Parameters:
columnIndexPosition -
Returns:

resolveOrCreateColumnStripeData

TableInternal.StripeData<E> resolveOrCreateColumnStripeData(int columnIndexPosition)
Tries to resolve the Table.Column for the given Table.Column index position. If the Table.Column does not exists but would have a valid Table.Column index position it will be created.

Parameters:
columnIndexPosition -
Returns:

resolveRowStripeData

TableInternal.StripeData<E> resolveRowStripeData(int rowIndexPosition)
Resolves a RowInternal for the given Table.Row index position.

Parameters:
rowIndexPosition -
Returns:

resolveOrCreateRowStripeData

TableInternal.StripeData<E> resolveOrCreateRowStripeData(int rowIndexPosition)
Tries to resolve the Table.Row for the given Table.Row index position. If the Table.Row does not exists but would have a valid Table.Row index position it will be created.

Parameters:
rowIndexPosition -
Returns:

resolveOrCreateStripeData

TableInternal.StripeData<E> resolveOrCreateStripeData(Table.Stripe.StripeType stripeType,
                                                      int indexPosition)
Tries to resolve a TableInternal.StripeData instance for the given index position and Table.Stripe.StripeType. If no Table.Stripe instance could be resolved for the given valid index position as many are created until there is an instance available for the given index position.

Parameters:
stripeType -
indexPosition -
Returns:

resolveOrCreateStripeData

TableInternal.StripeData<E> resolveOrCreateStripeData(Table.Stripe.StripeType stripeType,
                                                      Object titleValue)
Tries to resolve a TableInternal.StripeData instance for the given index position and Table.Stripe.StripeType. If no Table.Stripe instance could be resolved for the given valid Table.Stripe.Title.getValue() a new Table.Stripe is created with the given Table.Stripe.Title.getValue().

Parameters:
stripeType -
titleValue -
Returns:

resolveStripeData

TableInternal.StripeData<E> resolveStripeData(Table.Stripe.StripeType stripeType,
                                              int indexPosition)
Resolves the Table.Stripe for the given Table.Stripe.StripeType and index position from the internal Table reference.

Parameters:
stripeType -
indexPosition -
Returns:

resolveRowStripeData

TableInternal.StripeData<E> resolveRowStripeData(Object titleValue)
Resolves the Table.Row by the given Table.Stripe.Title.getValue()

Parameters:
titleValue -
Returns:

resolveColumnStripeData

TableInternal.StripeData<E> resolveColumnStripeData(Object titleValue)
Resolves the Table.Column by the given Table.Stripe.Title.getValue()

Parameters:
titleValue -
Returns:

resolveCell

Table.Cell<E> resolveCell(Object rowTitleValue,
                          TableInternal.StripeInternal<E> column)
Resolves a Table.Cell by the Table.Stripe.Title.getValue() of the Table.Row and the Table.Column

Parameters:
rowTitleValue -
column -
Returns:

resolveCell

Table.Cell<E> resolveCell(TableInternal.StripeInternal<E> row,
                          Object columnTitleValue)
Resolves a Table.Cell by the Table.Row and the Table.Stripe.Title.getValue() of the Table.Column

Parameters:
row -
columnTitleValue -
Returns:

resolveOrCreateCell

Table.Cell<E> resolveOrCreateCell(TableInternal.StripeInternal<E> row,
                                  TableInternal.StripeInternal<E> column)
Tries to resolve a Table.Cell by a given RowInternal and ColumnInternal. If there is no Table.Cell available a new one is created.

Parameters:
row -
column -
Returns:

resolveOrCreateCell

Table.Cell<E> resolveOrCreateCell(TableInternal.StripeInternal<E> row,
                                  int columnIndexPosition)
Tries to resolve a Table.Cell by the given Table.Row and Table.Column index position. If no Table.Cell is available a new one will be created.

Parameters:
row -
columnIndexPosition -
Returns:

resolveOrCreateCell

Table.Cell<E> resolveOrCreateCell(int rowIndexPosition,
                                  TableInternal.StripeInternal<E> column)
Tries to resolve a Table.Cell by the given Table.Row index position and a given Table.Column. If no Table.Cell is available a new one will be created.

Parameters:
rowIndexPosition -
column -
Returns:

resolveCell

Table.Cell<E> resolveCell(int cellIndexPosition)
Resolves a Table.Cell by its Table.Cell index position. The Table.Cell index position is counted from left to right starting from top to bottom of the Table. First index position is 0. If the Table.Cell index position is out of boundary null is returned.

Parameters:
cellIndexPosition -
Returns:

resolveOrCreateCell

Table.Cell<E> resolveOrCreateCell(int cellIndexPosition)
Resolves a Table.Cell by its Table.Cell index position or creates it if it cannot be resolved. The Table.Cell index position is counted from left to right starting from top to bottom of the Table. First index position is 0. If the Table.Cell index position is out of boundary null is returned.

Parameters:
cellIndexPosition -
Returns:

resolveOrCreateCell

Table.Cell<E> resolveOrCreateCell(int rowIndexPosition,
                                  int columnIndexPosition)
Resolves a Table.Cell by its Table.Row and Table.Column index positions. If no Table.Cell can be resolved a new one is created.

Parameters:
rowIndexPosition -
columnIndexPosition -
Returns:

resolveCell

Table.Cell<E> resolveCell(TableInternal.StripeData<E> stripeData,
                          TableInternal.StripeData<E> stripeDataOrthogonal)
Resolves a Table.Cell by two orthogonal TableInternal.StripeData instances

Parameters:
stripeData -
stripeDataOrthogonal -
Returns:

resolveOrCreateCell

Table.Cell<E> resolveOrCreateCell(TableInternal.StripeData<E> stripeData,
                                  TableInternal.StripeData<E> stripeDataOrthogonal)
Tries to resolve or creates a Table.Cell by two orthogonal TableInternal.StripeData instances

Parameters:
stripeData -
stripeDataOrthogonal -
Returns:

resolveOrCreateCell

Table.Cell<E> resolveOrCreateCell(TableInternal.StripeData<E> stripeInternal,
                                  int indexPosition)
Tries to resolve or create a Table.Cell for the given Table.Stripe instance and its orthogonal Table.Stripe and index position relation

Parameters:
stripeInternal -
indexPosition -
Returns:

resolveOrCreateCell

Table.Cell<E> resolveOrCreateCell(TableInternal.StripeData<E> stripeInternal,
                                  Object titleValue)
Tries to resolve or create a Table.Cell for the given Table.Stripe instance and its orthogonal Table.Stripe with the given Table.Stripe.Title.getValue()

Parameters:
stripeInternal -
titleValue -
Returns:

resolveCell

Table.Cell<E> resolveCell(int rowIndexPosition,
                          Object columnTitleValue)
Resolves a Table.Cell by the Table.Row index position and the Table.Column title value

Parameters:
rowIndexPosition -
columnTitleValue -
Returns:

resolveCell

Table.Cell<E> resolveCell(Object rowTitleValue,
                          int columnIndexPosition)
Resolves a Table.Cell by the Table.Row title value and the Table.Column index position

Parameters:
rowTitleValue -
columnIndexPosition -
Returns:

resolveCell

Table.Cell<E> resolveCell(Object rowTitleValue,
                          Object columnTitleValue)
Resolves a Table.Cell by the Table.Row title value and the Table.Column title value

Parameters:
rowTitleValue -
columnTitleValue -
Returns:

resolveOrCreateCellWithinNewTableArea

Table.Cell<E> resolveOrCreateCellWithinNewTableArea(int rowIndexPosition,
                                                    int columnIndexPosition)
Resolves or creates a Table.Cell even if it is out of the current Table area

Parameters:
rowIndexPosition -
columnIndexPosition -
Returns:

resolveOrCreateCellWithinNewTableArea

Table.Cell<E> resolveOrCreateCellWithinNewTableArea(int rowIndexPosition,
                                                    TableInternal.StripeInternal<E> column)
Resolves or creates a Table.Cell even if it is out of the current Table area

Parameters:
rowIndexPosition -
column -
Returns:

resolveOrCreateCellWithinNewTableArea

Table.Cell<E> resolveOrCreateCellWithinNewTableArea(TableInternal.StripeInternal<E> row,
                                                    int columnIndexPosition)
Resolves or creates a Table.Cell even if it is out of the current Table area

Parameters:
row -
columnIndexPosition -
Returns:

resolveOrCreateCellWithinNewTableArea

Table.Cell<E> resolveOrCreateCellWithinNewTableArea(TableInternal.StripeData<E> stripeData,
                                                    int indexPosition)
Resolves or creates a Table.Cell even if it is out of the current Table area

Parameters:
stripeData -
indexPosition -
Returns:

resolveOrCreateCellWithinNewTableArea

Table.Cell<E> resolveOrCreateCellWithinNewTableArea(int cellIndexPosition)
Resolves or creates a Table.Cell even if it is out of the current Table area

Parameters:
cellIndexPosition -
Returns:

resolveOrCreateCellWithinNewTableArea

Table.Cell<E> resolveOrCreateCellWithinNewTableArea(TableInternal.StripeData<E> stripeData,
                                                    Object titleValue)
Resolves or creates a Table.Cell even if it is out of the current Table area

Parameters:
stripeData -
titleValue -
Returns:


Copyright © 2011. All Rights Reserved.