|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectarcade.mod.controller.FrameFactory
public class FrameFactory
Create a ListFrame object based on a specified resource type. Right now these are hard coded from a map, but eventually we would like to abstract to make this process more data driven
Constructor Summary | |
---|---|
FrameFactory()
Creates a new instance of FrameFactory and populates the map |
Method Summary | |
---|---|
AbstractListFrame |
createFrame(java.lang.String resourceType,
IResourceNode node)
Creates a ListFrame from a ResourceNode for use in the Controller |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameFactory()
Method Detail |
---|
public AbstractListFrame createFrame(java.lang.String resourceType, IResourceNode node)
resourceType
- respresents the type of resource (i.e.image, sound, etc.)node
- ResourceNode to be converted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |