org.gamenet.application.mm8leveleditor.dataSectionable
Class DeltaOutdoorDataMapDataSectionable

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

public class DeltaOutdoorDataMapDataSectionable
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 chestContentsDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo creatureDataTypeInfo
           
static String DATA_SECTION_CHEST_CONTENTS
           
static String DATA_SECTION_CREATURES
           
static String DATA_SECTION_FACET_ATTRIBUTES
           
static String DATA_SECTION_ITEMS
           
static String DATA_SECTION_MAP_BITS
           
static String DATA_SECTION_MAP_NOTES
           
static String DATA_SECTION_REMAINING_DATA
           
static String DATA_SECTION_SPRITE_ATTRIBUTES
           
static String DATA_SECTION_UNKNOWN0
           
static String DATA_SECTION_VISIBLE_MAP_1
           
static String DATA_SECTION_VISIBLE_MAP_2
           
private  DeltaOutdoorDataMap deltaOutdoorDataMap
           
private  BaseDataSectionable.DataTypeInfo itemDataTypeInfo
           
private  BaseDataSectionable.DataTypeInfo mapNoteDataTypeInfo
           
 
Constructor Summary
DeltaOutdoorDataMapDataSectionable(DeltaOutdoorDataMap srcDeltaOutdoorDataMap)
           
 
Method Summary
private  ChestContents createNewChestContents()
           
private  Creature createNewCreature()
           
private  Item createNewItem()
           
private  MapNote createNewMapNote()
           
 Component getComponentForDataSection(TaskObserver taskObserver, String dataSectionName)
           
 Object getData()
           
 Object getDataForDataSection(DataSection dataSection)
           
static DataSection[] getDataSections()
           
 BaseDataSectionable.DataTypeInfo getDataTypeInfo(String dataSectionName)
           
 Component getFacetAttributesPanel(TaskObserver taskObserver)
           
protected  Component getGeneralPanel(TaskObserver taskObserver)
           
 Component getListComponentForDataSection(TaskObserver taskObserver, String dataSectionName, List list, Iterator indexIterator)
           
 Component getMapBitsPanel(TaskObserver taskObserver)
           
protected  Component getRemainingDataPanel(TaskObserver taskObserver)
           
 Component getSpriteAttributesPanel(TaskObserver taskObserver)
           
 DataSection[] getStaticDataSections()
           
protected  Component getVisibleMapPanel(TaskObserver taskObserver, byte[][] visibleMapData1)
           
protected  Component getVisibleMapPanel1(TaskObserver taskObserver)
           
protected  Component getVisibleMapPanel2(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

deltaOutdoorDataMap

private DeltaOutdoorDataMap deltaOutdoorDataMap

DATA_SECTION_UNKNOWN0

public static final String DATA_SECTION_UNKNOWN0
See Also:
Constant Field Values

DATA_SECTION_VISIBLE_MAP_1

public static final String DATA_SECTION_VISIBLE_MAP_1
See Also:
Constant Field Values

DATA_SECTION_VISIBLE_MAP_2

public static final String DATA_SECTION_VISIBLE_MAP_2
See Also:
Constant Field Values

DATA_SECTION_FACET_ATTRIBUTES

public static final String DATA_SECTION_FACET_ATTRIBUTES
See Also:
Constant Field Values

DATA_SECTION_SPRITE_ATTRIBUTES

public static final String DATA_SECTION_SPRITE_ATTRIBUTES
See Also:
Constant Field Values

DATA_SECTION_CREATURES

public static final String DATA_SECTION_CREATURES
See Also:
Constant Field Values

DATA_SECTION_ITEMS

public static final String DATA_SECTION_ITEMS
See Also:
Constant Field Values

DATA_SECTION_CHEST_CONTENTS

public static final String DATA_SECTION_CHEST_CONTENTS
See Also:
Constant Field Values

DATA_SECTION_MAP_BITS

public static final String DATA_SECTION_MAP_BITS
See Also:
Constant Field Values

DATA_SECTION_REMAINING_DATA

public static final String DATA_SECTION_REMAINING_DATA
See Also:
Constant Field Values

DATA_SECTION_MAP_NOTES

public static final String DATA_SECTION_MAP_NOTES
See Also:
Constant Field Values

creatureDataTypeInfo

private BaseDataSectionable.DataTypeInfo creatureDataTypeInfo

itemDataTypeInfo

private BaseDataSectionable.DataTypeInfo itemDataTypeInfo

chestContentsDataTypeInfo

private BaseDataSectionable.DataTypeInfo chestContentsDataTypeInfo

mapNoteDataTypeInfo

private BaseDataSectionable.DataTypeInfo mapNoteDataTypeInfo
Constructor Detail

DeltaOutdoorDataMapDataSectionable

public DeltaOutdoorDataMapDataSectionable(DeltaOutdoorDataMap srcDeltaOutdoorDataMap)
Method Detail

getVisibleMapPanel1

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

getVisibleMapPanel2

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

getVisibleMapPanel

protected Component getVisibleMapPanel(TaskObserver taskObserver,
                                       byte[][] visibleMapData1)
                                throws InterruptedException
Throws:
InterruptedException

getGeneralPanel

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

getMapBitsPanel

public Component getMapBitsPanel(TaskObserver taskObserver)
                          throws InterruptedException
Throws:
InterruptedException

getFacetAttributesPanel

public Component getFacetAttributesPanel(TaskObserver taskObserver)
                                  throws InterruptedException
Throws:
InterruptedException

getSpriteAttributesPanel

public Component getSpriteAttributesPanel(TaskObserver taskObserver)
                                   throws InterruptedException
Throws:
InterruptedException

getRemainingDataPanel

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

getData

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

createNewCreature

private Creature createNewCreature()

createNewItem

private Item createNewItem()

createNewChestContents

private ChestContents createNewChestContents()

createNewMapNote

private MapNote createNewMapNote()

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

getComponentForDataSection

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

getListComponentForDataSection

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

getDataTypeInfo

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