cytoscape.visual.ui
Class PopupIconChooser

java.lang.Object
  extended by 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.


Nested Class Summary
 class PopupIconChooser.ApplyIconAction
           
 class PopupIconChooser.CancelIconAction
           
 
Constructor Summary
PopupIconChooser(String title, String objectName, ImageIcon[] icons, ImageIcon startIconObject, JDialog parentDialog)
          Create a PopupIconChooser with the supplied attributes.
 
Method Summary
 ImageIcon showDialog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 dialog
objectName - name/description of icon being set
icons - icons to choose from
startIconObject - initially selected icon
parentDialog - parent dialog of the selection popup
Method Detail

showDialog

public ImageIcon showDialog()