uk.ac.nott.cs.g54dia.library
Interface TankerViewerIconFactory

All Known Implementing Classes:
DefaultTankerViewerIconFactory

public interface TankerViewerIconFactory

Interface allowing customisation of the TankerViewer icons used to depict objects in the environment different types of Tankers and cells.


Method Summary
 javax.swing.Icon getIconForCell(Cell cell)
          Select a suitable icon for the given cell.
 javax.swing.Icon getIconForTanker(Tanker tanker)
          Select an icon for a tanker.
 

Method Detail

getIconForCell

javax.swing.Icon getIconForCell(Cell cell)
Select a suitable icon for the given cell.

Parameters:
cell - The cell to select an icon for.
Returns:
An icon representing the cell.

getIconForTanker

javax.swing.Icon getIconForTanker(Tanker tanker)
Select an icon for a tanker.

Parameters:
tanker - The tanker to select an icon for.
Returns:
An icon representing the tanker.