|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.text.html.TableView.ColumnIterator
Field Summary | |
private int[] |
adjustmentWeights
|
private int |
col
Current column index |
private int[] |
offsets
|
private int[] |
percentages
percentage values (may be null since there might not be any). |
private int[] |
spans
|
static int |
WorstAdjustmentWeight
|
Constructor Summary | |
(package private) |
TableView.ColumnIterator()
|
Method Summary | |
(package private) void |
disablePercentages()
Disable percentage adjustments which should only apply when calculating layout, not requirements. |
int |
getAdjustmentWeight()
|
int |
getCount()
|
float |
getLeadingCollapseSpan()
|
float |
getMaximumSpan(float parentSpan)
|
float |
getMinimumSpan(float parentSpan)
|
int |
getOffset()
|
float |
getPreferredSpan(float parentSpan)
|
int |
getSpan()
|
float |
getTrailingCollapseSpan()
|
void |
setIndex(int i)
|
void |
setLayoutArrays(int[] offsets,
int[] spans,
int targetSpan)
Set the layout arrays to use for holding layout results |
void |
setOffset(int offs)
|
void |
setSpan(int span)
|
private void |
updatePercentagesAndAdjustmentWeights(int span)
Update percentage adjustments if they are needed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int col
private int[] percentages
private int[] adjustmentWeights
private int[] offsets
private int[] spans
public static final int WorstAdjustmentWeight
Constructor Detail |
TableView.ColumnIterator()
Method Detail |
void disablePercentages()
private void updatePercentagesAndAdjustmentWeights(int span)
public void setLayoutArrays(int[] offsets, int[] spans, int targetSpan)
public int getCount()
getCount
in interface CSS.LayoutIterator
public void setIndex(int i)
setIndex
in interface CSS.LayoutIterator
public void setOffset(int offs)
setOffset
in interface CSS.LayoutIterator
public int getOffset()
getOffset
in interface CSS.LayoutIterator
public void setSpan(int span)
setSpan
in interface CSS.LayoutIterator
public int getSpan()
getSpan
in interface CSS.LayoutIterator
public float getMinimumSpan(float parentSpan)
getMinimumSpan
in interface CSS.LayoutIterator
public float getPreferredSpan(float parentSpan)
getPreferredSpan
in interface CSS.LayoutIterator
public float getMaximumSpan(float parentSpan)
getMaximumSpan
in interface CSS.LayoutIterator
public float getLeadingCollapseSpan()
getLeadingCollapseSpan
in interface CSS.LayoutIterator
public float getTrailingCollapseSpan()
getTrailingCollapseSpan
in interface CSS.LayoutIterator
public int getAdjustmentWeight()
getAdjustmentWeight
in interface CSS.LayoutIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |