| java.lang.Object org.netbeans.modules.vmd.game.model.Scene
Inner Class :public static class LayerInfo | |
Inner Class :static class NameComparator implements Comparator | |
Inner Class :public class CreateTiledLayerAction extends AbstractAction | |
Method Summary | |
public void | addPropertyChangeListener(PropertyChangeListener l) | public synchronized void | addSceneListener(SceneListener l) | public void | append(Layer layer) Appends a layer to the end of this scene (furthest position from the user),
if the layer is already in the scene it is first removed. | public boolean | contains(Layer layer) | public Sprite | createSprite(String name, ImageResource imageResource, int numberFrames, int frameWidth, int frameHeight) | public TiledLayer | createTiledLayer(String name, ImageResource imageResource, int rows, int columns, int tileWidth, int tileHeight) | public List<Action> | getActions() | public Rectangle | getAllLayersBounds() | public JComponent | getEditor() | public GlobalRepository | getGameDesign() | public int | getHeight() | public long | getId() | public ImageResourceInfo | getImageResourceInfo() | public Layer | getLayerAt(int index) | public Rectangle | getLayerBounds(Layer layer) | public int | getLayerCount() | public Point | getLayerPosition(Layer layer) | public List<Layer> | getLayers() | public List<Layer> | getLayersAtPoint(Point p) | public String | getName() | public JComponent | getNavigator() | public JComponent | getPreview() | public int | getWidth() | public void | imageResourceAdded(ImageResource imageResource) | public int | indexOf(Layer layer) | public void | insert(Layer layer, int index) Inserts a layer to this scene at the specified index,
if the layer is already in the scene it is first removed. | public boolean | isLayerLocked(Layer layer) | public boolean | isLayerVisible(Layer layer) | public void | move(Layer layer, int newIndex) Move layer to a different position in the scene. | public void | paint(Graphics2D g, int x, int y) | public void | propertyChange(PropertyChangeEvent evt) | public void | remove(Layer layer) Removed the layer from this scene. | public void | removePropertyChangeListener(PropertyChangeListener l) | public synchronized void | removeSceneListener(SceneListener l) | public void | sceneAdded(Scene scene, int index) | public void | sceneRemoved(Scene scene, int index) | public void | setId(long id) | public void | setLayerLocked(Layer layer, boolean locked) | public void | setLayerPosition(Layer layer, int x, int y, boolean inTransition) | public void | setLayerPosition(Layer layer, Point position, boolean inTransition) | public void | setLayerPositionX(Layer layer, int x, boolean inTransition) | public void | setLayerPositionY(Layer layer, int y, boolean inTransition) | public void | setLayerVisible(Layer layer, boolean visible) | public void | setName(String name) | public void | spriteAdded(Sprite sprite, int index) | public void | spriteRemoved(Sprite sprite, int index) | public void | tiledLayerAdded(TiledLayer tiledLayer, int index) | public void | tiledLayerRemoved(TiledLayer tiledLayer, int index) | public String | toString() |
DEBUG | final public static boolean DEBUG(Code) | | |
PROPERTY_LAYERS_BOUNDS | final public static String PROPERTY_LAYERS_BOUNDS(Code) | | |
append | public void append(Layer layer)(Code) | | Appends a layer to the end of this scene (furthest position from the user),
if the layer is already in the scene it is first removed.
|
getHeight | public int getHeight()(Code) | | |
getId | public long getId()(Code) | | |
getImageResourceInfo | public ImageResourceInfo getImageResourceInfo()(Code) | | |
getLayerCount | public int getLayerCount()(Code) | | |
getWidth | public int getWidth()(Code) | | |
insert | public void insert(Layer layer, int index)(Code) | | Inserts a layer to this scene at the specified index,
if the layer is already in the scene it is first removed.
|
isLayerLocked | public boolean isLayerLocked(Layer layer)(Code) | | |
isLayerVisible | public boolean isLayerVisible(Layer layer)(Code) | | |
move | public void move(Layer layer, int newIndex)(Code) | | Move layer to a different position in the scene.
|
remove | public void remove(Layer layer)(Code) | | Removed the layer from this scene.
|
sceneAdded | public void sceneAdded(Scene scene, int index)(Code) | | |
sceneRemoved | public void sceneRemoved(Scene scene, int index)(Code) | | |
setId | public void setId(long id)(Code) | | |
setLayerLocked | public void setLayerLocked(Layer layer, boolean locked)(Code) | | |
setLayerPosition | public void setLayerPosition(Layer layer, int x, int y, boolean inTransition)(Code) | | |
setLayerPosition | public void setLayerPosition(Layer layer, Point position, boolean inTransition)(Code) | | |
setLayerPositionX | public void setLayerPositionX(Layer layer, int x, boolean inTransition)(Code) | | |
setLayerPositionY | public void setLayerPositionY(Layer layer, int y, boolean inTransition)(Code) | | |
setLayerVisible | public void setLayerVisible(Layer layer, boolean visible)(Code) | | |
spriteAdded | public void spriteAdded(Sprite sprite, int index)(Code) | | |
spriteRemoved | public void spriteRemoved(Sprite sprite, int index)(Code) | | |
tiledLayerAdded | public void tiledLayerAdded(TiledLayer tiledLayer, int index)(Code) | | |
tiledLayerRemoved | public void tiledLayerRemoved(TiledLayer tiledLayer, int index)(Code) | | |
|
|