Package net.sf.freecol.client.gui.panel
Class BuildQueuePanel.DefaultBuildQueueCellRenderer
- java.lang.Object
-
- net.sf.freecol.client.gui.panel.BuildQueuePanel.DefaultBuildQueueCellRenderer
-
- All Implemented Interfaces:
javax.swing.ListCellRenderer<BuildableType>
- Enclosing class:
- BuildQueuePanel
private class BuildQueuePanel.DefaultBuildQueueCellRenderer extends java.lang.Object implements javax.swing.ListCellRenderer<BuildableType>
The cell renderer to use for the build queue.
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.Dimension
buildingDimension
-
Constructor Summary
Constructors Constructor Description DefaultBuildQueueCellRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Component
getListCellRendererComponent(javax.swing.JList<? extends BuildableType> list, BuildableType value, int index, boolean isSelected, boolean cellHasFocus)
-
-
-
Method Detail
-
getListCellRendererComponent
public java.awt.Component getListCellRendererComponent(javax.swing.JList<? extends BuildableType> list, BuildableType value, int index, boolean isSelected, boolean cellHasFocus)
- Specified by:
getListCellRendererComponent
in interfacejavax.swing.ListCellRenderer<BuildableType>
-
-