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)リストの適切な形状を計算します。voidpaint(Graphics g, Shape allocation)指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。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
-
コンストラクタの詳細
-
メソッドの詳細
-
getAlignment
public 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- 子のインデックス
-