クラス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リストを表示するビューの実装です。
-
フィールドのサマリー
クラス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
-
コンストラクタの詳細
-
ListView
-
-
メソッドの詳細
-
getAlignment
public float getAlignment(int axis) リストの適切な形状を計算します。- オーバーライド:
getAlignment、クラスBlockView- パラメータ:
axis- X_AXISまたはY_AXIS- 戻り値:
- 適切なスパン
- 関連項目:
-
paint
-
paintChild
子の1つをペイントします。paint()で呼び出されます。 デフォルトの機能はそれだけですが、サブクラスはこれを使って、子に関連するものを描画できます。- オーバーライド:
paintChild、クラスBoxView- パラメータ:
g- グラフィックス・コンテキストalloc- 子を描画するために割り当てられた領域index- 子のインデックス
-