apps.mathpadapp.util
Class MTFrame

java.lang.Object
  extended by apps.mathpadapp.conceptmapping.GraphNode
      extended by apps.mathpadapp.util.MTFrame
Direct Known Subclasses:
AssignmentControllerWindow, ClearDataDialog, ClearDataDialog, MathTool, MTDialog, ProjectorControllerWindow, ResultDialog, SendDataDialog, SendDataDialog, TableControllerWindow, TablePortal, UserControllerWindow

public abstract class MTFrame
extends GraphNode

The Class MTFrame.


Nested Class Summary
 
Nested classes/interfaces inherited from class apps.mathpadapp.conceptmapping.GraphNode
GraphNode.ConceptMapListener
 
Constructor Summary
MTFrame(ContentSystem contentSystem)
          Instantiates a new MT frame.
MTFrame(ContentSystem contentSystem, GraphManager graphManager)
          Instantiates a new MT frame.
 
Method Summary
 void close()
          Close.
 java.lang.String getTitle()
          Gets the title.
 Window getTopBar()
          Gets the top bar.
 Window getWindow()
          Gets the window.
 void setHeight(int height)
          Sets the height.
 void setTitle(java.lang.String text)
          Sets the title.
 void setWidth(int width)
          Sets the width.
 
Methods inherited from class apps.mathpadapp.conceptmapping.GraphNode
addConceptMapListener, fireNodeConnected, fireNodeDisconnected, getClosePoint, getGraphManager, getIncomingLinks, getLinkPoint, getLocation, getName, getNodeItem, getOutgoingLinks, isLinkable, registerIncomingLink, registerOutgoingLink, remove, removeConceptMapListeners, setClosePoint, setLinkable, setLinkPoint, setLocation, unregisterAllLinks, unregisterLink, updateConnectionPoints
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MTFrame

public MTFrame(ContentSystem contentSystem)
Instantiates a new MT frame.

Parameters:
contentSystem - the content system

MTFrame

public MTFrame(ContentSystem contentSystem,
               GraphManager graphManager)
Instantiates a new MT frame.

Parameters:
contentSystem - the content system
graphManager - the graph manager
Method Detail

close

public void close()
Close.


getTitle

public java.lang.String getTitle()
Gets the title.

Returns:
the title

getTopBar

public Window getTopBar()
Gets the top bar.

Returns:
the top bar

getWindow

public Window getWindow()
Gets the window.

Returns:
the window

setHeight

public void setHeight(int height)
Sets the height.

Parameters:
height - the new height

setTitle

public void setTitle(java.lang.String text)
Sets the title.

Parameters:
text - the new title

setWidth

public void setWidth(int width)
Sets the width.

Parameters:
width - the new width