Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jgraphxの特定の頂点にマウスリスナーを追加するにはどうすればよいですか?
graphComponent.getGraphControl().addMouseListener(new MouseAdapter() { public void mouseReleased (MouseEvent e1) {
これをグラフコンポーネントに使用できますが、頂点に指定するにはどうすればよいですか?
mxCellHandler特定のセルstate、つまり特定の頂点に対してを作成できます。クラスのcreateHandler()を確認できます。mxGraphComponent
mxCellHandler
state
createHandler()
mxGraphComponent
お役に立てれば。