Class IconsToolkit

java.lang.Object
common.animation.IconsToolkit
Direct Known Subclasses:
DefaultIconsToolkit

public abstract class IconsToolkit extends Object
Created by IntelliJ IDEA. User: OrsotronIII Date: 17-feb-2005 Time: 16.25.59 This class provides constants for rendering of queue net elements.
  • Constructor Details

    • IconsToolkit

      public IconsToolkit()
  • Method Details

    • getJobIcon

      public abstract Image getJobIcon(Rectangle bounds)
      Returns Image for rendering of jobs.
      Parameters:
      bounds - : customized dimensions of the job image to be returned.
      Returns:
      job image.
    • getStationIcon

      public abstract Image getStationIcon(String type, Rectangle bounds)
      Returns Image for rendering of stations.
      Parameters:
      type - : type of the station to be rendered, e.g. server, source...
      bounds - : customized dimensions of the station image to be returned.
      Returns:
      station image.
    • getEdgeIcon

      public abstract Image getEdgeIcon(Rectangle bounds, Point[] anglePoints)
      Returns Image for rendering of Edges. an array of points must be specified to define: starting, ending point, and each point where the edge curves. This can be useful to represent non-straight edges.
      Parameters:
      bounds - : customized dimensions of the edge image to be returned.
      anglePoints - : array of points of this edge.
      Returns:
      edge image.
    • getBGTileIcon

      public abstract Image getBGTileIcon(Rectangle bounds)
      Returns Image for rendering of queue net background. The return image is a tyle that will be repeated to create the background for the queuenet animation panel.
      Parameters:
      bounds - : customized dimensions of the tile image to be returned.
      Returns:
      tile image.