|
Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.visual.ui.IconSupport
public class IconSupport
This used to be the MiscDialog class, but that was so poorly named, I had to change it. This class also contains support for getting an icon based on an object or type (as defined in ValueDisplayer).
Constructor Summary | |
---|---|
IconSupport()
|
|
IconSupport(Object o)
|
|
IconSupport(Object startObject,
byte type)
|
Method Summary | |
---|---|
static ImageIcon[] |
getArrowIcons()
|
static HashMap |
getArrowToStringHashMap(int nodeSize)
|
static ImageIcon |
getColorIcon(Color c)
|
ImageIcon |
getCurrentIcon()
|
ImageIcon[] |
getIcons()
|
Object |
getIconType(ImageIcon i)
|
static ImageIcon |
getLabelPositionIcon(LabelPosition pos)
|
static ImageIcon[] |
getLineTypeIcons()
|
static HashMap |
getLineTypeToStringHashMap()
|
static ImageIcon |
getNodeHeightIcon(Double d)
|
static ImageIcon |
getNodeSizeIcon(Double d)
|
static ImageIcon |
getNodeWidthIcon(Double d)
|
static HashMap |
getShapeByteToStringHashMap()
|
static ImageIcon[] |
getShapeIcons()
|
static HashMap |
getStringToArrowHashMap(int nodeSize)
arrow dialog functions: getStringToArrowHashMap(int nodeSize) getArrowToStringHashMap(int nodeSize) getArrowIcons() Note: with the move to Giny, I'm dropping support for the scalable arrow type; we can add this back later if desired. |
static HashMap |
getStringToLineTypeHashMap()
line type dialog functions: getStringToLineTypeHashMap() getLineTypeToStringHashMap() getLineTypeIcons() |
static HashMap |
getStringToShapeByteHashMap()
shape dialog functions: getStringToShapeByteHashMap() getShapeByteToStringHashMap() getShapeIcons() |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IconSupport()
public IconSupport(Object o)
public IconSupport(Object startObject, byte type)
Method Detail |
---|
public ImageIcon[] getIcons()
public ImageIcon getCurrentIcon()
public Object getIconType(ImageIcon i)
public static HashMap getStringToArrowHashMap(int nodeSize)
public static HashMap getArrowToStringHashMap(int nodeSize)
public static ImageIcon[] getArrowIcons()
public static HashMap getStringToShapeByteHashMap()
public static HashMap getShapeByteToStringHashMap()
public static ImageIcon[] getShapeIcons()
public static HashMap getStringToLineTypeHashMap()
public static HashMap getLineTypeToStringHashMap()
public static ImageIcon[] getLineTypeIcons()
public static ImageIcon getColorIcon(Color c)
public static ImageIcon getNodeWidthIcon(Double d)
public static ImageIcon getNodeHeightIcon(Double d)
public static ImageIcon getNodeSizeIcon(Double d)
public static ImageIcon getLabelPositionIcon(LabelPosition pos)
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |