com.threerings.stage.tools.editor
Class TileInfoPanel.TileSetRecord

java.lang.Object
  extended by com.threerings.stage.tools.editor.TileInfoPanel.TileSetRecord
All Implemented Interfaces:
Comparable<TileInfoPanel.TileSetRecord>
Enclosing class:
TileInfoPanel

protected static class TileInfoPanel.TileSetRecord
extends Object
implements Comparable<TileInfoPanel.TileSetRecord>

Used to manage tilesets in the tileset selection combobox.


Field Summary
 int layer
           
 String shortname
           
 com.threerings.media.tile.TileSet tileSet
           
 int tileSetId
           
 
Constructor Summary
TileInfoPanel.TileSetRecord(int layer, int tileSetId, com.threerings.media.tile.TileSet tileSet)
           
 
Method Summary
 int compareTo(TileInfoPanel.TileSetRecord o)
           
 boolean equals(Object o)
           
 String fullname()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

layer

public int layer

tileSetId

public int tileSetId

tileSet

public com.threerings.media.tile.TileSet tileSet

shortname

public String shortname
Constructor Detail

TileInfoPanel.TileSetRecord

public TileInfoPanel.TileSetRecord(int layer,
                                   int tileSetId,
                                   com.threerings.media.tile.TileSet tileSet)
Method Detail

fullname

public String fullname()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(TileInfoPanel.TileSetRecord o)
Specified by:
compareTo in interface Comparable<TileInfoPanel.TileSetRecord>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object