Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
I
L
M
P
R
S
T
W
A
addMap(Map)
- Method in class com.dbarnes.sgme.
Project
Adds the specified map to the project.
addMapWidget(int, int, Widget)
- Method in class com.dbarnes.sgme.
Map
Adds a MapWidget at the specified coordinates.
addTile(Tile)
- Method in class com.dbarnes.sgme.
Project
Adds the specified tile to the project.
addTileImage(TileImage)
- Method in class com.dbarnes.sgme.
Project
Adds the specified tile image to the project.
addTileImageFile(TileImageFile)
- Method in class com.dbarnes.sgme.
Project
Adds the specified tile image file to the project, and creates and adds to the project the corresponding tile images.
addWidget(Widget)
- Method in class com.dbarnes.sgme.
Project
Adds the specified widget to the project.
C
clearAttributes()
- Method in class com.dbarnes.sgme.
Item
Clears the list of custom attributes.
clearAttributes()
- Method in class com.dbarnes.sgme.
Project
Clears the list of custom attributes.
clearTiles()
- Method in class com.dbarnes.sgme.
Project
Clears the list of tiles.
com.dbarnes.sgme
- package com.dbarnes.sgme
createDefaultTiles(Collection<TileImage>)
- Method in class com.dbarnes.sgme.
Project
Given the specified collection of TileImage objects, creates a set of default Tile objects.
createTileImages()
- Method in class com.dbarnes.sgme.
TileImageFile
Creates a set of one or more TileImage objects from this TileImageFile.
D
deleteColumn(int)
- Method in class com.dbarnes.sgme.
Map
Deletes a column of tiles at the specified column index, and shifts all columns to the right of that index to the left by one column.
deleteMapWidget(MapWidget)
- Method in class com.dbarnes.sgme.
Map
Removes the specified MapWidget object from the map.
deleteMapWidgets(Widget)
- Method in class com.dbarnes.sgme.
Map
Removes all MapWidgets for the specified Widget.
deleteMapWidgets(int, int)
- Method in class com.dbarnes.sgme.
Map
Removes all MapWidgets for the specified coordinates.
deleteRow(int)
- Method in class com.dbarnes.sgme.
Map
Deletes a row of tiles at the specified row index, and shifts all rows below that index up by one row.
E
Extension
- Class in
com.dbarnes.sgme
Base class for custom extensions to the Simple Game Map Editor.
Extension()
- Constructor for class com.dbarnes.sgme.
Extension
extensionInvoked()
- Method in class com.dbarnes.sgme.
Extension
Called by the Simple Game Map Editor application when the extension is invoked through the extensions menu.
G
getAttribute(String)
- Method in class com.dbarnes.sgme.
Item
Returns a custom attribute.
getAttribute(String)
- Method in class com.dbarnes.sgme.
Project
Returns a custom attribute.
getAttributeNames()
- Method in class com.dbarnes.sgme.
Item
Returns an iterator containing the names of all the custom attributes.
getAttributeNames()
- Method in class com.dbarnes.sgme.
Project
Returns an iterator containing the names of all the custom attributes.
getBackgroundColor()
- Method in class com.dbarnes.sgme.
Map
getFile()
- Method in class com.dbarnes.sgme.
Project
Returns a File object representing the main project file.
getFile()
- Method in class com.dbarnes.sgme.
TileImageFile
Returns the File object for this TileImageFile.
getFirstTileImageId()
- Method in class com.dbarnes.sgme.
TileImageFile
Returns the first TileImage identitier to be associated with this TileImageFile.
getFrame()
- Method in class com.dbarnes.sgme.
Extension
Returns the a JFrame component for use as the parent component of any frames or dialogs created by the extension.
getHeight()
- Method in class com.dbarnes.sgme.
Map
Returns the height of the map.
getId()
- Method in class com.dbarnes.sgme.
Item
Returns the identifier for this Item.
getId()
- Method in class com.dbarnes.sgme.
Map
Returns the identifier for this Map.
getId()
- Method in class com.dbarnes.sgme.
TileImage
Returns the identifier for this TileImage.
getImage()
- Method in class com.dbarnes.sgme.
Item
Returns the image which represents this Item in the graphical user interface.
getImage()
- Method in class com.dbarnes.sgme.
Tile
Returns the image which represents this Tile in the graphical user interface.
getImage()
- Method in class com.dbarnes.sgme.
TileImage
Returns an Image object for this TileImage.
getImage()
- Method in class com.dbarnes.sgme.
TileImageFile
Returns the Image object for this TileImageFile.
getImage()
- Method in class com.dbarnes.sgme.
Widget
Returns the image which represents this Widget in the graphical user interface.
getImageFile()
- Method in class com.dbarnes.sgme.
Widget
Returns the File object representing the image for this widget.
getImageFilePath()
- Method in class com.dbarnes.sgme.
Widget
Returns the path to the image file for this widget, or null if none has been set.
getLastMapId()
- Method in class com.dbarnes.sgme.
Project
Returns the highest numbered identifier for a Map object in this project.
getLastTileId()
- Method in class com.dbarnes.sgme.
Project
Returns the highest numbered identifier for a Tile object in this project.
getLastTileImageId()
- Method in class com.dbarnes.sgme.
Project
Returns the highest numbered identifier for a TileImage object in this project.
getLastWidgetId()
- Method in class com.dbarnes.sgme.
Project
Returns the highest numbered identifier for a Widget object in this project.
getMaps()
- Method in class com.dbarnes.sgme.
Project
Returns an Iterator containing all the Map objects in this project.
getMapWidgetCount()
- Method in class com.dbarnes.sgme.
Map
Returns the number of map widgets.
getMapWidgets()
- Method in class com.dbarnes.sgme.
Map
Returns an iterator containing all the MapWidget objects for this Map.
getMapWidgets(int, int)
- Method in class com.dbarnes.sgme.
Map
Returns an Iterator containing the MapWidget objects at the specified coordinates.
getMapWidgets(Widget)
- Method in class com.dbarnes.sgme.
Map
Returns an Iterator containing the MapWidget objects for the specified Widget.
getName()
- Method in class com.dbarnes.sgme.
Item
Returns the name for this Item.
getNumberOfTiles()
- Method in class com.dbarnes.sgme.
TileImageFile
Returns the number of tile images contained in the TileImageFile.
getProject()
- Method in class com.dbarnes.sgme.
Extension
Returns the current project.
getProject()
- Method in class com.dbarnes.sgme.
TileImageFile
Returns the project to which this TileImageFile belongs.
getProject()
- Method in class com.dbarnes.sgme.
Widget
Returns the project to which this widget belongs.
getRelativePath(File)
- Method in class com.dbarnes.sgme.
Project
Attempts to resolve the path to the specified file, relative to the main project file.
getTile(int, int)
- Method in class com.dbarnes.sgme.
Map
Returns the Tile object at the specified x and y coordinates.
getTileById(int)
- Method in class com.dbarnes.sgme.
Project
Returns the Tile object with the specified identifier, or null if no such Tile object exists.
getTileCount()
- Method in class com.dbarnes.sgme.
Project
Returns a count of all the Tile objects in this project.
getTileHeight()
- Method in class com.dbarnes.sgme.
Project
Returns the tile height for this project.
getTileImage()
- Method in class com.dbarnes.sgme.
Tile
Sets the TileImage for this tile.
getTileImageById(int)
- Method in class com.dbarnes.sgme.
Project
Returns the TileImage object with the specified identifier, or null if no such TileImage object exists.
getTileImageFile()
- Method in class com.dbarnes.sgme.
TileImage
Returns an TileImageFile object for this TileImage.
getTileImageFileRectangle()
- Method in class com.dbarnes.sgme.
TileImage
Returns a Rectangle representing the area of the TileImageFile which this TileImage represents.
getTileImageFiles()
- Method in class com.dbarnes.sgme.
Project
Returns a Collection containing all the TileImageFile objects in this project.
getTileImages()
- Method in class com.dbarnes.sgme.
Project
Returns a Collection containing all the TileImage objects in this project.
getTiles()
- Method in class com.dbarnes.sgme.
Project
Returns an Iterator containing all the Tile objects in this project.
getTileWidth()
- Method in class com.dbarnes.sgme.
Project
Returns the tile width for this project.
getWidget()
- Method in class com.dbarnes.sgme.
MapWidget
Returns the Widget object.
getWidgetById(int)
- Method in class com.dbarnes.sgme.
Project
Returns the Widget object with the specified identifier, or null if no such Widget object exists.
getWidgetCount()
- Method in class com.dbarnes.sgme.
Project
Returns a count of all the Widget objects in this project.
getWidgets()
- Method in class com.dbarnes.sgme.
Project
Returns an Iterator containing all the Widget objects in this project.
getWidth()
- Method in class com.dbarnes.sgme.
Map
Returns the width of the map.
getX()
- Method in class com.dbarnes.sgme.
MapWidget
Returns the x coordinate.
getY()
- Method in class com.dbarnes.sgme.
MapWidget
Returns the y coordinate.
I
init(Project, JFrame)
- Method in class com.dbarnes.sgme.
Extension
Initializes the Extension.
initImage()
- Method in class com.dbarnes.sgme.
TileImage
Initializes the Image object for this TileImage.
insertColumn(int)
- Method in class com.dbarnes.sgme.
Map
Inserts a column of blank tiles at the specified column index.
insertRow(int)
- Method in class com.dbarnes.sgme.
Map
Inserts a row of blank tiles at the specified row index.
isNeedsSave()
- Method in class com.dbarnes.sgme.
Project
Returns whether a save of the project is needed.
Item
- Class in
com.dbarnes.sgme
Base class for the major components of a Map.
Item()
- Constructor for class com.dbarnes.sgme.
Item
L
load()
- Method in class com.dbarnes.sgme.
Project
Loads this project from a project file.
M
Map
- Class in
com.dbarnes.sgme
Represents a map in a project.
Map()
- Constructor for class com.dbarnes.sgme.
Map
Creates a new Map object.
MapWidget
- Class in
com.dbarnes.sgme
Represents an instance of a Widget on a Map.
MapWidget(int, int, Widget)
- Constructor for class com.dbarnes.sgme.
MapWidget
Creates and initializes the MapWidget object.
MAX_HEIGHT
- Static variable in class com.dbarnes.sgme.
Map
MAX_WIDTH
- Static variable in class com.dbarnes.sgme.
Map
P
Project
- Class in
com.dbarnes.sgme
Represents a single project.
Project()
- Constructor for class com.dbarnes.sgme.
Project
Creates and initializes this Project object.
PROJECT_FILE_EXTENSION
- Static variable in class com.dbarnes.sgme.
Project
R
removeMap(Map)
- Method in class com.dbarnes.sgme.
Project
Removes the specified map from the project.
removeWidget(int)
- Method in class com.dbarnes.sgme.
Project
Removes the specified widget from the project, and removes any associated MapWidget objects from all maps in the project.
S
save()
- Method in class com.dbarnes.sgme.
Project
Saves this project as a project file.
setAttribute(String, String)
- Method in class com.dbarnes.sgme.
Item
Sets a custom attribute.
setAttribute(String, String)
- Method in class com.dbarnes.sgme.
Project
Sets a custom attribute.
setBackgroundColor(int)
- Method in class com.dbarnes.sgme.
Map
setFile(File)
- Method in class com.dbarnes.sgme.
Project
Sets the File object representing the main project file.
setFile(File)
- Method in class com.dbarnes.sgme.
TileImageFile
Sets the File object for this TileImageFile, and loads the corresponding Image object.
setFirstTileImageId(int)
- Method in class com.dbarnes.sgme.
TileImageFile
Sets the first TileImage identitier to be associated with this TileImageFile.
setHeight(int)
- Method in class com.dbarnes.sgme.
Map
Sets the height of the map.
setId(int)
- Method in class com.dbarnes.sgme.
Item
Sets the identifier for this Item.
setId(int)
- Method in class com.dbarnes.sgme.
Map
Sets the identifier for this Map.
setId(int)
- Method in class com.dbarnes.sgme.
TileImage
Sets the identifier for this TileImage.
setImage(Image)
- Method in class com.dbarnes.sgme.
TileImage
Sets the Image object for this TileImage.
setImage(BufferedImage)
- Method in class com.dbarnes.sgme.
TileImageFile
Sets the Image object for this TileImageFile.
setImage(Image)
- Method in class com.dbarnes.sgme.
Widget
Sets the image which represents this Widget in the graphical user interface.
setImageFile(File)
- Method in class com.dbarnes.sgme.
Widget
Sets the File object representing the image for this widget, and loads the image from the specified file.
setName(String)
- Method in class com.dbarnes.sgme.
Item
Sets the name for this Item.
setNeedsSave(boolean)
- Method in class com.dbarnes.sgme.
Project
Sets whether a save of the project is needed.
setProject(Project)
- Method in class com.dbarnes.sgme.
TileImageFile
Sets the project to which this TileImageFile belongs.
setProject(Project)
- Method in class com.dbarnes.sgme.
Widget
Sets the project to which this widget belongs.
setTile(int, int, Tile)
- Method in class com.dbarnes.sgme.
Map
Sets the Tile object at the specified x and y coordinates.
setTileHeight(int)
- Method in class com.dbarnes.sgme.
Project
Sets the tile height for this project.
setTileImage(TileImage)
- Method in class com.dbarnes.sgme.
Tile
Sets the TileImage for this tile.
setTileImageFile(TileImageFile)
- Method in class com.dbarnes.sgme.
TileImage
Sets an TileImageFile object for this TileImage.
setTileImageFileRectangle(Rectangle)
- Method in class com.dbarnes.sgme.
TileImage
Sets a Rectangle representing the area of the TileImageFile which this TileImage represents.
setTileWidth(int)
- Method in class com.dbarnes.sgme.
Project
Sets the tile width for this project.
setWidget(Widget)
- Method in class com.dbarnes.sgme.
MapWidget
Sets the Widget object.
setWidth(int)
- Method in class com.dbarnes.sgme.
Map
Sets the width of the map.
setX(int)
- Method in class com.dbarnes.sgme.
MapWidget
Sets the x coordinate.
setY(int)
- Method in class com.dbarnes.sgme.
MapWidget
Sets the x coordinate.
T
Tile
- Class in
com.dbarnes.sgme
Represents a tile type in a project.
Tile()
- Constructor for class com.dbarnes.sgme.
Tile
TileImage
- Class in
com.dbarnes.sgme
Represents an image that can be used to represent a Tile in the graphical user interface.
TileImage()
- Constructor for class com.dbarnes.sgme.
TileImage
TileImageFile
- Class in
com.dbarnes.sgme
Represents an image file which can be used for a single TileImage object or broken up into multiple TileImage objects.
TileImageFile(Project)
- Constructor for class com.dbarnes.sgme.
TileImageFile
Creates a TileImageFile object.
W
Widget
- Class in
com.dbarnes.sgme
Represents a widget in a project.
Widget(Project)
- Constructor for class com.dbarnes.sgme.
Widget
Creates a new Widget object.
A
C
D
E
G
I
L
M
P
R
S
T
W
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright 2006-2009 Don Barnes. All Rights Reserved.