Package rma.swing

Class CompositeIconFactory

java.lang.Object
rma.swing.CompositeIconFactory

public class CompositeIconFactory extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    CompositeIconFactory(Image img, int width, int height)
    Constructs a new factory object for iterating over a group of icons.
  • Method Summary

    Modifier and Type
    Method
    Description
    getIcon(int xpos)
    Returns a new icon that is x'th position in the list of icons
    getIcon(int xpos, int ypos)
    Returns a new icon that is at the x'th and y'th position which has the width and height specified in the constructor of this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CompositeIconFactory

      public CompositeIconFactory(Image img, int width, int height)
      Constructs a new factory object for iterating over a group of icons.
  • Method Details

    • getIcon

      public Icon getIcon(int xpos)
      Returns a new icon that is x'th position in the list of icons
    • getIcon

      public Icon getIcon(int xpos, int ypos)
      Returns a new icon that is at the x'th and y'th position which has the width and height specified in the constructor of this object.