cytoscape.visual.ui
Class PopupIconChooser
java.lang.Object
cytoscape.visual.ui.PopupIconChooser
public class PopupIconChooser
- extends Object
PopupIconChooser borrows all of its functionality from IconPopupButton.
It displays a popup window for the user to select an icon.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PopupIconChooser
public PopupIconChooser(String title,
String objectName,
ImageIcon[] icons,
ImageIcon startIconObject,
JDialog parentDialog)
- Create a PopupIconChooser with the supplied attributes.
- Parameters:
title
- title to display in the popup dialogobjectName
- name/description of icon being seticons
- icons to choose fromstartIconObject
- initially selected iconparentDialog
- parent dialog of the selection popup
showDialog
public ImageIcon showDialog()