public class TableView.TableRow extends BoxView
TableView.
This is implemented as a horizontal box that contains the actual cells
of the table.BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| Constructor and Description |
|---|
TableView.TableRow(Element el)
Creates a new instance of
TableRow. |
| Modifier and Type | Method and Description |
|---|---|
int |
getResizeWeight(int axis)
Determines the resizeability of this view along the specified axis.
|
protected View |
getViewAtPosition(int pos,
Rectangle a)
Returns the child view that represents the specified position in the
model.
|
protected void |
layoutMajorAxis(int targetSpan,
int axis,
int[] offsets,
int[] spans)
Lays out the box's child views along the major axis.
|
protected void |
layoutMinorAxis(int targetSpan,
int axis,
int[] offsets,
int[] spans)
Lays out the box's child views along the minor axis (the orthogonal axis
to the major axis).
|
void |
replace(int offset,
int length,
View[] views)
Replaces some child views with a new set of child views.
|
baselineLayout, baselineRequirements, calculateMajorAxisRequirements, calculateMinorAxisRequirements, childAllocation, flipEastAndWestAtEnds, forwardUpdate, getAlignment, getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getOffset, getPreferredSpan, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layout, layoutChanged, modelToView, paint, paintChild, preferenceChanged, setAxis, setSize, viewToModelgetBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsets, setParentappend, breakView, changedUpdate, createFragment, dump, forwardUpdateToView, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModelpublic TableView.TableRow(Element el)
TableRow.el - the element for which to create a row viewpublic void replace(int offset, int length, View[] views)
protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans)
layoutMajorAxis in class BoxViewtargetSpan - the total span of the viewaxis - the axis that is laid outoffsets - an array that holds the offsets of the child views after
this method returnedspans - an array that holds the spans of the child views after this
method returnedprotected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans)
layoutMinorAxis in class BoxViewtargetSpan - the total span of the viewaxis - the axis that is laid outoffsets - an array that holds the offsets of the child views after
this method returnedspans - an array that holds the spans of the child views after this
method returnedpublic int getResizeWeight(int axis)
getResizeWeight in class BoxViewaxis - the axis of which to fetch the resizabilityIllegalArgumentException - when an illegal axis is specifiedprotected View getViewAtPosition(int pos, Rectangle a)
getViewAtPosition in class CompositeViewpos - the model position for which to query the viewa - the allocation of this viewnull if there is none