Documentation of 'edu.uci.ics.jung.visualization.LayeredIcon' Java class
LayeredIcon
edu.uci.ics.jung.visualization

Class LayeredIcon

  • All Implemented Interfaces:
    java.io.Serializable, javax.accessibility.Accessible, javax.swing.Icon


    public class LayeredIcon
    extends javax.swing.ImageIcon
    An icon that is made up of a collection of Icons. They are rendered in layers starting with the first Icon added (from the constructor).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      LayeredIcon(java.awt.Image image) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(javax.swing.Icon icon) 
      void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y) 
      boolean remove(javax.swing.Icon icon) 
      • Methods inherited from class javax.swing.ImageIcon

        getAccessibleContext, getDescription, getIconHeight, getIconWidth, getImage, getImageLoadStatus, getImageObserver, setDescription, setImage, setImageObserver, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LayeredIcon

        public LayeredIcon(java.awt.Image image)
    • Method Detail

      • paintIcon

        public void paintIcon(java.awt.Component c,
                              java.awt.Graphics g,
                              int x,
                              int y)
        Specified by:
        paintIcon in interface javax.swing.Icon
        Overrides:
        paintIcon in class javax.swing.ImageIcon
      • add

        public void add(javax.swing.Icon icon)
      • remove

        public boolean remove(javax.swing.Icon icon)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.