env3d.scenecreator
Class UI

java.lang.Object
  extended by env3d.scenecreator.UI

public class UI
extends java.lang.Object


Nested Class Summary
static class UI.Mode
           
 
Constructor Summary
UI(UI.Mode m)
           
 
Method Summary
 SceneNode createSceneNode()
          Creates an EnvNode from the currently selected item
 void exit()
           
 java.lang.String getAssetDir()
           
 bluej.extensions.BlueJ getBluej()
           
 java.util.ArrayList<SCTextEditor> getEditors()
           
 javax.swing.JFrame getFrame()
           
 Game getGame()
           
 UI.Mode getMode()
           
 boolean isSceneCreatorMode()
          Returns true if topPanel is visible (full scene creator mode).
 void load()
           
static void main(java.lang.String[] args)
           
 void run()
          Doesn't work, BlueJ hangs when trying to invoke the Game.play() method
 void save(java.lang.String gameString)
           
 void setAssetDir(java.lang.String dir)
           
 void setBluej(bluej.extensions.BlueJ bluej)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UI

public UI(UI.Mode m)
Method Detail

load

public void load()

start

public void start()

save

public void save(java.lang.String gameString)

run

public void run()
Doesn't work, BlueJ hangs when trying to invoke the Game.play() method


exit

public void exit()

createSceneNode

public SceneNode createSceneNode()
Creates an EnvNode from the currently selected item

Returns:
a new EnvNode

getGame

public Game getGame()

isSceneCreatorMode

public boolean isSceneCreatorMode()
Returns true if topPanel is visible (full scene creator mode).

Returns:

getBluej

public bluej.extensions.BlueJ getBluej()
Returns:
the bluej

setBluej

public void setBluej(bluej.extensions.BlueJ bluej)
Parameters:
bluej - the bluej to set

getFrame

public javax.swing.JFrame getFrame()

getAssetDir

public java.lang.String getAssetDir()

setAssetDir

public void setAssetDir(java.lang.String dir)

getMode

public UI.Mode getMode()

getEditors

public java.util.ArrayList<SCTextEditor> getEditors()

main

public static void main(java.lang.String[] args)