java.lang.Object
javax.swing.text.View
javax.swing.text.CompositeView
javax.swing.text.BoxView
javax.swing.text.html.BlockView
javax.swing.text.html.ListView
- すべての実装されたインタフェース:
- SwingConstants
public class ListView extends BlockView
HTMLリストを表示するビューの実装です。
- 
フィールドのサマリークラス javax.swing.text.Viewで宣言されたフィールドBadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISインタフェース 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
- 
コンストラクタのサマリーコンストラクタ
- 
メソッドのサマリー修飾子と型メソッド説明floatgetAlignment(int axis)リストの適切な形状を計算します。void指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。protected voidpaintChild(Graphics g, Rectangle alloc, int index)子の1つをペイントします。paint()で呼び出されます。クラス javax.swing.text.html.BlockViewで宣言されたメソッドcalculateMajorAxisRequirements, calculateMinorAxisRequirements, getAttributes, getMaximumSpan, getMinimumSpan, getPreferredSpan, getResizeWeight, getStyleSheet, layoutMinorAxis, setParent, setPropertiesFromAttributesクラス javax.swing.text.BoxViewで宣言されたメソッドbaselineLayout, baselineRequirements, childAllocation, flipEastAndWestAtEnds, forwardUpdate, getAxis, getChildAllocation, getHeight, getOffset, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layout, layoutChanged, layoutMajorAxis, modelToView, preferenceChanged, replace, setAxis, setSize, viewToModelクラス javax.swing.text.CompositeViewで宣言されたメソッドgetBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsetsクラス javax.swing.text.Viewで宣言されたメソッドappend, breakView, changedUpdate, createFragment, forwardUpdateToView, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModel
- 
コンストラクタの詳細- 
ListViewpublic ListView(Element elem)リスト要素を表す新しいビューを作成します。- パラメータ:
- elem- ビューを作成する要素
 
 
- 
- 
メソッドの詳細- 
getAlignmentpublic float getAlignment(int axis)リストの適切な形状を計算します。- オーバーライド:
- getAlignment、クラス:- BlockView
- パラメータ:
- axis- X_AXISまたはY_AXIS
- 戻り値:
- 適切なスパン
- 関連項目:
- View.getPreferredSpan(int)
 
- 
paint指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。- オーバーライド:
- paint、クラス:- BlockView
- パラメータ:
- g- 使用する描画表面
- allocation- 描画するために割り当てられた領域
- 関連項目:
- View.paint(java.awt.Graphics, java.awt.Shape)
 
- 
paintChild子の1つをペイントします。paint()で呼び出されます。 デフォルトの機能はそれだけですが、サブクラスはこれを使って、子に関連するものを描画できます。- オーバーライド:
- paintChild、クラス:- BoxView
- パラメータ:
- g- グラフィックス・コンテキスト
- alloc- 子を描画するために割り当てられた領域
- index- 子のインデックス
 
 
-