org.gjt.universe
Class SurfacePressureType

java.lang.Object
  |
  +--org.gjt.universe.Classification
        |
        +--org.gjt.universe.SurfacePressureType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SurfacePressureType.HighSurfacePressureType, SurfacePressureType.LowSurfacePressureType, SurfacePressureType.NoneSurfacePressureType, SurfacePressureType.NormalSurfacePressureType, SurfacePressureType.UltraHighSurfacePressureType, SurfacePressureType.UltraLowSurfacePressureType

public abstract class SurfacePressureType
extends Classification

See Also:
Serialized Form

Nested Class Summary
static class SurfacePressureType.HighSurfacePressureType
          This standard subclass is used to represent planets which have a surface pressure slightly higher than Earth-normal.
static class SurfacePressureType.LowSurfacePressureType
          This standard subclass is used to represent planets which have a surface pressure slightly higher than Earth-normal.
static class SurfacePressureType.NoneSurfacePressureType
          This standard subclass is used to represent planets which have such a low surface pressure that they essentially have no atmosphere at all.
static class SurfacePressureType.NormalSurfacePressureType
          This standard subclass is used to represent planets which have surface pressure much like that of Earth.
static class SurfacePressureType.UltraHighSurfacePressureType
          This standard subclass is used to represent planets which have a surface pressure significantly higher than Earth-normal.
static class SurfacePressureType.UltraLowSurfacePressureType
          This standard subclass is used to represent planets which have a surface pressure significantly lower than Earth-normal.
 
Field Summary
private static java.util.Vector allInstances
           
static SurfacePressureType HIGH
           
static float HIGH_NORMAL_MILLIBARS
           
static SurfacePressureType LOW
           
static float LOW_NORMAL_MILLIBARS
           
static SurfacePressureType NONE
           
static SurfacePressureType NORMAL
           
static SurfacePressureType ULTRA_HIGH
           
static float ULTRA_HIGH_MILLIBARS
           
static SurfacePressureType ULTRA_LOW
           
static float ULTRA_LOW_MILLIBARS
           
 
Fields inherited from class org.gjt.universe.Classification
 
Constructor Summary
protected SurfacePressureType(java.lang.String aName, java.lang.String aBackStory)
          This constructor is used to construct instances of this class.
 
Method Summary
static SurfacePressureType instanceForMakeup(SimpleAccrete.PlanetaryMakeup aMakeup)
          This class method returns the surface pressure type instance which best matches the given planetary make-up.
 
Methods inherited from class org.gjt.universe.Classification
getBackStory, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allInstances

private static java.util.Vector allInstances

NORMAL

public static SurfacePressureType NORMAL

LOW

public static SurfacePressureType LOW

ULTRA_LOW

public static SurfacePressureType ULTRA_LOW

HIGH

public static SurfacePressureType HIGH

ULTRA_HIGH

public static SurfacePressureType ULTRA_HIGH

NONE

public static SurfacePressureType NONE

LOW_NORMAL_MILLIBARS

public static float LOW_NORMAL_MILLIBARS

HIGH_NORMAL_MILLIBARS

public static float HIGH_NORMAL_MILLIBARS

ULTRA_HIGH_MILLIBARS

public static float ULTRA_HIGH_MILLIBARS

ULTRA_LOW_MILLIBARS

public static float ULTRA_LOW_MILLIBARS
Constructor Detail

SurfacePressureType

protected SurfacePressureType(java.lang.String aName,
                              java.lang.String aBackStory)
This constructor is used to construct instances of this class. It should not be necessary for callers to invoke this directly, since all surface pressure types should be created automatically.

Parameters:
aName - The short localized name of the surface pressure type.
aBackStory - A localized description of the surface pressure type.
Method Detail

instanceForMakeup

public static SurfacePressureType instanceForMakeup(SimpleAccrete.PlanetaryMakeup aMakeup)
This class method returns the surface pressure type instance which best matches the given planetary make-up.

Parameters:
aMakeup - A planetary make-up to be matched against.


Copyright © 2001 Universe Dev Team All Rights Reserved.