org.gamenet.application.mm8leveleditor.dataSectionable
Class OutdoorDataMapDataSectionable

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

public class OutdoorDataMapDataSectionable
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 d3ObjectDataTypeInfo
           
static String DATA_SECTION_3D_OBJECTS
           
static String DATA_SECTION_GENERAL
           
static String DATA_SECTION_PIXEL_MAPS
           
static String DATA_SECTION_SPAWN_POINTS
           
static String DATA_SECTION_SPRITES
           
static String DATA_SECTION_TERRAIN_NORMAL_DATA
           
static String DATA_SECTION_TEXT_MAPS
           
static String DATA_SECTION_TILESET
           
static String DATA_SECTION_UNKNOWN_MAPPED_DATA
           
private  BaseDataSectionable.DataTypeInfo monsterDataTypeInfo
           
private  OutdoorDataMap outdoorDataMap
           
private  BaseDataSectionable.DataTypeInfo spriteDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo vertexDataTypeInfo
           
 
Constructor Summary
OutdoorDataMapDataSectionable(OutdoorDataMap srcOutdoorDataMap)
           
 
Method Summary
private  D3Object createNewD3Object()
           
private  SpawnPoint createNewMonster()
           
private  Sprite createNewSprite()
           
 IntVertex createNewTerrainNormalVertex()
           
 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)
           
protected  Component getPixelMapsPanel(TaskObserver taskObserver)
           
 DataSection[] getStaticDataSections()
           
protected  Component getTextMapsPanel(TaskObserver taskObserver)
           
protected  Component getTilesetPanel(TaskObserver taskObserver)
           
protected  Component getUnknownMappedDataPanel(TaskObserver taskObserver)
           
 
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

outdoorDataMap

private OutdoorDataMap outdoorDataMap

DATA_SECTION_GENERAL

public static final String DATA_SECTION_GENERAL
See Also:
Constant Field Values

DATA_SECTION_TILESET

public static final String DATA_SECTION_TILESET
See Also:
Constant Field Values

DATA_SECTION_PIXEL_MAPS

public static final String DATA_SECTION_PIXEL_MAPS
See Also:
Constant Field Values

DATA_SECTION_TEXT_MAPS

public static final String DATA_SECTION_TEXT_MAPS
See Also:
Constant Field Values

DATA_SECTION_TERRAIN_NORMAL_DATA

public static final String DATA_SECTION_TERRAIN_NORMAL_DATA
See Also:
Constant Field Values

DATA_SECTION_3D_OBJECTS

public static final String DATA_SECTION_3D_OBJECTS
See Also:
Constant Field Values

DATA_SECTION_SPRITES

public static final String DATA_SECTION_SPRITES
See Also:
Constant Field Values

DATA_SECTION_UNKNOWN_MAPPED_DATA

public static final String DATA_SECTION_UNKNOWN_MAPPED_DATA
See Also:
Constant Field Values

DATA_SECTION_SPAWN_POINTS

public static final String DATA_SECTION_SPAWN_POINTS
See Also:
Constant Field Values

vertexDataTypeInfo

private BaseDataSectionable.DataTypeInfo vertexDataTypeInfo

d3ObjectDataTypeInfo

private BaseDataSectionable.DataTypeInfo d3ObjectDataTypeInfo

spriteDataTypeInfo

private BaseDataSectionable.DataTypeInfo spriteDataTypeInfo

monsterDataTypeInfo

private BaseDataSectionable.DataTypeInfo monsterDataTypeInfo
Constructor Detail

OutdoorDataMapDataSectionable

public OutdoorDataMapDataSectionable(OutdoorDataMap srcOutdoorDataMap)
Method Detail

getData

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

getUnknownMappedDataPanel

protected Component getUnknownMappedDataPanel(TaskObserver taskObserver)
                                       throws InterruptedException
Parameters:
taskObserver -
Returns:
Throws:
InterruptedException

getTextMapsPanel

protected Component getTextMapsPanel(TaskObserver taskObserver)
                              throws InterruptedException
Parameters:
taskObserver -
Returns:
Throws:
InterruptedException

getPixelMapsPanel

protected Component getPixelMapsPanel(TaskObserver taskObserver)
                               throws InterruptedException
Parameters:
taskObserver -
Returns:
Throws:
InterruptedException

getTilesetPanel

protected Component getTilesetPanel(TaskObserver taskObserver)
                             throws InterruptedException
Parameters:
taskObserver -
Returns:
Throws:
InterruptedException

getGeneralPanel

protected Component getGeneralPanel(TaskObserver taskObserver)
                             throws InterruptedException
Parameters:
taskObserver -
Returns:
Throws:
InterruptedException

createNewD3Object

private D3Object createNewD3Object()

createNewMonster

private SpawnPoint createNewMonster()

createNewSprite

private Sprite createNewSprite()

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

createNewTerrainNormalVertex

public IntVertex createNewTerrainNormalVertex()