org.mars_sim.msp.ui.swing.unit_window
Class UnitWindowFactory
java.lang.Object
org.mars_sim.msp.ui.swing.unit_window.UnitWindowFactory
public class UnitWindowFactory
- extends Object
The UnitWindowFactory is a factory for creating unit windows for units.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getUnitWindow
public static UnitWindow getUnitWindow(Unit unit,
MainDesktopPane desktop)
- Gets a new unit window for a given unit.
- Parameters:
unit - the unit the window is for.desktop - the main desktop.
- Returns:
- unit window
Copyright © 2009-2013. All Rights Reserved.