|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
cvj2.gui.swt.widgets.gdidpanel.GridPanel
public class GridPanel
縦横にセルを並べるパネル (縦スクロールバー付き)
入れ子のクラスの概要 | |
---|---|
static interface |
GridPanel.CellPainter
セルに対する描画要求 |
static interface |
GridPanel.ColumnPainter
列ヘッダー描画 |
static interface |
GridPanel.ColumnSelectionListener
列ヘッダー選択通知 |
static interface |
GridPanel.GridSelectionListener
選択状態の変更通知 |
static interface |
GridPanel.Model
セルデータのリスト |
static interface |
GridPanel.ModelListener
セルデータのリストの変更通知 |
static class |
GridPanel.MouseScrollType
マウスホイールによるスクロール種別 |
static class |
GridPanel.NullColumnPainter
何もしないダミークラス |
フィールドの概要 |
---|
クラス org.eclipse.swt.widgets.Composite から継承されたフィールド |
---|
embeddedHandle |
クラス org.eclipse.swt.widgets.Widget から継承されたフィールド |
---|
handle |
コンストラクタの概要 | |
---|---|
GridPanel(Composite parent,
int style)
コンストラクタ |
|
GridPanel(Composite parent,
int style,
int dndStyle)
コンストラクタ |
メソッドの概要 | |
---|---|
Canvas |
getCanvas()
|
DragSource |
getDragSource()
DragSource の取得 (コンストラクタで生成を指示しておくこと) |
DropTarget |
getDropTarget()
DropTarget の取得 (コンストラクタで生成を指示しておくこと) |
GridListHeader |
getHeader()
|
GridPanel.MouseScrollType |
getMouseScrollType()
マウスホイールによるスクロール取得 |
protected CustomScrollbar |
getScroll()
|
GridSelection |
getSelection()
選択状態取得 |
void |
setColumnSelectionListener(GridPanel.ColumnSelectionListener listener)
列選択リスナーの登録 |
void |
setData(GridPanel.Model model,
GridPanel.CellPainter painter,
Point indent,
GridPanel.ColumnPainter columnData)
データ設定 |
boolean |
setFocus()
|
void |
setFont(Font font)
|
void |
setMouseScrollType(GridPanel.MouseScrollType mouseScrollType)
マウスホイールによるスクロール種別設定 |
void |
setScrollBgPaintListener(PaintListener listener)
スクロールバーの背景描画リスナー登録 |
void |
setSelectionListener(GridPanel.GridSelectionListener listener)
選択のリスナーを登録する |
クラス org.eclipse.swt.widgets.Composite から継承されたメソッド |
---|
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList |
クラス org.eclipse.swt.widgets.Scrollable から継承されたメソッド |
---|
computeTrim, getBorderWidth, getHorizontalBar, getVerticalBar |
クラス org.eclipse.swt.widgets.Widget から継承されたメソッド |
---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public GridPanel(Composite parent, int style)
public GridPanel(Composite parent, int style, int dndStyle)
dndStyle
- D&Dを使う場合は、指定するメソッドの詳細 |
---|
public void setData(GridPanel.Model model, GridPanel.CellPainter painter, Point indent, GridPanel.ColumnPainter columnData)
public DragSource getDragSource()
public DropTarget getDropTarget()
public GridSelection getSelection()
public void setMouseScrollType(GridPanel.MouseScrollType mouseScrollType)
public GridPanel.MouseScrollType getMouseScrollType()
public void setSelectionListener(GridPanel.GridSelectionListener listener)
public void setColumnSelectionListener(GridPanel.ColumnSelectionListener listener)
public void setScrollBgPaintListener(PaintListener listener)
public boolean setFocus()
Composite
内の setFocus
public void setFont(Font font)
Control
内の setFont
public Canvas getCanvas()
protected CustomScrollbar getScroll()
public GridListHeader getHeader()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |