unbboolean.gui.solidpanels
Class PrimitivePanelsManager

java.lang.Object
  |
  +--unbboolean.gui.solidpanels.PrimitivePanelsManager

public class PrimitivePanelsManager
extends java.lang.Object

Manage the use of primitive panels

Author:
Danilo Balby Silva Castanheira(danbalby@yahoo.com)

Constructor Summary
PrimitivePanelsManager()
          Constructs a default PrimitivePanelsManager object
 
Method Summary
 java.lang.String[] getPrimitivesList()
          Gets the list of primitives
 SolidPanel getSolidPanel(int pos)
          Gets the solid panel relative to a solid
 SolidPanel getSolidPanel(PrimitiveSolid solid)
          Gets the solid panel relative to a solid
 SolidPanel getSolidPanel(java.lang.String solid)
          Gets the solid panel relative to a solid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitivePanelsManager

public PrimitivePanelsManager()
Constructs a default PrimitivePanelsManager object

Method Detail

getSolidPanel

public SolidPanel getSolidPanel(PrimitiveSolid solid)
Gets the solid panel relative to a solid

Parameters:
solid - solid whose panel is required
Returns:
solid panel required

getSolidPanel

public SolidPanel getSolidPanel(java.lang.String solid)
Gets the solid panel relative to a solid

Parameters:
solid - string defining a solid whose panel is required
Returns:
solid panel required

getSolidPanel

public SolidPanel getSolidPanel(int pos)
Gets the solid panel relative to a solid

Parameters:
pos - position on the list of the solid whose panel is required
Returns:
solid panel required

getPrimitivesList

public java.lang.String[] getPrimitivesList()
Gets the list of primitives

Returns:
the list of primitives