cvj2.app.gui.widgets
クラス ListPanelPainter

java.lang.Object
  上位を拡張 cvj2.app.gui.widgets.ListPanelPainter
すべての実装されたインタフェース:
GridPanel.CellPainter
直系の既知のサブクラス:
ListPanelRowPainter, ListPanelThumbnailPainter

public abstract class ListPanelPainter
extends java.lang.Object
implements GridPanel.CellPainter

ListPanel のリスト表示、サムネイル表示の描画を行う抽象クラス


フィールドの概要
protected  Color bg
           
protected  Color border
           
protected  Color fg
           
protected  int fontHeight
           
protected  Image iconArchive
           
protected  Image iconFile
           
protected  Image iconFolder
           
protected  Image iconPict
           
protected  ListPanel listPanel
           
protected  Color selBg
           
protected  Color selFg
           
 
コンストラクタの概要
ListPanelPainter(ListPanel lp)
          コンストラクタ
 
メソッドの概要
 void drawIcon(GCX gcx, FileInfo f, int x, int y, int size)
          ファイルに対応したアイコンを描画
 void drawIconAndFilename(GCX gcx, FileInfo f, Rectangle rect, boolean showIcon, boolean isSelected)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース cvj2.gui.swt.widgets.gdidpanel.GridPanel.CellPainter から継承されたメソッド
getCellSize, paintControl
 

フィールドの詳細

listPanel

protected ListPanel listPanel

iconArchive

protected Image iconArchive

iconFolder

protected Image iconFolder

iconFile

protected Image iconFile

iconPict

protected Image iconPict

selBg

protected Color selBg

selFg

protected Color selFg

border

protected Color border

fg

protected Color fg

bg

protected Color bg

fontHeight

protected int fontHeight
コンストラクタの詳細

ListPanelPainter

public ListPanelPainter(ListPanel lp)
コンストラクタ

メソッドの詳細

drawIconAndFilename

public void drawIconAndFilename(GCX gcx,
                                FileInfo f,
                                Rectangle rect,
                                boolean showIcon,
                                boolean isSelected)

drawIcon

public void drawIcon(GCX gcx,
                     FileInfo f,
                     int x,
                     int y,
                     int size)
ファイルに対応したアイコンを描画