pipe.gui
Class CreateGui
java.lang.Object
|
+--pipe.gui.CreateGui
- All Implemented Interfaces:
- Constants
- public class CreateGui
- extends java.lang.Object
- implements Constants
Fields inherited from interface pipe.gui.Constants |
ADDTOKEN, ARC, DEFAULT_BACKGROUND_COLOR, DEFAULT_DIRECTORY, DEFAULT_ELEMENT_COLOR, DEFAULT_ELEMENT_TYPE, DEFAULT_FILENAME, DELETE, DELTOKEN, DRAW, FIRE, MOVE, PLACE, RANDOM, START, STEPBACKWARD, STEPFORWARD, STOP, TRANSITION |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
appGui
public static GuiFrame appGui
theApp
private static CreateGui theApp
appModel
private DataLayer[] appModel
appView
private GuiView[] appView
appFile
private java.io.File[] appFile
animator
private Animator animator
appTab
private javax.swing.JTabbedPane appTab
freeSpace
private int freeSpace
leftPane
public javax.swing.JSplitPane leftPane
- The Module will go in the top pane, the animation window in the bottom pane
animBox
public AnimationHistory animBox
scroller
public javax.swing.JScrollPane scroller
CreateGui
public CreateGui()
init
public void init()
insertModel
public void insertModel(DataLayer newNet)
getApp
public GuiFrame getApp()
getModel
public DataLayer getModel()
nullModel
public void nullModel(int place)
nullView
public void nullView(int place)
setTabTitles
public void setTabTitles(int place)
getView
public GuiView getView()
getModel
public DataLayer getModel(int place)
getView
public GuiView getView(int place)
getFile
public java.io.File getFile()
setFile
public void setFile(java.io.File modelfile,
int fileNo)
getFreeSpace
public int getFreeSpace()
getTab
public javax.swing.JTabbedPane getTab()
getAnimator
public Animator getAnimator()
currentPNMLData
public DataLayer currentPNMLData()
- returns the current dataLayer object - used to get a reference to pass to the modules
addAnimationHistory
public void addAnimationHistory()
- Creates a new animationHistory text area, and returns a reference to it
removeAnimationHistory
public void removeAnimationHistory()
getAnimationHistory
public AnimationHistory getAnimationHistory()