Class DefaultIconsToolkit
java.lang.Object
common.animation.IconsToolkit
common.animation.DefaultIconsToolkit
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBGTileIcon(Rectangle bounds) Returns Image for rendering of queue net background.getEdgeIcon(Rectangle bounds, Point[] anglePoints) Returns Image for rendering of Edges.getJobIcon(Rectangle bounds) Returns Image for rendering of jobs.getStationIcon(String type, Rectangle bounds) Returns Image for rendering of stations.
-
Constructor Details
-
DefaultIconsToolkit
public DefaultIconsToolkit()
-
-
Method Details
-
getJobIcon
Description copied from class:IconsToolkitReturns Image for rendering of jobs.- Specified by:
getJobIconin classIconsToolkit- Parameters:
bounds- : customized dimensions of the job image to be returned.- Returns:
- job image.
-
getStationIcon
Description copied from class:IconsToolkitReturns Image for rendering of stations.- Specified by:
getStationIconin classIconsToolkit- 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
Description copied from class:IconsToolkitReturns 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:
getEdgeIconin classIconsToolkit- Parameters:
bounds- : customized dimensions of the edge image to be returned.anglePoints- : array of points of this edge.- Returns:
- edge image.
-
getBGTileIcon
Description copied from class:IconsToolkitReturns 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:
getBGTileIconin classIconsToolkit- Parameters:
bounds- : customized dimensions of the tile image to be returned.- Returns:
- tile image.
-