Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

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, Dialog parentDialog)
          Creates a new PopupIconChooser object.
PopupIconChooser(String title, String objectName, ImageIcon[] icons, ImageIcon startIconObject, Frame parentFrame)
          Create a PopupIconChooser with the supplied attributes.
 
Method Summary
 ImageIcon showDialog()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupIconChooser

public PopupIconChooser(String title,
                        String objectName,
                        ImageIcon[] icons,
                        ImageIcon startIconObject,
                        Frame parentFrame)
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

PopupIconChooser

public PopupIconChooser(String title,
                        String objectName,
                        ImageIcon[] icons,
                        ImageIcon startIconObject,
                        Dialog parentDialog)
Creates a new PopupIconChooser object.

Parameters:
title - DOCUMENT ME!
objectName - DOCUMENT ME!
icons - DOCUMENT ME!
startIconObject - DOCUMENT ME!
parentDialog - DOCUMENT ME!
Method Detail

showDialog

public ImageIcon showDialog()
DOCUMENT ME!

Returns:
DOCUMENT ME!

www.cytoscape.org