Class DefaultIconsToolkit

java.lang.Object
common.animation.IconsToolkit
common.animation.DefaultIconsToolkit

public class DefaultIconsToolkit extends IconsToolkit
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

    • DefaultIconsToolkit

      public DefaultIconsToolkit()
  • Method Details

    • getJobIcon

      public Image getJobIcon(Rectangle bounds)
      Description copied from class: IconsToolkit
      Returns Image for rendering of jobs.
      Specified by:
      getJobIcon in class IconsToolkit
      Parameters:
      bounds - : customized dimensions of the job image to be returned.
      Returns:
      job image.
    • getStationIcon

      public Image getStationIcon(String type, Rectangle bounds)
      Description copied from class: IconsToolkit
      Returns Image for rendering of stations.
      Specified by:
      getStationIcon in class IconsToolkit
      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 Image getEdgeIcon(Rectangle bounds, Point[] anglePoints)
      Description copied from class: IconsToolkit
      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.
      Specified by:
      getEdgeIcon in class IconsToolkit
      Parameters:
      bounds - : customized dimensions of the edge image to be returned.
      anglePoints - : array of points of this edge.
      Returns:
      edge image.
    • getBGTileIcon

      public Image getBGTileIcon(Rectangle bounds)
      Description copied from class: IconsToolkit
      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.
      Specified by:
      getBGTileIcon in class IconsToolkit
      Parameters:
      bounds - : customized dimensions of the tile image to be returned.
      Returns:
      tile image.