org.simBio.sim.gui.toolKit.dndmenu
Interface DnDActionDroppable

All Known Implementing Classes:
DnDJToolBar

public interface DnDActionDroppable

Drag and Drop を受け付けるコンポーネントに定義して、受け入れられるDataFlavorと、アクションを設定する.

Author:
misaki

Method Summary
 boolean doDropAction(DnDAction action, javax.swing.JComponent from)
          ドロップでデータを受け入れる。
 

Method Detail

doDropAction

boolean doDropAction(DnDAction action,
                     javax.swing.JComponent from)
ドロップでデータを受け入れる。

Parameters:
action - ドロップされたAction
from - ドラッグ元のJComponent
Returns:
ドロップ成功なら true、そうでなければ false


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.