| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class is designed to let humans easily interact with and build
screens once the class for that screen has been written. It needs to
have the ability to load in a screen. I could save the screens as a
vector, but using Locations for the links, when I wrote one screen it
should connect to the others. This could be a weak point of the system
that I'm looking at using. It makes some things better for the programmer,
but it might be a bit harder for the screen design. What I will probably
have to do is to have the editor follow links to get to other screens.
Inner Class Summary | |
(package private) static class | ScreenEditor.PropertiesDialog |
(package private) static class | ScreenEditor.ScreenRepresentation |
(package private) class | ScreenEditor.ScreenSelector |
Constructor Summary | |
ScreenEditor(String className, String fileName) |
Method Summary | |
void | blockSelected() |
void | entitySelected() |
Block | getSelectedBlock() |
GameEntity | getSelectedGameEntity() |
static void | main(String[] args) |
static Vector | readScreenVector(String fileName) Call this function to read in Screen objects that have been saved by the ScreenEditor. |
static Vector | readScreenVector(InputStream is) Call this function to read in Screen objects that have been saved by the ScreenEditor. |
Constructor Detail |
public ScreenEditor(String className, String fileName)
Method Detail |
public void blockSelected()
public void entitySelected()
public Block getSelectedBlock()
public GameEntity getSelectedGameEntity()
public static void main(String[] args)
public static Vector readScreenVector(String fileName)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
public static Vector readScreenVector(InputStream is)
throws java.io.IOException,
java.lang.ClassNotFoundException
Association Links |
to Class java.lang.Class
to Class java.lang.String
to Class java.util.Vector
to Class EditorDisplay
to Class EditorPlayer
to Class BlockSelectorPanel
to Class EntitySelectorPanel
to Class ScreenEditor.ScreenSelector
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |