org.gamenet.application.mm8leveleditor.dataSectionable
Class IndoorDataMapDataSectionable

java.lang.Object
  extended byorg.gamenet.application.mm8leveleditor.dataSectionable.BaseDataSectionable
      extended byorg.gamenet.application.mm8leveleditor.dataSectionable.IndoorDataMapDataSectionable
All Implemented Interfaces:
DataSectionable

public class IndoorDataMapDataSectionable
extends BaseDataSectionable
implements DataSectionable


Nested Class Summary
 
Nested classes inherited from class org.gamenet.application.mm8leveleditor.dataSectionable.BaseDataSectionable
BaseDataSectionable.AbstractDataTypeInfo, BaseDataSectionable.DataTypeInfo
 
Field Summary
private  BaseDataSectionable.DataTypeInfo bspNodeDataTypeInfo
           
static String DATA_SECTION_BSP_NODES
           
static String DATA_SECTION_FACET_DATA_EXTRA
           
static String DATA_SECTION_FACETS
           
static String DATA_SECTION_GENERAL
           
static String DATA_SECTION_LIGHT_SOURCES
           
static String DATA_SECTION_MAP_OUTLINE_LINES
           
static String DATA_SECTION_ROOMS
           
static String DATA_SECTION_SPAWN_POINTS
           
static String DATA_SECTION_SPRITES
           
static String DATA_SECTION_VARIABLE_ROOM_DATA
           
static String DATA_SECTION_VARIABLE_ROOM_LIGHT_DATA
           
static String DATA_SECTION_VERTEXES
           
private  BaseDataSectionable.DataTypeInfo facetDataExtraDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo facetDataTypeInfo
           
private  IndoorDataMap indoorDataMap
           
private  BaseDataSectionable.DataTypeInfo lightSourceDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo mapOutlineLinesDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo monsterDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo roomDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo spriteDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo vertexDataTypeInfo
           
 
Constructor Summary
IndoorDataMapDataSectionable(IndoorDataMap srcIndoorDataMap)
           
 
Method Summary
private  BSPNode createNewBSPNode()
           
private  IndoorFace createNewFace()
           
private  IndoorFacetExtraData createNewIndoorFacetExtraData()
           
private  LightSource createNewLightSource()
           
private  MapOutlineLine createNewMapOutlineLine()
           
private  SpawnPoint createNewMonster()
           
private  Room createNewRoom()
           
private  Sprite createNewSprite()
           
 ShortVertex createNewVertex()
           
 Component getComponentForDataSection(TaskObserver taskObserver, String dataSectionName)
           
 Object getData()
           
 Object getDataForDataSection(DataSection dataSection)
           
static DataSection[] getDataSections()
           
 BaseDataSectionable.DataTypeInfo getDataTypeInfo(String dataSectionName)
           
protected  Component getGeneralPanel(TaskObserver taskObserver)
           
 Component getListComponentForDataSection(TaskObserver taskObserver, String dataSectionName, List list, Iterator indexIterator)
           
 DataSection[] getStaticDataSections()
           
 
Methods inherited from class org.gamenet.application.mm8leveleditor.dataSectionable.BaseDataSectionable
createListForSequence, createListForSequence, getComponent, getListComponent, getNonApplicablePanel, getPanel, getUnknownsPanel, listForIterator, makeNonStretchedPanelFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indoorDataMap

private IndoorDataMap indoorDataMap

DATA_SECTION_GENERAL

public static final String DATA_SECTION_GENERAL
See Also:
Constant Field Values

DATA_SECTION_VERTEXES

public static final String DATA_SECTION_VERTEXES
See Also:
Constant Field Values

DATA_SECTION_FACETS

public static final String DATA_SECTION_FACETS
See Also:
Constant Field Values

DATA_SECTION_FACET_DATA_EXTRA

public static final String DATA_SECTION_FACET_DATA_EXTRA
See Also:
Constant Field Values

DATA_SECTION_ROOMS

public static final String DATA_SECTION_ROOMS
See Also:
Constant Field Values

DATA_SECTION_VARIABLE_ROOM_DATA

public static final String DATA_SECTION_VARIABLE_ROOM_DATA
See Also:
Constant Field Values

DATA_SECTION_VARIABLE_ROOM_LIGHT_DATA

public static final String DATA_SECTION_VARIABLE_ROOM_LIGHT_DATA
See Also:
Constant Field Values

DATA_SECTION_SPRITES

public static final String DATA_SECTION_SPRITES
See Also:
Constant Field Values

DATA_SECTION_LIGHT_SOURCES

public static final String DATA_SECTION_LIGHT_SOURCES
See Also:
Constant Field Values

DATA_SECTION_BSP_NODES

public static final String DATA_SECTION_BSP_NODES
See Also:
Constant Field Values

DATA_SECTION_SPAWN_POINTS

public static final String DATA_SECTION_SPAWN_POINTS
See Also:
Constant Field Values

DATA_SECTION_MAP_OUTLINE_LINES

public static final String DATA_SECTION_MAP_OUTLINE_LINES
See Also:
Constant Field Values

vertexDataTypeInfo

private BaseDataSectionable.DataTypeInfo vertexDataTypeInfo

facetDataTypeInfo

private BaseDataSectionable.DataTypeInfo facetDataTypeInfo

facetDataExtraDataTypeInfo

private BaseDataSectionable.DataTypeInfo facetDataExtraDataTypeInfo

roomDataTypeInfo

private BaseDataSectionable.DataTypeInfo roomDataTypeInfo

spriteDataTypeInfo

private BaseDataSectionable.DataTypeInfo spriteDataTypeInfo

lightSourceDataTypeInfo

private BaseDataSectionable.DataTypeInfo lightSourceDataTypeInfo

bspNodeDataTypeInfo

private BaseDataSectionable.DataTypeInfo bspNodeDataTypeInfo

monsterDataTypeInfo

private BaseDataSectionable.DataTypeInfo monsterDataTypeInfo

mapOutlineLinesDataTypeInfo

private BaseDataSectionable.DataTypeInfo mapOutlineLinesDataTypeInfo
Constructor Detail

IndoorDataMapDataSectionable

public IndoorDataMapDataSectionable(IndoorDataMap srcIndoorDataMap)
Method Detail

getGeneralPanel

protected Component getGeneralPanel(TaskObserver taskObserver)
                             throws InterruptedException
Throws:
InterruptedException

createNewVertex

public ShortVertex createNewVertex()

createNewFace

private IndoorFace createNewFace()

createNewIndoorFacetExtraData

private IndoorFacetExtraData createNewIndoorFacetExtraData()

createNewRoom

private Room createNewRoom()

createNewSprite

private Sprite createNewSprite()

createNewLightSource

private LightSource createNewLightSource()

createNewMapOutlineLine

private MapOutlineLine createNewMapOutlineLine()

createNewBSPNode

private BSPNode createNewBSPNode()

createNewMonster

private SpawnPoint createNewMonster()

getData

public Object getData()
Specified by:
getData in interface DataSectionable

getDataSections

public static DataSection[] getDataSections()

getStaticDataSections

public DataSection[] getStaticDataSections()
Specified by:
getStaticDataSections in interface DataSectionable

getDataForDataSection

public Object getDataForDataSection(DataSection dataSection)
Specified by:
getDataForDataSection in interface DataSectionable

getListComponentForDataSection

public Component getListComponentForDataSection(TaskObserver taskObserver,
                                                String dataSectionName,
                                                List list,
                                                Iterator indexIterator)
                                         throws InterruptedException
Specified by:
getListComponentForDataSection in interface DataSectionable
Throws:
InterruptedException

getComponentForDataSection

public Component getComponentForDataSection(TaskObserver taskObserver,
                                            String dataSectionName)
                                     throws InterruptedException
Specified by:
getComponentForDataSection in interface DataSectionable
Throws:
InterruptedException

getDataTypeInfo

public BaseDataSectionable.DataTypeInfo getDataTypeInfo(String dataSectionName)
Specified by:
getDataTypeInfo in class BaseDataSectionable