public class ListView extends BlockView
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXISBOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST| 修飾子と型 | メソッド | 説明 |
|---|---|---|
float |
getAlignment(int axis) |
リストの適切な形状を計算します。
|
void |
paint(Graphics g, Shape allocation) |
指定されたレンダリング表面およびその表面上の領域を使ってレンダリングします。
|
protected void |
paintChild(Graphics g, Rectangle alloc, int index) |
子の1つをペイントします。paint()で呼び出されます。
|
protected void |
setPropertiesFromAttributes() |
属性に由来する値がキャッシュに書き込まれていれば、それを更新します。
|
calculateMajorAxisRequirements, calculateMinorAxisRequirements, changedUpdate, getAttributes, getMaximumSpan, getMinimumSpan, getPreferredSpan, getResizeWeight, getStyleSheet, layoutMinorAxis, setParentbaselineLayout, baselineRequirements, childAllocation, flipEastAndWestAtEnds, forwardUpdate, getAxis, getChildAllocation, getHeight, getOffset, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, isLayoutValid, layout, layoutChanged, layoutMajorAxis, modelToView, preferenceChanged, replace, setAxis, setSize, viewToModelgetBottomInset, getInsideAllocation, getLeftInset, getNextEastWestVisualPositionFrom, getNextNorthSouthVisualPositionFrom, getNextVisualPositionFrom, getRightInset, getTopInset, getView, getViewAtPosition, getViewCount, getViewIndex, getViewIndexAtPosition, loadChildren, modelToView, setInsets, setParagraphInsetsappend, breakView, createFragment, forwardUpdateToView, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getToolTipText, getViewFactory, getViewIndex, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModelpublic ListView(Element elem)
elem - ビューを作成する要素public float getAlignment(int axis)
getAlignment、クラスBlockViewaxis - X_AXISまたはY_AXISView.getPreferredSpan(int)public void paint(Graphics g, Shape allocation)
paint、クラスBlockViewg - 使用する描画表面allocation - 描画するために割り当てられた領域View.paint(java.awt.Graphics, java.awt.Shape)protected void paintChild(Graphics g, Rectangle alloc, int index)
paintChild、クラスBoxViewg - グラフィックス・コンテキストalloc - 子を描画するために割り当てられた領域index - 子のインデックスprotected void setPropertiesFromAttributes()
BlockViewsetPropertiesFromAttributes、クラスBlockView バグまたは機能を送信
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。 そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Documentation Redistribution Policyも参照してください。