javax.swing.text.html
Class FrameSetView
java.lang.Object
javax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
javax.swing.text.html.FrameSetView
- All Implemented Interfaces:
- SwingConstants
public class FrameSetView
- extends BoxView
Implements HTML framesets. This is implemented as a vertical box that
holds the rows of the frameset. Each row is again a horizontal box that
holds the actual columns.
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Method Summary |
protected void |
layoutMajorAxis(int targetSpan,
int axis,
int[] offsets,
int[] spans)
Performs the layout along the major axis of a BoxView . |
protected void |
loadChildren(ViewFactory f)
Loads the children and places them inside the grid. |
Methods inherited from class javax.swing.text.BoxView |
baselineLayout, baselineRequirements, calculateMajorAxisRequirements, calculateMinorAxisRequirements, childAllocation, flipEastAndWestAtEnds, forwardUpdate, getAlignment, getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getOffset, getPreferredSpan, getResizeWeight, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layout, layoutChanged, layoutMinorAxis, modelToView, paint, paintChild, preferenceChanged, replace, setAxis, setSize, viewToModel |
Methods inherited from class javax.swing.text.CompositeView |
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, modelToView, setInsets, setParagraphInsets, setParent |
Methods inherited from class javax.swing.text.View |
append, 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, viewToModel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loadChildren
protected void loadChildren(ViewFactory f)
- Loads the children and places them inside the grid.
- Overrides:
loadChildren
in class CompositeView
- Parameters:
f
- the view factory to use for creating new child views- See Also:
CompositeView.setParent(javax.swing.text.View)
layoutMajorAxis
protected void layoutMajorAxis(int targetSpan,
int axis,
int[] offsets,
int[] spans)
- Description copied from class:
BoxView
- Performs the layout along the major axis of a
BoxView
.
- Overrides:
layoutMajorAxis
in class BoxView
- Parameters:
targetSpan
- the (inner) span of the BoxView
in which
to layout the childrenaxis
- the axis along which the layout is performedoffsets
- the array that holds the offsets of the children on exitspans
- the array that holds the spans of the children on exit