public class TableView.TableRow extends BoxView
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| Modifier and Type | Method and Description | 
|---|---|
| int | getResizeWeight(int axis)
              确定沿着给定轴的视图的可复位性。 
             | 
| protected View | getViewAtPosition(int pos, Rectangle a)
              获取代表模型中给定位置的子视图。 
             | 
| protected void | layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans)
              执行框的主轴的布局(即 
             | 
| protected void | layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans)
              执行框的短轴的布局(即 
             | 
| void | replace(int offset, int length, View[] 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, forwardUpdateToView, getAttributes, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModelpublic TableRow(Element elem)
elem - 该视图负责的元素 
           public void replace(int offset,
                    int length,
                    View[] views) 
          protected void layoutMajorAxis(int targetSpan,
                               int axis,
                               int[] offsets,
                               int[] spans) 
          这是重新实现的,以给每个孩子表的列的宽度的跨度,并给出多列跨越多列的单元格。
layoutMajorAxis在 
            BoxView类 
           targetSpan - 给予视图的总跨度,这将用于布局孩子。 
           axis - 轴被 
            axis 。 
           offsets - 每个子视图的视图原点的偏移量。 
            这是一个返回值并通过执行此方法填充。 
           spans - 每个子视图的跨度。 
            这是一个返回值并通过执行此方法填充。 
           protected void layoutMinorAxis(int targetSpan,
                               int axis,
                               int[] offsets,
                               int[] spans) 
          这被实现以委托给超类,然后调整跨越多行的任何单元格的跨度。
layoutMinorAxis在 
            BoxView 
           targetSpan - 给予视图的总跨度,这将用于布局孩子。 
           axis - 轴被 
            axis 。 
           offsets - 每个子视图的视图原点的偏移量。 
            这是一个返回值并通过执行此方法填充。 
           spans - 每个子视图的跨度。 
            这是一个返回值并通过执行此方法填充。 
           public int getResizeWeight(int axis)
getResizeWeight在 
            BoxView 
           axis - 可以是View.X_AXIS或View.Y_AXIS 
           IllegalArgumentException - 针对无效轴 
           protected View getViewAtPosition(int pos, Rectangle a)
getViewAtPosition在 
            CompositeView 
           pos - 搜索位置> = 0 
           a - 对入口分配表,以及在退出时包含位置的视图分配 
           null 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.