Java Doc for TiledLayer.java in  » IDE-Netbeans » vmd.analyzer » org » netbeans » modules » vmd » game » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » vmd.analyzer » org.netbeans.modules.vmd.game.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.vmd.game.model.Layer
      org.netbeans.modules.vmd.game.model.TiledLayer

TiledLayer
public class TiledLayer extends Layer implements ImageResourceListener(Code)

Inner Class :public class RenameAction extends AbstractAction

Field Summary
final public static  booleanDEBUG
    
 EventListenerListlistenerList
    

Constructor Summary
 TiledLayer(GlobalRepository gameDesign, String name, ImageResource imageResource, int rows, int columns, int tileWidth, int tileHeight)
    
 TiledLayer(GlobalRepository gameDesign, String name, ImageResource imageResource, int[][] grid, int tileWidth, int tileHeight)
    
 TiledLayer(GlobalRepository gameDesign, String name, TiledLayer tiledLayer)
    

Method Summary
public  voidaddTiledLayerListener(TiledLayerListener l)
    
public  voidanimatedTileAdded(ImageResource source, AnimatedTile tile)
    
public  voidanimatedTileRemoved(ImageResource source, AnimatedTile tile)
    
public static  int[][]cloneTiles(int[][] grid)
    
public  voiddeleteColumns(int colIndex, int count)
    
public  voiddeleteRows(int rowIndex, int count)
    
public  List<Action>getActions()
    
public  intgetColumnCount()
    
public  StringgetDisplayableTypeName()
    
public  JComponentgetEditor()
    
public  intgetHeight()
    
public  ImageResourceInfogetImageResourceInfo()
    
public  JComponentgetNavigator()
    
public  JComponentgetPreview()
    
public  intgetRowCount()
    
public  TilegetTileAt(Position position)
    
public  TilegetTileAt(int rowIndex, int columnIndex)
    
public  intgetTileIndexAt(Position position)
    
public  intgetTileIndexAt(int rowIndex, int columnIndex)
    
public  int[][]getTiles()
    
public  intgetWidth()
    
public  voidgrowLayerToSize(int rows, int cols)
    
public  voidinsertColumns(int colIndex, int count)
    
public  voidinsertRows(int insRowIndex, int count)
    
public  voidpaint(Graphics2D g, int x, int y)
    
public  voidpaint(Graphics2D g)
    
public  voidremoveTiledLayerListener(TiledLayerListener l)
    
public  voidsequenceAdded(ImageResource source, Sequence sequence)
    
public  voidsequenceRemoved(ImageResource source, Sequence sequence)
    
public  voidsetTileAt(int tileIndex, Position position)
    
public  voidsetTileAt(int tileIndex, int rowIndex, int columnIndex)
    
public  voidsetTileAtPositions(int tileIndex, Set positions)
     Assigns a tile index to multiple positions.
public  voidsetTiles(int[][] newGrid)
    
public  voidtrimToSize()
     Removes all outer rows and columns that contain only empty tiles.

Field Detail
DEBUG
final public static boolean DEBUG(Code)



listenerList
EventListenerList listenerList(Code)




Constructor Detail
TiledLayer
TiledLayer(GlobalRepository gameDesign, String name, ImageResource imageResource, int rows, int columns, int tileWidth, int tileHeight)(Code)



TiledLayer
TiledLayer(GlobalRepository gameDesign, String name, ImageResource imageResource, int[][] grid, int tileWidth, int tileHeight)(Code)



TiledLayer
TiledLayer(GlobalRepository gameDesign, String name, TiledLayer tiledLayer)(Code)




Method Detail
addTiledLayerListener
public void addTiledLayerListener(TiledLayerListener l)(Code)



animatedTileAdded
public void animatedTileAdded(ImageResource source, AnimatedTile tile)(Code)



animatedTileRemoved
public void animatedTileRemoved(ImageResource source, AnimatedTile tile)(Code)



cloneTiles
public static int[][] cloneTiles(int[][] grid)(Code)



deleteColumns
public void deleteColumns(int colIndex, int count)(Code)



deleteRows
public void deleteRows(int rowIndex, int count)(Code)



getActions
public List<Action> getActions()(Code)



getColumnCount
public int getColumnCount()(Code)



getDisplayableTypeName
public String getDisplayableTypeName()(Code)



getEditor
public JComponent getEditor()(Code)



getHeight
public int getHeight()(Code)



getImageResourceInfo
public ImageResourceInfo getImageResourceInfo()(Code)



getNavigator
public JComponent getNavigator()(Code)



getPreview
public JComponent getPreview()(Code)



getRowCount
public int getRowCount()(Code)



getTileAt
public Tile getTileAt(Position position)(Code)



getTileAt
public Tile getTileAt(int rowIndex, int columnIndex)(Code)



getTileIndexAt
public int getTileIndexAt(Position position)(Code)



getTileIndexAt
public int getTileIndexAt(int rowIndex, int columnIndex)(Code)



getTiles
public int[][] getTiles()(Code)



getWidth
public int getWidth()(Code)



growLayerToSize
public void growLayerToSize(int rows, int cols)(Code)



insertColumns
public void insertColumns(int colIndex, int count)(Code)



insertRows
public void insertRows(int insRowIndex, int count)(Code)



paint
public void paint(Graphics2D g, int x, int y)(Code)



paint
public void paint(Graphics2D g)(Code)



removeTiledLayerListener
public void removeTiledLayerListener(TiledLayerListener l)(Code)



sequenceAdded
public void sequenceAdded(ImageResource source, Sequence sequence)(Code)



sequenceRemoved
public void sequenceRemoved(ImageResource source, Sequence sequence)(Code)



setTileAt
public void setTileAt(int tileIndex, Position position)(Code)



setTileAt
public void setTileAt(int tileIndex, int rowIndex, int columnIndex)(Code)



setTileAtPositions
public void setTileAtPositions(int tileIndex, Set positions)(Code)
Assigns a tile index to multiple positions.



setTiles
public void setTiles(int[][] newGrid)(Code)



trimToSize
public void trimToSize()(Code)
Removes all outer rows and columns that contain only empty tiles. Thus shrinking the layer to minimal grid size without affecting the visible content.



Fields inherited from org.netbeans.modules.vmd.game.model.Layer
final public static String ACTION_PROP_SCENE(Code)(Java Doc)
protected PropertyChangeSupport propertyChangeSupport(Code)(Java Doc)

Methods inherited from org.netbeans.modules.vmd.game.model.Layer
public void addPropertyChangeListener(PropertyChangeListener l)(Code)(Java Doc)
public List<Action> getActions()(Code)(Java Doc)
abstract public String getDisplayableTypeName()(Code)(Java Doc)
public GlobalRepository getGameDesign()(Code)(Java Doc)
abstract public int getHeight()(Code)(Java Doc)
public long getId()(Code)(Java Doc)
public ImageResource getImageResource()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public JComponent getNavigator()(Code)(Java Doc)
public int getTileHeight()(Code)(Java Doc)
public int getTileWidth()(Code)(Java Doc)
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException(Code)(Java Doc)
public DataFlavor[] getTransferDataFlavors()(Code)(Java Doc)
abstract public int getWidth()(Code)(Java Doc)
public boolean isDataFlavorSupported(DataFlavor flavor)(Code)(Java Doc)
abstract public void paint(Graphics2D g)(Code)(Java Doc)
public void removePropertyChangeListener(PropertyChangeListener l)(Code)(Java Doc)
public void setId(long id)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.