javax.swing.text.html
Class TableView.RowIterator
java.lang.Object
javax.swing.text.html.TableView.RowIterator
- All Implemented Interfaces:
- CSS.LayoutIterator
- Enclosing class:
- TableView
- class TableView.RowIterator
- extends Object
- implements CSS.LayoutIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
row
private int row
- Current row index
adjustments
private int[] adjustments
- Adjustments to the row requirements to handle multi-row
table cells.
offsets
private int[] offsets
spans
private int[] spans
WorstAdjustmentWeight
public static final int WorstAdjustmentWeight
- See Also:
- Constant Field Values
TableView.RowIterator
TableView.RowIterator()
updateAdjustments
void updateAdjustments()
adjustMultiRowSpan
void adjustMultiRowSpan(int spanNeeded,
int nrows,
int rowIndex)
- Fixup preferences to accomodate a multi-row table cell
if not already covered by existing preferences. This is
a no-op if not all of the rows needed (to do this check/fixup)
have arrived yet.
setLayoutArrays
void setLayoutArrays(int[] offsets,
int[] spans)
setOffset
public void setOffset(int offs)
- Specified by:
setOffset
in interface CSS.LayoutIterator
getOffset
public int getOffset()
- Specified by:
getOffset
in interface CSS.LayoutIterator
setSpan
public void setSpan(int span)
- Specified by:
setSpan
in interface CSS.LayoutIterator
getSpan
public int getSpan()
- Specified by:
getSpan
in interface CSS.LayoutIterator
getCount
public int getCount()
- Specified by:
getCount
in interface CSS.LayoutIterator
setIndex
public void setIndex(int i)
- Specified by:
setIndex
in interface CSS.LayoutIterator
getMinimumSpan
public float getMinimumSpan(float parentSpan)
- Specified by:
getMinimumSpan
in interface CSS.LayoutIterator
getPreferredSpan
public float getPreferredSpan(float parentSpan)
- Specified by:
getPreferredSpan
in interface CSS.LayoutIterator
getMaximumSpan
public float getMaximumSpan(float parentSpan)
- Specified by:
getMaximumSpan
in interface CSS.LayoutIterator
getLeadingCollapseSpan
public float getLeadingCollapseSpan()
- Specified by:
getLeadingCollapseSpan
in interface CSS.LayoutIterator
getTrailingCollapseSpan
public float getTrailingCollapseSpan()
- Specified by:
getTrailingCollapseSpan
in interface CSS.LayoutIterator
getAdjustmentWeight
public int getAdjustmentWeight()
- Specified by:
getAdjustmentWeight
in interface CSS.LayoutIterator