javax.swing.text.html
クラス 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.SwingConstants から継承したフィールド |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NORTH, NORTH_EAST, NORTH_WEST, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
クラス javax.swing.text.BoxView から継承したメソッド |
baselineLayout, baselineRequirements, childAllocation, flipEastAndWestAtEnds, forwardUpdate, getAxis, getChildAllocation, getHeight, getMaximumSpan, getMinimumSpan, getOffset, getPreferredSpan, getSpan, getViewAtPoint, getWidth, isAfter, isAllocationValid, isBefore, 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, createFragment, forwardUpdateToView, getBreakWeight, getContainer, getDocument, getElement, getEndOffset, getGraphics, getParent, getStartOffset, getViewFactory, insert, insertUpdate, isVisible, modelToView, remove, removeAll, removeUpdate, updateChildren, updateLayout, viewToModel |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListView
public ListView(Element elem)
- リスト要素を表す新しいビューを作成します。
- パラメータ:
elem
- ビューを作成する要素
getAlignment
public float getAlignment(int axis)
- リストの適切な形状を算出します。
- オーバーライド:
- クラス
BlockView
内の getAlignment
- 戻り値:
- 適切なスパン
- 関連項目:
View.getPreferredSpan(int)
paint
public void paint(Graphics g,
Shape allocation)
- 指定された描画表面およびその表面上の領域を使って描画します。
- オーバーライド:
- クラス
BlockView
内の paint
- パラメータ:
g
- 使用する描画表面allocation
- 描画のために割り当てられた領域- 関連項目:
View.paint(java.awt.Graphics, java.awt.Shape)
paintChild
protected void paintChild(Graphics g,
Rectangle alloc,
int index)
- 子の 1 つを描画します。paint() で呼び出されます。デフォルトではそれ以外の処理は行いませんが、サブクラスはこれを使用して子に関連する事象を描画することができます。
- オーバーライド:
- クラス
BoxView
内の paintChild
- パラメータ:
g
- グラフィックスコンテキストalloc
- 子を描画する割り当て領域index
- 子のインデックス
setPropertiesFromAttributes
protected void setPropertiesFromAttributes()
- クラス
BlockView
の記述:
- 属性に由来する値がキャッシュに書き込まれていれば、それを更新します。
- オーバーライド:
- クラス
BlockView
内の setPropertiesFromAttributes
バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。 Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.