クラスListView
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リストを表示するビューの実装です。
-
フィールドのサマリー
クラスビューで宣言されたフィールド
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISインタフェースで宣言されたフィールド 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()で呼び出されます。クラスで宣言されたメソッド BlockView
calculateMajorAxisRequirements, calculateMinorAxisRequirements, getAttributes, getMaximumSpan, getMinimumSpan, getPreferredSpan, getResizeWeight, getStyleSheet, layoutMinorAxis, setParent, setPropertiesFromAttributesクラスで宣言されたメソッド 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クラスで宣言されたメソッド CompositeView
getBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsetsViewクラスで宣言されたメソッド
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
-
コンストラクタの詳細
-
ListView
-
-
メソッドの詳細
-
getAlignment
public float getAlignment(int axis) リストの適切な形状を計算します。- オーバーライド:
getAlignment、クラスBlockView- パラメータ:
axis- X_AXISまたはY_AXIS- 戻り値:
- 適切なスパン
- 関連項目:
-
paint
-
paintChild
子の1つをペイントします。paint()で呼び出されます。 デフォルトの機能はそれだけですが、サブクラスはこれを使って、子に関連するものを描画できます。- オーバーライド:
paintChild、クラスBoxView- パラメータ:
g- グラフィックス・コンテキストalloc- 子を描画するために割り当てられた領域index- 子のインデックス
-