universe.client.gui
Class MapDisplayOptions

java.lang.Object
  |
  +--java.util.Observable
        |
        +--universe.client.gui.MapDisplayOptions

class MapDisplayOptions
extends java.util.Observable

Contains the map settings.


Field Summary
private  int gridPlane
           
private  float gridSize
           
static int LABEL_COORDS
           
static int LABEL_DISTANCE
           
static int LABEL_NAME
           
static int LABEL_NONE
           
private  int labelType
           
static int PLANE_NONE
           
static int PLANE_XY
           
static int PLANE_XZ
           
static int PLANE_YZ
           
private  boolean showFleets
           
private  boolean showHeight
           
private  boolean showStations
           
private  boolean showWormholes
           
private  float sphereSize
           
 
Fields inherited from class java.util.Observable
 
Constructor Summary
(package private) MapDisplayOptions()
           
 
Method Summary
 int getGridPlane()
           
 float getGridSize()
           
 int getLabelType()
           
 boolean getShowFleets()
           
 boolean getShowHeight()
           
 boolean getShowStations()
           
 boolean getShowWormholes()
           
 float getSphereSize()
           
 void setGridPlane(int plane)
           
 void setGridSize(float size)
           
 void setLabelType(int type)
           
 void setShowFleets(boolean show)
           
 void setShowHeight(boolean show)
           
 void setShowStations(boolean show)
           
 void setShowWormholes(boolean show)
           
 void setSphereSize(float size)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LABEL_NONE

public static final int LABEL_NONE
See Also:
Constant Field Values

LABEL_NAME

public static final int LABEL_NAME
See Also:
Constant Field Values

LABEL_COORDS

public static final int LABEL_COORDS
See Also:
Constant Field Values

LABEL_DISTANCE

public static final int LABEL_DISTANCE
See Also:
Constant Field Values

PLANE_NONE

public static final int PLANE_NONE
See Also:
Constant Field Values

PLANE_XY

public static final int PLANE_XY
See Also:
Constant Field Values

PLANE_XZ

public static final int PLANE_XZ
See Also:
Constant Field Values

PLANE_YZ

public static final int PLANE_YZ
See Also:
Constant Field Values

sphereSize

private float sphereSize

labelType

private int labelType

gridPlane

private int gridPlane

gridSize

private float gridSize

showHeight

private boolean showHeight

showStations

private boolean showStations

showFleets

private boolean showFleets

showWormholes

private boolean showWormholes
Constructor Detail

MapDisplayOptions

MapDisplayOptions()
Method Detail

setLabelType

public void setLabelType(int type)

getLabelType

public int getLabelType()

setSphereSize

public void setSphereSize(float size)

getSphereSize

public float getSphereSize()

setGridPlane

public void setGridPlane(int plane)

getGridPlane

public int getGridPlane()

setGridSize

public void setGridSize(float size)

getGridSize

public float getGridSize()

setShowHeight

public void setShowHeight(boolean show)

getShowHeight

public boolean getShowHeight()

setShowStations

public void setShowStations(boolean show)

getShowStations

public boolean getShowStations()

setShowFleets

public void setShowFleets(boolean show)

getShowFleets

public boolean getShowFleets()

setShowWormholes

public void setShowWormholes(boolean show)

getShowWormholes

public boolean getShowWormholes()


Copyright © 2001 Universe Dev Team All Rights Reserved.